Re: OSR5: how to find out disabled terminals by authorization subsystem?
- From: spcecdt@xxxxxxxxxx (John DuBois)
- Date: Mon, 09 Jul 2007 04:32:45 -0000
In article <f6r57g$ut8$1@xxxxxxxxxxx>, Pepe <pepe@xxxxxxxxxx> wrote:
show-locked-users.sh
See also ftp://ftp.armory.com/pub/scripts/lastlogin - it is a wee bit larger,
but it has some useful options. "lastlogin -A -uk -on" will print the names of
users whose accounts are locked.
About the terminals locking issue, I have found the "ttylock" and
"ttyunlock" system commands, which work great. However, I have not found
any command to see which tty*'s have fallen under the security lock. I
see I can launch "scoadmin terminal" --> Unlock [Enter] ---> F3, but
that is not a scriptable solution and lacks any elegance (which is to be
expected from a real UNIX).
So, how can I find out from a pure command line which terminals are locked?
I had an awk function that reads the ttys database, so this was easy:
ftp://ftp.armory.com/pub/user/spcecdt/lockedttys
John
--
John DuBois spcecdt@xxxxxxxxxx KC6QKZ/AE http://www.armory.com/~spcecdt/
.
- Follow-Ups:
- References:
- Prev by Date: Re: Why sticky bit on executables?
- Next by Date: Re: OSR5: how to find out disabled terminals by authorization subsystem?
- Previous by thread: Re: how to find out disabled terminals by authorization subsystem?
- Next by thread: Re: OSR5: how to find out disabled terminals by authorization subsystem?
- Index(es):
Relevant Pages
|