usermod -a -G groupname username
sudo groupadd group_name
#to delete the group
sudo groupdel group_name
cut -d: -f1 /etc/group | sort
$ groupadd developers
$ groupadd operations
groupadd [OPTIONS] GROUPNAME
User: the owner of the file (person who created the file).
Group:the group can contain multiple users. Therefore, all users in that group will have the same permissions. It makes things easier than assign permission for every user you want.
groupadd [OPTIONS] GROUPNAME
Code Example |
---|
Shell :: how to tar |
Shell :: net start docker service |
Shell :: How to install npm in centos |
Shell :: windows service start |
Shell :: committed to wrong branch |
Shell :: bash rename file |
Shell :: makefile ifeq or |
Shell :: centos install copmposer |
Shell :: -bash: screen: command not found |
Shell :: rename file in git |
Shell :: bash kill all terminal |
Shell :: unzip tar.xz linux |
Shell :: kubectl port forward |
Shell :: find file in linux with regex |
Shell :: slugify npm |
Shell :: is lubuntu better than ubuntu |
Shell :: reverse search command mac |
Shell :: git change comment |
Shell :: rancher 2 on ubuntu 20.04 |
Shell :: install vlc rhel |
Shell :: ubuntu cmd time |
Shell :: install apollo server |
Shell :: show proxy from powershell |
Shell :: git ignore still sending files |
Shell :: install terminator ubuntu |
Shell :: see journalctl running logs |
Shell :: video converter for ubuntu |
Shell :: how to install nvm on linux terminal |
Shell :: kubectl top pod |
Shell :: terminal for kali linux |