Change default root user with a new one on Ubuntu Server

Posted by MultiformeIngegno on Server Fault See other posts from Server Fault or by MultiformeIngegno
Published on 2012-09-20T13:48:11Z Indexed on 2012/09/20 15:40 UTC
Read the original article Hit count: 225

Filed under:
|
|

I have a VPS, until now I used the default root user for SSH access and everything. For security reasons I'd like to use a different user for root, terminal access and sudo operations. So I created another user, gave him the sudo and every other perm.

The problem is that all the system files belongs to root. What happens if I set PermitRootLogin No for root? Those files wouldn't be editable by the new root user!

© Server Fault or respective owner

Related posts about ubuntu

Related posts about vps