Page 1 of 1
how to log in as root<<<<SOLVED>>>>>>>>>>

Posted:
Aug 22nd, '12, 03:05
by bobcatbrown520
I did my install ok. Booted up my computer then it asked me for my root password, then usernames and passwords. Now I need to edit my samba config files and host allow files but I cannot edit them with gedit because I am not logged in as root. This is a problem as on my loggin screen there is no option for logging in as root. Anyone tell me how to fix this so I can be root and edit my files??
Re: how to log in as root

Posted:
Aug 22nd, '12, 05:09
by zugunder
What is your desktop environment (KDE, Gnome, etc)?
Regardless of that you can run terminal as root and start any editor you want from there (as root).
Does it sound familiar or you need a step-by-step instructions?
P.S. Your login screen is OK, there should not be any "root" account. And it is a very bad idea to log into the system as root.
Re: how to log in as root

Posted:
Aug 22nd, '12, 05:19
by Ken-Bergen
gedit suggests you're using Gnome but no matter.
Open a terminal then
- Code: Select all
su -
I think you can figure it out from there but if not post back here.
Re: how to log in as root

Posted:
Aug 23rd, '12, 02:13
by bobcatbrown520
might need some instructions.............I open terminal and type su..........then enter my password.........then tried opening gedit from there and I get a error messaging something unable to connect to system buss
Re: how to log in as root

Posted:
Aug 23rd, '12, 02:20
by Ken-Bergen
su wont do what you want.
It has to be su -
Note the space after su then the -
Re: how to log in as root

Posted:
Aug 23rd, '12, 03:00
by bobcatbrown520
Thanks man I forgot about adding the - now I got my samba config edited and my network is up and running..........I can now see my other boxes and access the printer on the windows machine over samba. Thanks!!!!!!!!
Re: how to log in as root

Posted:
Aug 23rd, '12, 07:38
by isadora
bobcatbrown520.....great your problem has been solved.
Will you please be so kind marking this topic solved.
You can do so, by editing the initial message of this topic and prefix the subject with [SOLVED].
Thanks in advance!!!
