* number of logins
@ 1997-08-28 14:20 Ellen Davis
0 siblings, 0 replies; only message in thread
From: Ellen Davis @ 1997-08-28 14:20 UTC (permalink / raw)
To: tru64-unix-managers
I have my DU4.0b system configured so that all users shell in /etc/passwd
is a C program which I wrote, profile. The profile prints system messages,
etc. and then execs the user's chosen shell. One of the things I want
profile to do is to figure out the number of times a user has been logged
into the system. I want to limit the number of logins to 2. How can I
find the number of times a user has been logged into the system in a C
program? Is there a system call which would provide this information?
Ellen Davis
Ellen.Davis@uc.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-08-28 14:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-28 14:20 number of logins Ellen Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox