From: Ellen Davis <daviser () email ! uc ! edu>
To: tru64-unix-managers
Subject: number of logins
Date: Thu, 28 Aug 1997 14:20:34 +0000 [thread overview]
Message-ID: <96078615810672.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1997-08-28 14:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox