LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2004, 01:31 AM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question Possible to make a second root account?


Is it possible to make a second root account? Or erase the original root accout and create a new one?

Or "reset" root back to the system's default settings?
 
Old 09-21-2004, 01:34 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Yes, it IS possible, but you don't want to do that.

What do you mean by
Quote:
Or "reset" root back to the system's default settings?
?


Cheers,
Tink
 
Old 09-21-2004, 01:49 AM   #3
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by Tinkster
Yes, it IS possible, but you don't want to do that.

What do you mean by

?


Cheers,
Tink
Well i don't know if you remember helping me with my problem earlier today where I was getting a "signal 11" carsh every time I tried to log root into Kde, windowmaker, or gnome:

http://www.linuxquestions.org/questi...hreadid=233017

But what i have found is that accounts other than root have not been affected by the issue and I can log in to these window manager w/o any issue.

What I would like to do is make a second root account... transfer all my important files to the new acct and destroy the old acct since the issue is only affecting that user acct.
 
Old 09-21-2004, 04:18 AM   #4
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Original Poster
Rep: Reputation: 32
Bump... well tinkster don't leave me hanging!
 
Old 09-21-2004, 01:39 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.

http://www.linuxquestions.org/rules.php

And you've been around for long enough to REALLY
know that.


That aside - if it's a matter of corrupted set-up files -
just delete the respective DOT files ...
/root/.kde
and what have you ...

And now that that's said, you shouldn't be running
any graphical environment as root in the first place!!



Cheers,
Tink

Last edited by Tinkster; 09-21-2004 at 01:40 PM.
 
Old 09-21-2004, 07:59 PM   #6
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Original Poster
Rep: Reputation: 32
Sorry Tinkster I never read the rules... I'll try that when I get home. Thanks for the help!
 
Old 09-21-2004, 09:07 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You really shouldn't be logging in as root in XWindows, as it's somewhat dangerous security-wise. Instead open up a terminal ans su when you need to attain superuser priviliges.

Remember, in Unix and Linux, a user's name is merely a convenience -- the system keeps track of the user's numeric id (uid -- third field of /etc/passwd). UID 0 is special, any user with that numeric ID has superuser priviliges. So using that knowledge, you can create a new superuser account. That can be useful in some situations, but Tink's right, it's not the correct solution to the problem you're having.
 
Old 09-21-2004, 09:24 PM   #8
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by btmiller
You really shouldn't be logging in as root in XWindows, as it's somewhat dangerous security-wise. Instead open up a terminal ans su when you need to attain superuser priviliges.

Remember, in Unix and Linux, a user's name is merely a convenience -- the system keeps track of the user's numeric id (uid -- third field of /etc/passwd). UID 0 is special, any user with that numeric ID has superuser priviliges. So using that knowledge, you can create a new superuser account. That can be useful in some situations, but Tink's right, it's not the correct solution to the problem you're having.
Yes I know but right now my root acct is "broken" in the gui... So my objective is really not to log in as root but to fix my root account's gui. I'm well aware of the dangers of loggging in as root, but I think it's even more dangerous to have a root account not behaving correctly. Call me a perfectionist or what

I'm wondering what else broke now after my system hard froze... What happened was I was logged in as root setting up vmware workstation when XP caused the scsi subsystemson my my box to cause a kernel panic. The whole system froze up (ot just XP's VM instance) I could not remotely log in and shutdown like I usually do to fix such an issue so I was forced to use the reset button and do a hard shutdown. When my system came back up I was unable to log in as root in GNOME, KDE or windowmaker. Other gui's such as blackbox would work however. But the difference I have found is that these other window managers have no way to use any KDE resource such as Konquorer and so they are acting fine. So it seem that if I can find what's corupted with KDE and fix it everything else will fall in to place.

Last edited by Thaidog; 09-21-2004 at 09:26 PM.
 
Old 09-21-2004, 10:32 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Well, the thing to do, if I were in your shoes, is to figure out what broke, rather than creating a new account. One first step might be to back up all of root's X and desktop data files and start from scratch (they should be recreated automatically). In any case, advice on that should probably go into the other thread...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 01:02 AM
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 11:47 AM
make another root account Longinus Linux - Newbie 4 09-28-2004 12:46 AM
How to make an account? las Linux - Networking 1 08-28-2004 05:12 AM
how to make a su account boundsofdreams Linux - Newbie 3 06-19-2004 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration