Hi Experts,
I want Linux Script with following specifications.
*Create Linux users.
usernames, passwords, home directories are in a seperate CSV (comma seperated file)configuration file. When I run the script, automatically users should created acording to the configuration file.
Configuration file will looks as follows:
--------------------------
----------
----------
--
user1, password1, homedir1
user2, password2, homedir2
user3, password3, homedir3
--------------------------
----------
----------
---
(And if possible when I enter only the user name, password should automatically sets to the reverse word of the username , eg: 1resu)
And if users are already exist, then no need to create it again and after the script is over output(mentioning whether users have created or not) errors/details should write to a log file.
I would greatly appreciate your help.
Best Regards,
Dushan
Start Free Trial