LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-11-2005, 07:49 AM   #1
1kyle
Member
 
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)
192.168.1.4:/vol4 on /vol4 type nfs (rw,addr=192.168.1.4)
192.168.1.4:/vol3 on /vol3 type nfs (rw,addr=192.168.1.4)
192.168.1.4:/vol2 on /vol2 type nfs (rw,addr=192.168.1.4)
192.168.1.4:/vol1 on /vol1 type nfs (rw,addr=192.168.1.4)
192.168.1.4:/home on /rhome type nfs (rw,addr=192.168.1.4)


Thanks

-K
 
Old 10-11-2005, 12:29 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Hello!

You can give your script superuser privileges.

Greetings

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


Reply



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 04:35 AM
no-root user can not mount a remote nfs directory? xiamw Linux - General 3 12-16-2004 09:29 AM
how to: NFS and non-root user?? microsmart Linux - Networking 2 04-10-2004 02:51 AM
Files For Both root and user sxa Linux - General 2 09-07-2003 05:16 AM
can here .wav files only as root user rdalley Linux - Newbie 1 04-05-2002 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:45 AM.

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