View Single Post
  #4   (View Single Post)  
Old 27th October 2008
bsddaemon bsddaemon is offline
Slack Daemon
 
Join Date: Oct 2008
Posts: 35
Default

Im using sudo to mount smb share as normal user, too. But dont give a normal user the right to explicitly execute mount_smbfs command without supplying password, a better practice would be:

- Put the mount command in a script.

- Run visudo to make change in sudo config file.

- Give yourself the right to execute that script without password (option NOPASSWD).
__________________
...then the God created man...
Reply With Quote