[oclug] The Mighty Root

Sebastien Routier Sebastien.Routier at ottawa.hummingbird.com
Fri Nov 21 15:25:44 EST 2003


Well since the superuser is not really root but user id 0 you could create a
user and change the uid and gid to 0, or simply rename user root to
something else!?!?! 

Maybe you should just look at sudo. A lot less dangerous!

To copy files from his home to /usr/local? 
Create a group called let say "PowerUsers".
Make that user a member of the new "PowerUsers" group.
Create a new directory /usr/local/newDir.
Change the group ownership of /usr/local/newDir to "PowerUsers".
Change the rights of /usr/local/newDir to g+rwx
that should do it. He can now copy/install his software under
/usr/local/newDir.

bye.
/Sebast


:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Checking processes running                     LOST #066

To check which all processes are running concurrently  on your
system, do: '$ps -aef | less'
  
####[bish (at) nde.vsnl.net.in]###############################
:



> -----Original Message-----
> From: Victor Schitka [mailto:victorschitka at yahoo.ca]
> Sent: Friday, November 21, 2003 15:09
> To: oclug at lists.oclug.on.ca
> Subject: [oclug] The Mighty Root
> 
> 
> Hiya
> 
> I wanted to know how to give a luser root powers? 
> 
> As well how would i give a user the right to copy
> files from his or her home directory to lets say
> usr/local to install a program?
> 
> Thanks in advance
> 
> Victor
> 
> ______________________________________________________________
> ________ 
> Post your free ad now! http://personals.yahoo.ca
> -- 
> OCLUG general discussion list
> OCLUG at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
> 



More information about the OCLUG mailing list