View Full Version : [ubuntu] [SOLVED] Root and Samba
wabbit46
June 1st, 2008, 02:05 PM
How do I log in as root and edit the Samba conf file ?
Pumalite
June 1st, 2008, 02:13 PM
sudo nano....
gksudo gedit...
sisco311
June 1st, 2008, 02:13 PM
By default, the root account password is locked in ubuntu.
You can use sudo and gksu to execute a command as super user(root).
To edit the samba configuration file open a terminal (Applications -> Accessories -> Terminal) and type:
gksu gedit /etc/samba/smb.conf
kamaji792
June 1st, 2008, 02:16 PM
Forgive me if this is not quite right, but in a terminal try:
sudo <your_favorite_editor> /etc/samba/smb.conf
I'd use vim for your_favourite_editor but my guess is you want a gui editor.
Might be a good idea to make a backup copy of the current samba confguration file:
cd /etc/samba
sudo cp smb.conf smb.conf.001
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.