You can use usermod... If you notice root has 0 uid, giving an ordinary user
with 0 uid is actually making that user a root user... to allow duplicate of
uid use -o option.

#usermod -o -uid 0 test

Cheers,
John


On 2/6/07, Arnel Pastrana <[EMAIL PROTECTED]> wrote:

If you really want full root privileges
edit the  /etc/passwd

example content of passwd file"

root:x:0:0:root:/root:/bin/bash  | this is root account
arnel:x:1014:1014:Arnel,,,:/home/arnel:/bin/bash | this is an ordinary
user

first copy that line to be safe comment it so that if there's a problem
with your account someday you set it back.
# arnel:x:1014:1014:Arnel,,,:/home/arnel:/bin/bash

then
arnel:0:0:Arnel,,,:/home/arnel:/bin/bash

save it :)

 On 2/5/07, ralphjm2003 <[EMAIL PROTECTED]> wrote:

>  hi,
>
>
> just want to ask if how to change an ordinary users to root account.
> aside from using su command.
>
>
> tnx more power
>
> ------------------------------
> Everyone is raving about the all-new Yahoo! Mail beta.
> 
<http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta>
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
>


--
" Seek yee first the kingdom of God and all these things shall be added
unto you"
Linux user # 277784
PLUG, Member
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph




--
Engr. Sir John Nueva, REE
[EMAIL PROTECTED]

http://www.geocities.com/linuxpinoy/linuxinfilipino/index.htm
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to