We have to maintain and support user accounts on our 4.0f C2 system
via telnet. GUI tools are out of the question. The machine has
no video card and no web server, for a reason. (Are we really so unique?)
To do these tasks from the commandline requires puzzling over several
man pages to write the necessary scripts. After much reading I still
have a lot of unanswered questions such as what happens if two instances
of a field appear in a user's protected password database? and how many
different ways must one check to know if an account is locked or not?
The copious documentation that came with the system clings to the
assumption that everyone only wants GUI, and I haven't been
able to find any how-to or examples for use when GUI is absent.
Maybe I'm not looking in the right places.
Has anyone done this already to save me reinventing pitfalls?
Is there perchance a nice looking text menu system I could attach the
scripts to?
The main things we want support staff to be able to do (with sudo,
but without using an editor) are:
- Check whether an account is locked (grep u_lock is insufficient)
- Unlock an account
- Change password and then force new password on next login
--
Sue Blake
Received on Mon Nov 13 2000 - 09:12:27 NZDT