UNIX - Linux NFS Rights need Help


 
Thread Tools Search this Thread
Operating Systems Linux SuSE UNIX - Linux NFS Rights need Help
# 1  
Old 08-03-2005
UNIX - Linux NFS Rights need Help

Hello, I am running a Suse Linux server and I want to set up a NFS Server for a few Unix machines. For the root account at the unix client it works fine but it doesn't work for other users who have no root rights.

I've used the no_root_squash and the rw option in the etc/export file. My folder rights are set to 774. If I set the rigts to 777 the user can access the folder. But I don't want to give the 777 rights.

I've also tried to set up the same user name and password on the unix and linux computer, which doesn't work too and ich don't want to usw NIS......

Any help would be very great!

thx
# 2  
Old 08-03-2005
username and password don't count. NFS works of uid. If uid 123 owns the file then uid 123 can access it. When you add a user to multiple systems, use the same uid.
# 3  
Old 08-03-2005
hi, my folder is owned by different user and one group called cad. Is it not possible to access it by groupid? Smilie
# 4  
Old 08-03-2005
Yeah groupid works too. Again nfs is checking the gids, not the name of the group.
# 5  
Old 08-05-2005
hi perderabo,

thank you, but that doesn't work too. I've used the option "no_root_squash" on etc/exports. If the option is not set, the connection will either not work for root. That ist maybe a reason why only root can access the nfs share. Is there a similar option for a common user?

thx a lot
# 6  
Old 08-05-2005
Go to the nfs client and find a file that you cannot access but think you should be able to access via the group id. As an ordinary user who has trouble (not as root) do:
ls -nd thatfile
id -g
id -G
df -T thatfile
mount -lt nfs
and post the results.
# 7  
Old 08-09-2005
Hi, hope thats' ok:

ls -nd /CAD: drwxrwxr-- 7 0 1000 200 Aug 3 10:37 /CAD

id -g: 20

id -G: 20

df -T /CAD doesn't work, illegal option -T

mount -lt nfs doesn't work too, it is a hp-ux machine,

Big THX








Quote:
Originally Posted by Perderabo
Go to the nfs client and find a file that you cannot access but think you should be able to access via the group id. As an ordinary user who has trouble (not as root) do:
ls -nd thatfile
id -g
id -G
df -T thatfile
mount -lt nfs
and post the results.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert UNIX rights in a number in a sh script

Hello, i'm trying to write a script sh to convert the rights of a folder or file in a number. Explain: ls -l = rwxrwxrwx so i must display 777. Do you known where i can find so convert script Thanks Use code tags, thanks. (11 Replies)
Discussion started by: steiner
11 Replies

2. Solaris

Jumpstart and Linux NFS

A simple question about nfs and jumpstart ,i setup server (all on linux) tftp ok # boot and reach menu grub,and start nfs not ok i did /export/solaris 192.168.0.0/24(ro,no_root_squash,anonuid=0,anongid=0) and on solaris i put config with sysidcfg,profile,etc When solaris boot from net it... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

3. UNIX for Dummies Questions & Answers

Question about UNIX file rights

Hello experts, i am a Unix beginner and to test the rules of file rights (rwx) i created the file /root/testdir/subdir/test.sh and set the rights of testdir,subdir, test.sh (using chmod) to various configurations in order to get an idea in which case you need which rights. Test commands... (5 Replies)
Discussion started by: mike_bn
5 Replies

4. Shell Programming and Scripting

Management application user rights on the files in a Unix / Linux

good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies

5. HP-UX

Writing from Unix DB to Linux NFS

I have an HP Unix server with Oracle DB and want to write Datapumo export files across the network to IMB/Linux NFS. Will that work? (3 Replies)
Discussion started by: Duane McDonough
3 Replies

6. Red Hat

NFS performance stats on Linux

Hi everyone, The last two days I'm researching results of NFS operations on Linux, and I noticed some time difference when read and write. cat /proc/version : Linux version 2.6.9-42.ELsmp (bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Wed Jul 12... (1 Reply)
Discussion started by: sysgate
1 Replies

7. UNIX for Dummies Questions & Answers

Unix access rights

Hi, Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file? And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies

8. Red Hat

How to nfs mount with Redhat Linux

*** I also posted this in the Unix general forum, but would like to get the Linux point of view. *** Hello all - I've searched this forum, but was unable to find out the info I need. I'm trying to mount (nfs mount) a directory on another box from my Linux machine. The mount point... (1 Reply)
Discussion started by: Heron
1 Replies
Login or Register to Ask a Question