Hi
I would allow a non-admin user to access a Windows network share. It must be mounted after boot because the wi-fi is not activated quickly enough. I do not want to make this user administrator, and the more I want to avoid any password in the clear. With an administrator account, I get to ride a good network share from a terminal with the command
Code:
sudo mount-t cifs / / 192.168.0.1/UnPartage / media / MyShare-o = MONUS user, iocharset = utf8
It is obviously necessary that I give my password for sudo, then the password Samba / CIFS. To enable mounting deferred by a non-administrator, I understand the need to put in / etc / fstab line like
Code:
/ media / MyShare / / 192.168.0.1/UnPartage smbfs utf8, user, noauto 0 0
then ask him to type
Code:
mount-c / media / MyShare
Problem 1: mount, only root user can do this
Problem 2: Nothing happens when I try from my administrator account (no message, no editing).
Code:
sudo mount-c / home / MONUS: MyShare
Can you help me?
Bookmarks