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...
|