Portal Home > Knowledgebase > Articles Database > Substitute for su root
Substitute for su root
Posted by HD Fanatic, 07-05-2011, 06:32 PM |
Is there a method which will allow me to access all files on the server without having to logging in with root?
|
Posted by zahirw, 07-06-2011, 01:08 AM |
Create new user, assign password, add to wheel group under /etc/group, then vi /etc/ss:/sshd_config
Change protocol to 2
Change PermitRootLogin to No
Restart sshd
Login as new user and entre -su
Confirm root password and you're done
|
Posted by CoderJosh, 07-06-2011, 11:21 AM |
Instead of su, you could also use sudo.
|
Add to Favourites Print this Article
Also Read
iracks down? (Views: 734)