How to give administrative previledges

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Tue Apr 5 19:55:57 UTC 2005


On Tuesday 05 April 2005 15:10, Chethiya K Ranaweera wrote:
> Hello people,
> I want to create a user with administrative peviledges. First I
> created a user and checked the /etc/passwd file. His IUD and GID were
> 500:500( I think this is by default from Redhat). Then I tried to
> change GID to 0, logged back into the system. He did not have admin
> access. Does anybody know how to give a user administrative
> previledges, so that he can update the system ,,, etc??
>
> -Chethiya

Rather than doing that, se sudo to give the user certain access. Please read 
the manual for sudo command.

man sudo

Then the user can just login with his/her own username, and for administrative 
task he/she can use the sudo command.


RDB
-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------




More information about the users mailing list