maxusers in config file (4BSD)

David Sherman dave at lsuc.UUCP
Fri Jan 25 07:19:09 AEST 1985


In article <7602 at brl-tgr.ARPA> James Matheson <jmrm at eng-dsl> writes:
||Ed Gould writes
||> In order to comply with AT&T's restrictions on binary licenses, we've
||> added a maxusers() system call that returns the value from the
||> config maxusers parameter.  The limit is enforced by login(1),
||> by counting the numbers of entries in /etc/utmp.
||
||This will only work if the login process used actually updates
||utmp. People could get round this by writing their own /bin/login
||without this feature and hey presto no limit!

Or, even simpler, remove /etc/utmp! (So who needs who(1) anyway?)

Dave Sherman
-- 
{utzoo pesnta nrcaero utcs}!lsuc!dave
{allegra decvax ihnp4 linus}!utcsrgv!lsuc!dave



More information about the Comp.unix.wizards mailing list