Technical article 111461

How do I find out which users are retired on SCO OpenServer 5.0.5 without using SCOadmin Account Manager?

OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

Without using SCOadmin Account Manager, how do I get a report of the users who have retired accounts?

Solution

The attached script will give you a report of the retired users on your system. Cut and paste this script.

---------------------CUT HERE-------------------------------------
#!/bin/sh
DIR="/var/opt/K/SCO/Unix/5.0.???/tcb/files/auth/?/*"
for p in $DIR
do
REPORT=`grep retired $p`
   if [ "$REPORT" != "" ]
   then
       echo " `basename $p` is retired"
   fi
done
---------------------CUT HERE-------------------------------------

From the Xinuos technical article database, record 111461. Reproduced with permission. The original is at www.sco.com/ta/111461, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.