Mark Daglish wrote:
Forgive me what is probably a simple question I should be able to sort out myself. However, in my defense I have read the man pages and failed.
I want to mount a shared directory on my laptop from my new Linux box running SuSE 7.0. When I try: mount -t smbfs -o password=whatever //netbios/share /mountdir I get the error about only root being allowed to do this. I am familiar with this problem on a previous Mandrake 7.2 system and I solved it by making smbmount a suid prog. That doesn't seem to work here - same error message.
You could either add the mount to /etc/fstab, allowing users to mount it, or you could make mount suid. I suppose you could also create a new group called 'mount' and add any users that can mount things on the command line to this group, and change the group of mount to that group, with execute permissions. Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\