I have a script that adds users if you are root. But I want only one person to addusers. So how would i set uid in the script for access to root? I have tried the ksh -r in the etc passwd file and created links to all the commands. This restricts the user from any command other than what is...
This looks very good!!
This is what I came up with. The problem I am having is that if a user enters the loginid i upper case. How would I convert it to lower case?
!/bin/ksh
echo Enter user login with no special characters and no longer than 8 characters and all lower case. Example: jsmith...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.