Age | Commit message (Collapse) | Author |
|
Make sence.
millert@ ok
|
|
was to avoid needless incompatibilities with NetBSD's command line options
but this ended up causing too much confusion on the part of the user.
The -u option now also sets the group and group vector based on passwd(5)
and group(5) unless an alternate group list is specified via the -g option.
The -U and -G options have been removed.
The resulting code is much simpler and the behavior of chroot(8) seems
to better match users' expectations; OK deraadt@
|
|
o call setlogin() if the -U flag was specified and we either are the session
leader or are able to become it.
|
|
|
|
adapted from NetBSD. OK markus@ and previously discussed with Theo.
|
|
|
|
o) move code up from chroot&chdir block (tftpd);
millert@ ok
|
|
|
|
|
|
|