From the course: Learning CentOS Linux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding an administrative user with SSH access

Adding an administrative user with SSH access

From the course: Learning CentOS Linux

Start my 1-month free trial

Adding an administrative user with SSH access

- [Teacher] I can connect to my system using the route user but that's not something I want to do all the time. Root has unquestioned access to the system. Not only do I not want to accidentally do something without being prompted about it, I don't want anyone from the outside to be able to have this level of access to my computer either. To increase security we'll set up a less privileged account and disable remote access by the root user. If we do need to use root's power, we'll connect with that unprivileged user and elevate our privileges only when needed. I'll connect to our server using the root user for one last time. With ssh root @ the IP address of my server. First I'll create a user. I'll go over this process in a little bit more depth later on when I talk about users and groups. But for now, I'll type adduser and provide a username. Of course, you might want to call your user something else. This will create a user for me, and its created a home folder for me as well. I…

Contents