log in as root in kde or gnome on debian sarge 3.1

If none of the more specific forums is the right place to ask

log in as root in kde or gnome on debian sarge 3.1

Postby y0shi » 2005-08-21 13:02

thanx for opening...

i m not sure wether i messed up my security, but i m not able to log in as root in terminal yes but not in general. what do i have to do?
i want to write something in my fstab and i also dont have midnight commander well

Posts: 22
Joined: 2005-08-20 21:10
Location: Berlin Neukölln

Postby Jeroen » 2005-08-23 16:30

You should not login as root in general, graphically. A lot of graphical applications don't really fair well running as root, and it's dangerous to do.

You mbest merely open the applications you need as root, for example, your favourite editor. In a terminal, become root via 'su' or 'sudo', and then spawn your editor (learning how to use, for example, 'nano' is beneficial though, in case you need to solve something while you don't have a graphical shell available).
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 571
Joined: 2004-04-06 18:19
Location: Utrecht, NL

Postby Axopro » 2005-08-23 22:07

That happened once to me after i messed up the passwd file.
I restored the file using a live cd.. i think it was ubuntu. There is a passwd- file in the /etc directory that is actually a backup of the original "passwd"

This might not be your problem but.. who knows.. it might help.


i installed my debian with root, and never created another user.. so i am alway loged on as root.
You mentioned that there are problems with the graphical enviroment because of this?... can you give more details?.
KDE seems to be written by noobs in my computer because of the many bugs i am finding in it... so now you got me thinking if this is because i am root all the time....

Posts: 12
Joined: 2005-07-10 16:39

Postby Harold » 2005-08-24 00:02

Root gives a user the authority to do anything and everything he wants to do with any file in any directory on the hard drive. n00bs do stupid things! For instance, about three years ago, some n00b -- let's call him Harry -- was logged on as root and wanted to print a man page from the command line. n00b did man -t manpage > lpr. Took the better part of a week to understand and correct the consequences. :-(
Posts: 1502
Joined: 2005-01-07 00:15

Postby y0shi » 2005-08-24 16:20

i now solved my problem in simple installing mc and did everything over the root midnight terminal
Posts: 22
Joined: 2005-08-20 21:10
Location: Berlin Neukölln

Return to General Questions

Who is online

Users browsing this forum: xstation and 3 guests