Answers for "create a new linux user with full priviledge"

24

how to make new user linux termil

sudo useradd -m username

#set user password
sudo passwd username

#add user to sudoers [DANGEROUS]
usermod -aG sudo username
Posted by: Guest on April-25-2020
0

create linux user with non interactive shell

sudo adduser user -s /sbin/nologin
cut -d: -f1 /etc/passwd
Posted by: Guest on January-08-2022

Code answers related to "create a new linux user with full priviledge"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language