1. Open Unix Server
2. Login as root (sudo su)
Type command:
# setenv EDITOR ee
# visudo
3. Add within this line to add new sudoer:
## User privilege specification
root ALL=(ALL) ALL
hassan ALL=(ALL) ALL
Press ESC to save & exit.
Done.
==========================================
OR
=============================
# nano /etc/group
Change/Add admin
*admin: name1, name2, name3
Ctrl X > Y > Enter
Done.. :)
No comments:
Post a Comment