Join Scott Simpson for an in-depth discussion in this video Adding a user with sudo privileges for SSH access, part of Learning CentOS Linux.
- [Voiceover] I'm connected now but again…I'm using the root user,…and 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 anyone from the outside to be able…to have this level of access to my computer.…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 escalate our privileges only when needed.…
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 "useradd scott".…Of course you might want to call…your user something else.…Next I'll create a home folder and a hidden folder…that SSH expects within that home folder.…Normally, this is two commands but I can use…the -p flag with the mkdir command to tell…the system to create folders as necessary.…I'll type "mkdir -p /home/scott/.ssh".…
Author
Released
8/28/2014- What is CentOS?
- Installing CentOS
- Configuring networking with DHCP or a static IP
- Connecting remotely
- Working with SELinux
- Setting up a firewall
- Setting up a web server
- Connecting to shared folders
- Launching the graphical user interface (GUI)
- Troubleshooting
Skill Level Beginner
Duration
Views
Q: After creating an installer with unetbootin, my system cannot start up from it.
A: Unetbootin is no longer a recommended tool for creating a CentOS installer. Instead, try Rufus (https://rufus.akeo.ie/)
Related Courses
-
Unix for Mac OS X Users
with Kevin Skoglund6h 35m Beginner -
Learning Ubuntu Desktop Linux
with Scott Simpson1h 42m Beginner
-
Introduction
-
Welcome52s
-
What is CentOS?1m 56s
-
What you should know2m 11s
-
-
1. Getting Started
-
Installation options4m 37s
-
Creating installation media3m 19s
-
-
2. Basic Administration
-
Setting the host name1m 44s
-
3. Security-Enhanced Linux (SELinux)
-
Introducing SELinux2m 30s
-
Working with SELinux1m 26s
-
Disabling SELinux1m 8s
-
-
4. Working with Common Services and Applications
-
Setting up a web server4m 35s
-
Sharing a folder with SMB4m 14s
-
5. Working with the Graphical User Interface
-
6. Troubleshooting
-
The start-up process1m 7s
-
Exploring the logs1m 29s
-
-
Conclusion
-
Conclusion50s
-
- 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 a user with sudo privileges for SSH access