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
From the course: Learning CentOS Linux
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
The Linux file system and the Filesystem Hierarchy Standard4m 13s
-
(Locked)
Configuring the network for a CentOS server2m 51s
-
(Locked)
Configuring the network manually6m 45s
-
(Locked)
Configuring the network with NetworkManager4m 45s
-
(Locked)
Setting the hostname2m 32s
-
(Locked)
Connecting to the system remotely with Secure Shell (SSH)4m 6s
-
(Locked)
Adding an administrative user with SSH access3m 41s
-
(Locked)
Adding a key to a user for SSH access4m 24s
-
(Locked)
Transferring files to and from the server5m 1s
-
(Locked)
File permissions2m 12s
-
(Locked)
Working with users and groups3m 52s
-
(Locked)
Installing and updating software8m 5s
-
(Locked)
Installing packages by group1m 34s
-
(Locked)
Installing packages from other sources4m
-
-
-
-
-
-