Linux - Group Management (addgroup, delgroup, adduser, deluser)

preview_player
Показать описание

Managing Groups in Linux is relatively simple. It’s important to realize Linux users, groups and permissions are much simpler than in Windows Server.

Group Configuration File

sudo vim /etc/group – opens Group configuration file in read only mode (:q to quit)
Add Group

sudo addgroup GROUPNAME – adds group
Delete Group

sudo delgroup GROUPNAME – deletes group
Add Users to Group

sudo adduser USERNAME GROUPNAME – adds user to group
Delete Users from Group

sudo deluser USERNAME GROUPNAME – deletes user from group
Рекомендации по теме
Комментарии
Автор

Lm tell you something. You are one of the most important people on the YouTube when it comes to IT.
What's also really important is that you actually know stuff and provide knowledge without any bullshit and give way more realistic views than anyone else. I have been watching your videos for a very long time and it does not matter how old they are, they still provide the best/easiest/appropriate knowledge even today. I am super glad you started this Linux tutorials.
I don't really have nothing to offer except good wine and vodka my family makes haha. If there is any way I can send them to you, I would be super glad.
I dont know if you see this but, thank you a lot, because soon I will get a job by these videos.

revazzhvania
Автор

Hey mister Eli!I comment for the first time and i want to say a big thank you for your videos, keep going.I admire you, your passion and your work..I also want to say something about sudo adduser ralph testgroup.In my system didnt work so i typed sudo usermod ralph -G testgroup.Greetings from Greece!! :)

billys
Автор

These Linux videos are great, thanks :-) Not sure about VIM though, I've gotten used to nano. Maybe I'll give VIM another go when I get some moments to spare. I do enjoy the command line/terminal, especially when I'm trying out an unfamiliar distro and can't find something in the GUI.

Electrowave
Автор

Nice videos as always. Is there a way to continue this series and make an equivalent of Windows AD, or go with the extra features Zentyal has but you install them one by one in your server?
Thank you.

ierosgr
Автор

Hi Eli, thanks for the video, I have question that, what if Group file does not exist, then how can we add sudo to groups?

kodandapuramramu
Автор

Hello! Do we need to make the users account first before adding or adduser can automatically create an instance of the user? Thanks

tejasgoyal
Автор

I started learning wing chun. You would laugh watching me practice, I am such a noob. :(

rossmanngroup
Автор

can someone help. who is a group owner? how to change the ownership ?

tejasgoyal
Автор

I need program to mimic addgroup comand.

chandrahasgudalamani
Автор

Hey how have you been man!. It's been a long time to see you again :)

karthibalaji
Автор

You've been around a long time Eli. I'm suprised you didn't touch up on this yet.

DRNGDGMR
Автор

touch SuperImportantFile
echo "Eli to the Rescue" > SuperImportantFile

MonsieurToure