How to create password in the script?
- From: "Bobby" <bhiggins@xxxxxxxxxxx>
- Date: Mon, 12 May 2008 19:50:40 -0500
I submitted a script to UNIX review a few years back. In the posting I
included a C program that could be used to set passwords for accounts.
These can be viewed at (
http://www.unixreview.com/documents/s=1780/urm0111f/ ).
The C program has been compiled on Solaris 2.5.1 - Solaris 10.
I used this shell script and C program to build student accounts while
teaching the Southern Methodist University's (SMU) Advanced Computer
Education Courses ( ACEC). This script took a file that had a list of
students one per line with their Firstname Lastname or Firstname MI
Lastname. The file was read one line at a time to create unique logins
accounts. A script was created to be viewed by the system administrator
before being run. The resulting script would use mkusers with
appropriate options to create the accounts then call the 'setpass'
program to set each students password.
Feel free to contact me if you have any questions about the script or
the C program.
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Follow-Ups:
- Sftp command help
- From: Deiter, Scott
- Sftp command help
- Prev by Date: SUMMARY: Network issue in Solaris 10 update 4
- Next by Date: STK SL500 modular tape library with veritas netbackup 6.0 MP4
- Previous by thread: How to create password in the script?
- Next by thread: Sftp command help
- Index(es):
Relevant Pages
|