Linux Crash Course - Managing Users

  Рет қаралды 98,623

Learn Linux TV

Learn Linux TV

Күн бұрын

As a Linux Server Administrator, it's your job to keep an eye on your users - and in this video, I'll show you how to add and remove users. Also, I'll show you how to change the password of your users. In addition, we'll go over a quick summary of the /etc/passwd and /etc/shadow files.
☁️ Support LearnLinuxTV and get your own cloud server with Akamai:
➡️ learnlinux.link/akamai
LearnLinuxTV Links:
🐧 Main site:
➡️ www.learnlinux.tv
🐧 LearnLinuxTV Community:
➡️ community.learnlinux.tv
🐧Commands used in this video:
➡️www.learnlinux.tv/linux-essen...
Support LearnLinuxTV
📖 Check out my latest book, Mastering Ubuntu Server 3rd Edition. Covers Ubuntu 20.04!
➡️ ubuntuserverbook.com
🙌 Support me on Patreon and get early access to new content!
➡️ learnlinux.link/patron
🛒 Affiliate store for Linux compatible hardware/accessories:
➡️ learnlinux.link/amazon
💻 Check out the Tiny Pilot KVM for your Homelab:
➡️ learnlinux.link/tinypilot
About Me
🐦 Follow me on Twitter!
➡️ learnlinux.link/twitter
👨 More about me:
➡️ www.jaylacroix.com
➡️ www.learnlinux.tv
Recommended evergreen videos:
💽 How to create a bootable flash drive for installing Linux
➡️ linux.video/flash-usb
🐧 Understanding Linux permissions
➡️ linux.video/perms
🐧 OpenSSH Guide
➡️ linux.video/ssh
📖 LVM Deep-dive:
➡️ linux.video/lvm
🔐 How to better secure OpenSSH:
➡️ linux.video/secure-ssh
☁️ How to create a cloud Linux server with Linode:
➡️ learnlinux.link/create-linode
FAQ
🐧 Which distro do I use?
➡️ learnlinux.link/mydistro
💽 My recording gear (commissions earned):
➡️ learnlinux.link/recording-stuff
#CLI #Linux #LinuxEssentials

Пікірлер: 93
@derekgoodwine7509
@derekgoodwine7509 2 жыл бұрын
I am a power user and I have to tell your lesson is better than a lot of books out there. Keep it up Sir!
@spruce-bogey
@spruce-bogey 3 жыл бұрын
Historical note. GECOS is pronounced "GEE-kose" and refers to the General Electric Comprehensive Operating Supervisor, a mainframe OS dating from the 1960s. GE later sold their mainframe business to Honeywell, who dropped the "E" and called the OS GCOS, General Comprehensive Operating Supervisor. I worked on a GCOS system in the late 70s and early 80s. Some early Unix systems at Bell Labs used GECOS machines for print spooling and various other services, so this field was added to carry information on a user's GECOS identity. GCOS was a good OS to work with and had some Unix-like features. Thanks for the fine video, keep up the good work!
@hetayy
@hetayy 3 жыл бұрын
I love all the people in the comments attempting to "correct" you and point out there are more efficient ways to run some of these commands. Guys. This is for beginners. Going step by step and walking through each command one at a time. Could he have used cat less? Sure, but then he'd have to explain more commands. Why pollute the explanations with more command explanations when the topic is about user account management.
@BigAndTall666
@BigAndTall666 3 жыл бұрын
Exactly, starting out as a complete beginner all the irrelevant comments really "helps" alot, not... 😂
@billgates3699
@billgates3699 3 ай бұрын
I love the comments mocking people for giving their input. Even better if they type a whole paragraph to make a point.
@hetayy
@hetayy 3 ай бұрын
@@billgates3699 Lol, this is two years old
@billgates3699
@billgates3699 3 ай бұрын
@@hetayyand you came back 😂
@hetayy
@hetayy 3 ай бұрын
@@billgates3699 No way :0 Tell me more
@moorkerdr
@moorkerdr 9 ай бұрын
i am in a path of discovering Linux, and i must say your explanation was tremendously helpful and straight to the point. I have gone to your other videos and concise and straightfoward i found them to be. Thanks a lot.
@wekiwa7055
@wekiwa7055 3 жыл бұрын
Thanks Jay! Your presentations are clear and concise. This video is fantastic!!!
@rafaelbarreto8206
@rafaelbarreto8206 2 жыл бұрын
This is the best Linux-adviser channeI I have ever seen. Congratulations Keep up with the nice work!
@TheLichKng64
@TheLichKng64 2 жыл бұрын
I think this channel is the best channel for learning linux system administration!
@blahza12345
@blahza12345 3 жыл бұрын
Thank you so much, Jay. Learning quite a bit from this series
@rafaelk1631
@rafaelk1631 2 жыл бұрын
Thank you for sharing your knowledge and spreading the Linux Love! Great content, great tutor!
@DL-xf3ur
@DL-xf3ur 2 жыл бұрын
Thank you Jay! Awesome as always.
@EUPescar
@EUPescar 3 жыл бұрын
Thank you for this kind of tutorials!!! Very well explained!
@PS_Tube
@PS_Tube 2 жыл бұрын
Thanks Jay. That's an amazing informational summary video.
@michalroesler
@michalroesler Жыл бұрын
Great, informative video as always Jay.
@srsr6099
@srsr6099 3 жыл бұрын
Great, Jay. Thanks for the essentials.
@sgtfoose8842
@sgtfoose8842 2 жыл бұрын
Great video, well explained thank you! I came here because I'm learning about security and figured I need to learn Users. I'm interested in videos on how to protect against vulnerabilities (CVE's) that are being found with scan tools like NMAP. Besides using difficult passwords and updating, I guess there is more to do. Just subscribed!
@ZZ-dv9oo
@ZZ-dv9oo 3 жыл бұрын
Great video! Thanks a lot. Looking forward for the cron video.
@berserker556
@berserker556 2 жыл бұрын
Thanx man , This was a great video about user management in linux
@kapurar
@kapurar 2 жыл бұрын
Another excellent tutorial! thanks.
@dassyareg7587
@dassyareg7587 2 жыл бұрын
Thank you for the tutorial, Jay.
@tmendoza6
@tmendoza6 3 жыл бұрын
another great video! thank you!
@sim1ash84
@sim1ash84 25 күн бұрын
thank you so much for the all detailed explanation!
@howardg.5638
@howardg.5638 Жыл бұрын
GREAT CONTENT!!!!
@Moneymagi
@Moneymagi 7 ай бұрын
I was gifted a laptop running mint 20.3 and I have never touched it also been put of the it loop for years. This one video made me feel like I actually can do it and enjoy it again. Unreal mate you rangled my brain and for that you are showered in blessings thank you merry christmas 😂😅😊😊😊😊
@joelhansen4802
@joelhansen4802 7 ай бұрын
Fantastic. Well done.
@elladummy4900
@elladummy4900 Жыл бұрын
THANK YOU VERY MUCH i learn a lot and also i cant wait to share i learn from you from my classmates next month im going to present Configuring Accounts in Linux wish me goodluck
@dialloaissatoulamarana2248
@dialloaissatoulamarana2248 2 ай бұрын
You are the best Thank you for your support
@guilherme5094
@guilherme5094 3 жыл бұрын
Thanks Jay and yes X-Files was great.
@ashkanarabi3785
@ashkanarabi3785 7 ай бұрын
this video makes me realize how beautifully organized Linux is
@syogi613
@syogi613 Жыл бұрын
Thank you for the large font. I like your way of explaining. Please provide Rhce and other certification courses
@hamatawah3698
@hamatawah3698 2 жыл бұрын
aha!, a bonus command out of nowhere, thank you subbed and rewind.
@troyfred8007
@troyfred8007 2 жыл бұрын
Any chance of doing a series about using freeipa and smartcards/yubikeys to do standard logins? You are what I am trying to be, but things like the PAM settings are hard to work with and some of us are trying to advocate for more linux, less windows environments. Something like that would go a long way. GREAT content by the way, love everything you do.
@daleputnam8300
@daleputnam8300 2 жыл бұрын
Thank you so much!
@MarkVanderberg
@MarkVanderberg 2 жыл бұрын
Jay, Do you have a video that explains the difference between adduser and useradd?
@manriqueprendas3856
@manriqueprendas3856 Жыл бұрын
Thank you!
@syedkhurramnadeem309
@syedkhurramnadeem309 Жыл бұрын
Thanks for this video with large font even its readable on my android phone
@trapspringer9891
@trapspringer9891 3 жыл бұрын
Thank you very much
@rannvijaysingh1
@rannvijaysingh1 11 ай бұрын
Thanks sir, 🙂
@michalroesler
@michalroesler Жыл бұрын
Watching this videos again after a month. I fell I keep getting better from practicing what's in these videos.
@franktakyi6219
@franktakyi6219 2 жыл бұрын
Nice presentation
@jimmysevigny759
@jimmysevigny759 Жыл бұрын
Oh thanks you very much for this vidéo. So i just install Linux MINT Cinnamon 21.1. There is a tool on system parameter window called users and groups. Is it the visual tool assigned to do it ?? And if yes ? How could use it to manage permission for different user on same workstation (limited folder access by example) ??
@canuck2025
@canuck2025 2 жыл бұрын
Thanks Jay
@jawadmansoor6064
@jawadmansoor6064 Жыл бұрын
I LIKE THIS FONT SIZE
@gireeshsingh2871
@gireeshsingh2871 Жыл бұрын
Awesome vdei
@absmustang
@absmustang 2 жыл бұрын
"...ridiculous large font..." you say. I say "100% adequate for any CLI tutorial" keep it up. Also, when are you going to make a video on setting up ip addresses (static and dynamic) for Ethernet and WIFI? pretty please!
@scottamolinari
@scottamolinari Жыл бұрын
I've got a question about permissions. Let's say I have Node running on a Linux server and have a CLI that will use Node to run other system app commands like wget or git. If I add a user and allow that user to execute the CLI only, would the user also need access to those other app commands? What I want to avoid is letting the user use any other apps other than the one CLI to do anything on the server. Is this possible? I guess I could go and experiment, but I thought I'd be lazy and ask. :-)
@OldNorsebrewery
@OldNorsebrewery 3 жыл бұрын
Hi, I just started to learn & I follow every vid you release. I tried this proxmox thing and after a few re-installation because of crash/freeze up I wantet to save an image over to my truenas. Proxmox 7 will not let clonezilla copy anything. It fails every time. Have you tried it lately? And hopefully an solution. Cheers
@londoninseconds
@londoninseconds 2 жыл бұрын
I need to check the user behavior on Linux by using scripts on different parameters like user input by using tying. Any one having any script or where i will be able to find that ?
@mohammadzafarkhan4154
@mohammadzafarkhan4154 2 жыл бұрын
thank you
@mounirmunir9297
@mounirmunir9297 9 ай бұрын
what happens to the files and folders if you delete their owner user account ?
@shimasway1814
@shimasway1814 2 жыл бұрын
i deleted user both ways but it still shows up under ls -l /home directory unlike in the tutorial. Cant figure out why? If I issue cat /ets/passwd the account doesnt exist.
@kesmik
@kesmik 3 жыл бұрын
Good example why it is a good idea to explicitly mention all the options is at 22:40. As you can see system user got a shell. Which is not a good idea I think.
@xrafter
@xrafter 2 жыл бұрын
He also got a home directory in /home . Unlike other system users .
@paulojr1384
@paulojr1384 2 жыл бұрын
Hello! could you help me with a little problem in my ethical hacking learning path when shell user is /usr/bin/php what does it means? expecificly about privilege escalation in this case. thanks for the videos!
@paulojr1384
@paulojr1384 Жыл бұрын
this is telling that the user shell is php. you should be able to run php when logged in this user (checking my progress)
@liveunderwater
@liveunderwater 3 жыл бұрын
I think I know the answer, but should the system user have it's own password too?
@amanbagrecha
@amanbagrecha 2 жыл бұрын
what is /bin/false in etc/passwd?
@artedwards717
@artedwards717 3 жыл бұрын
Would you write a book on arcolinux to update commands and distro ????????????
@evodefense
@evodefense 10 ай бұрын
thx
@SupaShang
@SupaShang 3 жыл бұрын
@6:14 I usually just do, grep -n "" /etc/passwd - as it saves the cat and wc steps.
@xrafter
@xrafter 2 жыл бұрын
@Terminalforlife (LL) Cat can also show line number . Like this $ cat -n FILE Or if you want number of lines without the text do this . $ wc -l FILE No need to redirect file to stdin
@dontaskiwasbored2008
@dontaskiwasbored2008 Жыл бұрын
Hate to make the comment count exceed 69, but this was a nice video.
@yassineben5843
@yassineben5843 Ай бұрын
Everytime i change users i get message of error saying « killed »
@susobhankumar405
@susobhankumar405 2 жыл бұрын
what does that x signifies
@psk177
@psk177 Жыл бұрын
so for sysuser you got a UID of 998 and if its incrementing by one does that mean you only have 2 UIDs left for any other system users ?
@habeebbabasulaiman7214
@habeebbabasulaiman7214 2 ай бұрын
It'll keep reducing like 998, 997, 996 ...
@ms77grz
@ms77grz 9 ай бұрын
👍👍
@smilingcatonlinux5998
@smilingcatonlinux5998 3 ай бұрын
greetings and thanks from the "smoker"
@WinstonCodesOn
@WinstonCodesOn 3 ай бұрын
30:30 sets the stage for the Y99999 bug
@xoraixora
@xoraixora Жыл бұрын
Hi sir I want to ask what is the difference between useradd and adduser sorry I am a beginner.
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
The adduser command is actually a script that calls useradd but makes the whole process easier.
@xoraixora
@xoraixora Жыл бұрын
@@LearnLinuxTV OK, sir, I understand now, thank you for explaining
@mehdicharife2335
@mehdicharife2335 Жыл бұрын
What do you mean "is probably sponsored"?
@Moneymagi
@Moneymagi 7 ай бұрын
Lol, ah sysuser is now on my home screen 😅
@ejbully
@ejbully 3 жыл бұрын
Useradd vs adduser Edit: Adduser will be best for new users as it creates the skel user environments
@xrafter
@xrafter 2 жыл бұрын
Adduser is a script . A script in perl prolang Useradd is a program . Written in c and compiled to machine code. Here is a difference 🙂.
@ejbully
@ejbully 2 жыл бұрын
@@xrafter yes I am fast learning noob. At the time easier to set --uid parameters and subsequent acls
@subtitles1492
@subtitles1492 2 жыл бұрын
1:27
@Nkhugkvivnihy
@Nkhugkvivnihy Жыл бұрын
video start at 2:40 sec
@HatelivesNextDoor
@HatelivesNextDoor 2 жыл бұрын
You make me miss screensavers. Gonna get sidetracked and install after i watch this, its probably going to nuke all of my newfound knowledge.
@MiniArts159
@MiniArts159 3 жыл бұрын
Wait so I can keep my brother from deleting my files without having to slap him in the face?
@xrafter
@xrafter 2 жыл бұрын
Yes
@gdiaz8827
@gdiaz8827 2 жыл бұрын
x-files was on friday nights
@aMartianSpy
@aMartianSpy 2 жыл бұрын
passwd40 ;)
@tyrisnolam
@tyrisnolam 7 ай бұрын
ummm... interesting thumbnail
@synth1970
@synth1970 Жыл бұрын
Pfff.... Extremely un-user-friendly. 🙄
Getting Started with cloud-init
22:52
Learn Linux TV
Рет қаралды 76 М.
Linux Crash Course - Symbolic Links
30:07
Learn Linux TV
Рет қаралды 59 М.
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 21 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 48 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 2,7 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 33 МЛН
New Linux User: 10 Things I Wish I Knew When I First Started
23:31
Learn Linux TV
Рет қаралды 426 М.
Linux for Programmers #3 | Linux Users and Groups
19:42
Akamai Developer
Рет қаралды 24 М.
Linux Crash Course - Understanding File & Directory Permissions
35:48
Learn Linux TV
Рет қаралды 111 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
Users, Groups and Permissions in Linux
37:00
Eli the Computer Guy
Рет қаралды 543 М.
Linux Crash Course - Understanding Logging
29:10
Learn Linux TV
Рет қаралды 45 М.
Linux Crash Course: Navigating the Linux Filesystem
30:28
Learn Linux TV
Рет қаралды 41 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 484 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 346 М.
Опять съемные крышки в смартфонах? #cmf
0:50
Как слушать музыку с помощью чека?
0:36
Мой инст: denkiselef. Как забрать телефон через экран.
0:54