1849786 Members
2740 Online
104044 Solutions
New Discussion

user adding

 
anthink
Contributor

user adding

i've added user from root and i can login but i can't modify anthing. how can i add the user to the admin group that i can access from the user as a root user.
3 REPLIES 3
john123
Trusted Contributor

Re: user adding

Hi..

change uid of the user to 0.
Other options can be tried are RBAC or sudo


regards
John
Shrikant Lavhate
Esteemed Contributor

Re: user adding

> change uid to 0.

This is not advisable under production enviroment as by doing this you will assign whole root priviledges to the user.

Installing sudo and adding user as sudoer will be the best practise. About installing and configuration of sudo you will find lot of threads in the forum search.

-=ShRi=-
Will it remain a personal, if I broadcast it here!
Jeeshan
Honored Contributor

Re: user adding

>>how can i add the user to the admin group that i can access from the user as a root user


use command "usermod". for syntax use man page

#man usermod
a warrior never quits