I would like to create a common account whereby a select number of users know
the password but only one of the users can use it at any one time. If another
user attempts to use it whilst it is in use they should be refused access to
it. Has anyone tried this ?
I guess it needs some kind of locking mechanism ?
Regards
Jonathan Walker
unix sys administrator
> I would like to create a common account whereby a select number of users know
> the password but only one of the users can use it at any one time. If another
> user attempts to use it whilst it is in use they should be refused access to
> it. Has anyone tried this ?
> I guess it needs some kind of locking mechanism ?
i have a shell that parses the utmp to count logins. there are some
people i want to restrict to 1 login at a time.
look at http://www.zoology.ubc.ca/~zaphod/src/shells.tar.gz
--
email: zap...@zoology.ubc.ca box: Lance R. Bailey, System/Network Admin
fax: +1 604 822 2416 Department of Zoology, UBC
vox: +1 604 822 6527 6270 University Boulevard
http://www.zoology.ubc.ca/~zaphod Vancouver, B.C. V6T 1Z4
Cats Hate it: when the cat door is big enough for the dog. -- magi
: Hello Sys Ads
:
: I would like to create a common account whereby a select number of users know
: the password but only one of the users can use it at any one time. If another
: user attempts to use it whilst it is in use they should be refused access to
: it. Has anyone tried this ?
:
: I guess it needs some kind of locking mechanism ?
:
: Regards
:
: Jonathan Walker
: unix sys administrator
:
I cannot rember the name of it off hand but there are some daemons you can
run that will limit people to only having one active tty at the same time
if more than one user uses the same account at the same time, it will log
both of them out (after a 1 minute warning)
James
--
No dinosaurs please we're goffik! http://plant-eng.lboro.ac.uk/~cgjwh
So all I wanted in the end, was world domination, and a whole lot of money
to spend. - New Model Army.
Lifes a Joke and Deaths the End, Live in Misery - Net.Goth