How to Give Root Privileges to a Non Root User in Solaris

Bismillahirrahmanirrahim..

1. Login as root
2. Changing the UID of the account you wish (example: davina) to have root privileges to zero (0).
# vi /etc/passwd
davina:x:1004:1:System Admin:/export/home/davina:/bin/ksh
to
davina:x:0:1:System Admin:/export/home/davina:/bin/ksh

done!

wassalam..

Advertisements
This entry was posted in Solaris and tagged . Bookmark the permalink.