LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Super-User question , explained below (https://www.linuxquestions.org/questions/linux-newbie-8/super-user-question-explained-below-226019/)

Linux_interest 09-03-2004 01:34 AM

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

Tinkster 09-03-2004 01:37 AM

The command you're after is
<your favourite editor> /etc/passwd


Cheers,
Tink

r0b0 09-03-2004 03:17 AM

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).

brunnopessoa 09-03-2004 09:59 AM

How do I exit the 'su' command?

PBSchmidt 09-03-2004 10:09 AM

by typing "exit" and hitting return:)

brunnopessoa 09-05-2004 09:32 PM

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

:D

Tks!!!


All times are GMT -5. The time now is 06:55 AM.