login as root

hi all,

i have a small problem.

im using KDE with freebsd,

when im trying to login as root

i got you can't login as root,

so what can i do to login as root,

because i need to edit some config files and i can't without root

and thx.
hanagokuAsked:
Who is Participating?
 
gheistCommented:
Open konsole
type id
if you see wheel group proceed:
inside konsole type su - and enter password
Now you are root user.

If you do not see wheel group type
Ctrl-Alt-F1
Log into text console as root
vi /etc/group
type 2jA
make that wheel line look like:
wheel:*:root,yourusername
now type Esc followed by :wq

Type Ctrl-D to log off root session
Now press printscreen key until you get back to your graphic screen
Now log off session and log in back - now su command will work as expected.

To undermine security measures imposed by default system settings you may edit /usr/local/share/config/kdm/kdmrc file to allow root logins directly.
0
 
hanagokuAuthor Commented:
thank you :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.