Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


login as root

Posted on 2006-05-18
Medium Priority
Last Modified: 2013-11-22
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.
Question by:hanagoku
LVL 62

Accepted Solution

gheist earned 2000 total points
ID: 16711063
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
Log into text console as root
vi /etc/group
type 2jA
make that wheel line look like:
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.

Author Comment

ID: 16713033
thank you :)

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question