setfacl -R -b <path>
Last active
August 29, 2015 14:03
-
-
Save slavafomin/426942c5f848a4bcb389 to your computer and use it in GitHub Desktop.
Useful commands for Ubuntu
deluser <username>
delgroup <groupname>
adduser <username>
usermod -a -G sudo <username>
usermod -a -G <groupname> <username>
passwd -dl root
sudo -H -u <username> bash -c 'echo "I am $USER, with uid $UID"'
addgroup <groupname>
deluser <username> <groupname>
passwd -l <username>
passwd -u <username>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment