small linux script

Job ID: 33327105

Budget: $10 – $30 USD

we want a linux script which will input username X and it will do the following
for Centos
IF user X doesnt exist then create that user X and return the random password
IF Allowroot permit is true set that to false
IF user X doesnt allow as a root then set that to root
IF SSH is running then disable that
download the host.allow file and check if it is a newer file than make a copy of local file and overwrite that with downloaded file.
Related categories: PHP Linux Shell Script Ubuntu CentOs