LinuxQuestions.org
Visit Jeremy's Blog.
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, 02: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, 02:37 AM   #2
Tinkster
Moderator
 
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


Cheers,
Tink
 
Old 09-03-2004, 04: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, 10: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, 11: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, 10: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 10:34 PM.
 
  


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


All times are GMT -5. The time now is 04:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration