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_at_uc.edu
Received on Thu Aug 28 1997 - 16:40:58 NZST