Does the statement by Mukund (below) mean that if root changes the uid of usershyam
to 40 (ie: <99) , then shyam becomes a super -user (he is alredy a super - useless ,
so root wants to make him a super -user) .
>On Thu, 20 Sep 2001, mukund spewed into the ether:
>> You can not give uid=0 because root has it. At the most give uid=1 and
gid=0
>> so that the user can draw maximum privileges, but can not delete root
owned
>> files.
>Actually, you can have n number of users with the same UID. Their
>default login names and home directories and environments can be
>specified in /etc/passwd and ~, but they will have the same privileges
>as each other.
You can change uid by editing /etc/passwd ( I do not do it, as once I
suffered) , but if you try to create a user with same uid/gid with useradd
or adduser, it will refuse (that's better for health of linux box)
Therefore it is better to give maximum privilege to a user by uid=1 gid=0.
Regards,
Mukund Deshmukh
Beta Computronics Pvt. Ltd.
Web site - http://betacomp.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help