-   Linux - Newbie (
-   -   Super-User question , explained below (

Linux_interest 09-03-2004 02:34 AM

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.


Tinkster 09-03-2004 02:37 AM

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


r0b0 09-03-2004 04:17 AM

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 10:59 AM

How do I exit the 'su' command?

PBSchmidt 09-03-2004 11:09 AM

by typing "exit" and hitting return:)

brunnopessoa 09-05-2004 10:32 PM

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



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