Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-03-2004, 01:34 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
Super-User question , explained below


As, i was practising a few command: I got a root user, and two general users which i created, ie. player1 and player2, both in the same group.

Now, i want to make player1 as the root person too, that is a superuser, so i know the user id of the super user is 0. I was wanting to know the command for changing this? After this, i want to change again the uid and gid of player1 to that of player2. Please help me in my these three quries.

Awaiting reply from some one.

Old 09-03-2004, 01:37 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The command you're after is
<your favourite editor> /etc/passwd

Old 09-03-2004, 03:17 AM   #3
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Root is root and user is a user. Root is not a 'role' or a 'group' you might be familiar with from windows. Root is a user. If you are player1 now and want to become root (for example to install something), use 'su'. Do your root job and become player1 again (by exiting the su command).
Old 09-03-2004, 09:59 AM   #4
Registered: Nov 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
How do I exit the 'su' command?
Old 09-03-2004, 10:09 AM   #5
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
by typing "exit" and hitting return
Old 09-05-2004, 09:32 PM   #6
Registered: Nov 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora
Posts: 67

Rep: Reputation: 15

Well, PBSchmidt, it couldn't be different... questions from 's...


Last edited by brunnopessoa; 09-05-2004 at 09:34 PM.


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
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
super user, mandrake 9.2 FF103 Mandriva 5 05-28-2004 10:38 AM
User Permission Explained gamehack Debian 6 02-10-2004 09:01 AM
Super User boyinfrance Linux - Newbie 1 06-17-2002 12:07 PM
normal user = super user jayakrishnan Linux - General 4 03-19-2002 09:58 AM

All times are GMT -5. The time now is 07:49 AM.

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