Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

bash script add another user

sudo adduser myuser --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password
echo "myuser:password" | sudo chpasswd
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #bash #script #add #user
ADD COMMENT
Topic
Name
1+4 =