From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97410662010968.tru64-unix-managers.marc@archive.invalid> From: Sue Blake Date: Mon, 13 Nov 2000 05:00:45 +0000 To: tru64-unix-managers Subject: text based user maintenance X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97410662010968 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