LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-03-2004, 01:34 AM   #1
Linux_interest
LQ Newbie
 
Registered: Aug 2004
Posts: 8

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


Hello

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.

Cheers
John
 
Old 09-03-2004, 01:37 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
The command you're after is
<your favourite editor> /etc/passwd


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

Rep: Reputation: 50
Don't!
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
brunnopessoa
Member
 
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
PBSchmidt
Member
 
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
brunnopessoa
Member
 
Registered: Nov 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
Wink

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



Tks!!!

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


Reply



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

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

All times are GMT -5. The time now is 11:37 AM.

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