View Full Version : cannot operate as root in the console
alanlarsen-dk
December 6th, 2008, 15:47
Hi, I've just installed FreeBSD 7.0 on my laptop with KDE 3.5 as Gui.
I have the problem that I cannot log in as root in the console. I have tried the commands 'login root', 'login su', but it won't accept my password. (This problem also occur when I'm using XFCE4 as GUI).
When I'm not working through a GUI I have no problem switching between user and root, which have led me to think that I have made the right upstart configurations.
Can anyone help me?
Thanks!
ale
December 6th, 2008, 16:00
Try su -but read this before http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#SU-WHEEL-GROUP
mart
December 7th, 2008, 09:51
Try su -but read this before http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#SU-WHEEL-GROUP
@alan: and after you've done that, you might want to take a look at sudo.
jleal2003
December 9th, 2008, 02:40
sudo su -
su -
you MUST be in the wheel group to became root!!!
check that first!
fender0107401
December 9th, 2008, 03:56
I have the problem that I cannot log in as root in the console. I have tried the commands 'login root', 'login su', but it won't accept my password. (This problem also occur when I'm using XFCE4 as GUI).
This console is virtual terminal like kconsole?
When I'm not working through a GUI I have no problem switching between user and root, which have led me to think that I have made the right upstart configurations.
This is mean command line?
Maybe the system default setting forbid root login the gui(I never login gui as root directly, so I don't sure about it).
guixingyi
December 9th, 2008, 04:35
normally, the GUI restrict root to log on, just allow normal user, you can use "sudo su -" to switch to root under GUI user, or change the configuration of GUI.
BTW, "su -" just allow user who in wheel group which same as root.
SeanC
December 9th, 2008, 05:12
By default, KDE on FreeBSD does not allow root to log on. This can be changed by setting it to TRUE in the kdmrc file.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.