Connecting to a server remotely using the root user isn't a good idea. In this video, learn how to create a user with administrative privileges to use instead.
- [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. …
Author
Released
3/14/2019- What is CentOS?
- Installing CentOS
- Configuring networking manually
- Configuring the network with NetworkManager
- Connecting remotely
- Working with security-enhanced Linux (SELinux)
- Setting up a firewall
- Setting up a web server
- Sharing user home folders with Samba
- Setting up a desktop environment
- Troubleshooting
Skill Level Beginner
Duration
Views
Related Courses
-
Unix for Mac OS X Users
with Kevin Skoglund6h 35m Beginner
-
Introduction
-
Learning CentOS43s
-
What is CentOS?3m 6s
-
What you should know2m 31s
-
-
1. Getting Started
-
Installation options4m 8s
-
Creating installation media2m 26s
-
-
2. Basic Administration
-
Setting the hostname2m 32s
-
File permissions2m 12s
-
Installing packages by group1m 34s
-
3. Working with Security-Enhanced Linux (SELinux)
-
Introducing SELinux2m 19s
-
Working with SELinux1m 41s
-
Disabling SELinux1m 7s
-
-
4. Working with Common Services and Applications
-
Service management1m 51s
-
Setting up a web server6m 58s
-
-
5. Using a Desktop
-
6. Troubleshooting
-
The startup process1m 29s
-
Exploring the logs1m 59s
-
-
Conclusion
-
Next Steps44s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Adding an administrative user with SSH access