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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

smbmnt with different users

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, if this users don't have root privileges?

txs
 
Did you read something that lead you to believe that any other user than 'root' can alter the filesystem mounts? Normally that is a restricted activity.

D.E.R. Management - IT Project Management Consulting
 
hi,
we believe that other user than root can do a mount, but we d0n't know how can we do it.
how can we use sudo into a script? how can we put the password?

thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top