Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
print user info script
Name: littlelisa Date: December 9, 2005 at 17:58:38 Pacific OS: xxx CPU/Ram: xxx
Comment:
I need help creating a script that will print user info.
the script has to have: - named "printpasswd" - it must take 1 arguement from the command line. the argument will point to a file that follows the /etc/passwd format - it will parse the file and output each user's information in the following format: user-name,uid,gid,home,shell and notes
Summary: Jim, Thank you very much for your help! With your help, I was able to find the list of users who need to change their password that has not been locked. However, I'd like to redirect the output to a f...
Summary: create a .netrc file with the following info in the $HOME directory of the user the script will be ran by. .netrc :::::::::: machine remotehost login username password pass123 Then: 1. create your pri...
Summary: Hi all! Does anyone know how can I change user inside a script? I tried the su command, but I don't know how to insert the password within the script itself. I would appreciate any help. Thanks in adv...