make user equivalent to root

Mike Ballon calzonie at hawaii.rr.com
Thu Feb 8 23:11:40 PST 2001


It's a Sun box not Linux but I'm sure there is a port for it.  The main reason
is it's a "program of record" system which basically means in military talk
don't install anything that isn't there already.

By disabling root logon and making everyone su I can do enough tracking for
what I need, if not I will have force sudo on the boss.

>Setting the UID to 0 makes that user root.  The system defines the user by
their UID and not their name and 0 is by default defined as root.  Their are
no adverse affects to the system by making a user UID 0, the system simply treats
them as root.
>
>I did not read the rest of this post, but why are you not using sudo?  That
will give you the ability to have multiple users execute commands as root and
still log who did what.  Sudo comes with all versions of Linux that I use and
is pretty easy to configure.  The Sudoers file is a bit awkward, but not long.

>
>I would definately use sudo to allow multiple users execute commands as root.
 even if you don't allow root to log in from the console, once they has su'd
they will not be logged.
>
>this might help with configuring sudo:
>http://www.courtesan.com/sudo/
>http://www.courtesan.com/sudo/sample.sudoers
>
>Dusty
>
>
>> Scratch that, always check your work ;)
>> 
>> After testing I check the auth.log and notice that it really thinks I'm root

>> period, even though I logged in with my name.  It shows root logging in and

>> not me, so this is not what I wanted of course.
>> 
>> I'm going to go with disabling root logons from the console and make everyone

>> su, I can work with that.
>> 
>> >Just a quick note, I took the easy way out and change a normal user's id
to
>> '0'
>> >and the user has full access to the system.  I'll play with it some more
before
>> 
>> >I starting using it but it does seem to work.
>> >
>> >Anyone see any problems using this method?
>> >
>> >---
>> >You are currently subscribed to luau as: calzonie at hawaii.rr.com
>> >To unsubscribe send a blank email to $subst('Email.Unsub')
>> >
>> 
>> ---
>> You are currently subscribed to luau as: dusty at sandust.com
>> To unsubscribe send a blank email to $subst('Email.Unsub')
>
>
>
>---
>You are currently subscribed to luau as: calzonie at hawaii.rr.com
>To unsubscribe send a blank email to $subst('Email.Unsub')
>



More information about the LUAU mailing list