How to set up multi-user accounts?
Leslie Mikesell
les at chinet.chi.il.us
Fri Jun 21 05:39:21 AEST 1991
In article <798 at minya.UUCP> jc at minya.UUCP (John Chambers) writes:
>So further research is necessary on how to kludge a multi-user account
>so that it works sensibly, without using super-user privileges. Does
>anyone have any clever ideas?
Personally, I think it's easier all around to just give everyone their
own account since the administrator has to deal with that for some
users anyway and everything more or less takes care of itself, including
file ownership and accounting mechanisms. If I were concerned about
security, I'd probably set up a chroot environment that looked like
a different machine and tweak the mailer to deliver things addressed
to that machine or subdomain to the right place. Recent SysV's have
some support in login(1) to make certain id's perform a chroot and
then run login again from there, so internally you could have a different
administrator to maintain the sub-password file. I'm not sure if
anyone actually uses this. It doesn't really give perfect security
since root in the sub-login can mknod() a device driver that points
to the real disks or kmem.
The sub-domain or different machine name would work as well without
the chroot, though, as long as the mailer will handle it. I've only
worked with Smail3, which could be configured to do it easily, or
you could use a prefix or suffix with a unique identifier and set up
a delivery method based on that.
Les Mikesell
les at chinet.chi.il.us
More information about the Comp.unix.programmer
mailing list