I ask for your help to create a script to create a user and a password on 1 click
useradd client1 -M -s /bin/false
passwd client1
To have for instance a new user with:
login: client1 password: test
Is it possible ? and if it is, how please ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok I find it :
First Script create user: (add_user.sh)
Second one create a password or change it:
Do you know how i can call this script from php file ?