Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permissions to smbmount

Status
Not open for further replies.

Yarka

Technical User
Jan 14, 2007
192
ES
hi,
We have a server samba on our linux. We have 4 user : root , ap1, ap2, ap3.
When I try to mount with root user, then it is correct.
The problem is when it is run with normal users (ap1, ap2). When I try to mount like that i got the error:
smbmnt must be installed suid root for direct user mounts (100,100)
smbmnt failed: 1

How can we mount with different users no root?
We don't know how we must change smb.conf file or sudoers file, for we can give permissions to ap1 and ap2 users or if we must change other things.

txs
 
Have you tried this (as root) ?
chmod u+s /usr/bin/smbmnt

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
hi,
yes, but i have the same problem

thanks
 
You may have to suid the mount command too ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
And how can i do it?

Thanks again.
 
I'd try this (as root):
chmod u+s /usr/bin/smbmnt /usr/bin/smbmount /bin/mount

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top