Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 10-11-2005, 08:49 AM   #1
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
Manually importing NFS files as USER (not Root)

Hi there -- has anybody got a script to enable the NFS files to be imported when running as a USER.

I don't want the client machines to automatically run NFS imports at boot time -- this can take forever if the Server is not available and you have quite a lot of directories to import

It's easy as root to use YAST to start the import (NFS Client) but can someone create a script that a normal USER can execute .

Of course the user won't be able to change what's in the FSTAB but at least the client machines will be able to boot up quickly even if the SERVER is not available.

The imported directories are shown as follows (the one's with type nfs in the log extract below)

These directories are entire Disks (4 X 250 GB) Users have Read Write access to the entire disks.

/dev/hda8 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hda5 on /windows/D type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hda6 on /windows/E type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hda9 on /windows/F type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /media/usbdisk type subfs (ro,nosuid,nodev,sync,fs=ntfs,procuid,nls=utf8) on /vol4 type nfs (rw,addr= on /vol3 type nfs (rw,addr= on /vol2 type nfs (rw,addr= on /vol1 type nfs (rw,addr= on /rhome type nfs (rw,addr=


Old 10-11-2005, 01:29 PM   #2
Senior Member
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,857

Rep: Reputation: 132Reputation: 132

You can give your script superuser privileges.


Last edited by Keruskerfuerst; 10-11-2005 at 02:52 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can only watch WMV files as root user? insanity101 Mandriva 1 05-04-2005 05:35 AM
no-root user can not mount a remote nfs directory? xiamw Linux - General 3 12-16-2004 10:29 AM
how to: NFS and non-root user?? microsmart Linux - Networking 2 04-10-2004 03:51 AM
Files For Both root and user sxa Linux - General 2 09-07-2003 06:16 AM
can here .wav files only as root user rdalley Linux - Newbie 1 04-05-2002 01:15 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration