Originally Posted by
cheeseburger38
Sudo allows chosen users to become root without learning root's password. When sudo asks for a password, it is to authenticate the user and confirm that the user has the right to access root privileges.
Then why does my user name and and login password not work for registering the Samba share from the Windows machine? Why does it only work when I use root and my password?
These are 2 different notions. Sudo is used to run specific commands using the root account. The user doesn't become the user root at all. The That's the magic of the tool sudo. Are you saying the the dialog box is requiring that you use the user name: root and your your user password. Have you enabled the user: root's password? Can you su to root (with the prompt of # ?
As far as accessing a Samba share with any specific name; it really has to do with how you set up the share. Did you add any users to the Samba user database. From Ubuntu, what is the output of Let's see what the share looks like
Code:
net usershare info --long
And finally; what are the permissions for the share directory
Code:
ls -ld <path/directory>
... where <path/directory> is the actual path to the directory you shared (i.e. /home/<user>/directory).
Bookmarks