How to login as root and edit smb.conf

Nils Kassube kassube at gmx.net
Thu Aug 14 07:42:59 UTC 2008


Richard Shannon wrote:
> 1. i cannot edit smb.conf with bu user name and password.

Try to edit it as root. In a terminal type the command

gksu gedit /etc/samba/smb.conf

> also i cannot 
> login with root and password root.

Unless you setup a password for root, you can't login as root. Use the 
command

sudo su

or

sudo -i

in a terminal to get a root shell. For details look here:
<https://help.ubuntu.com/community/RootSudo>


Nils




More information about the ubuntu-users mailing list