On Sun, Jul 01, 2001 at 08:40:02PM -0400, Joey Hess wrote: > Ethan Benson wrote: > > you would think they would know history, this was done away with long > > ago because of NFS mounted /usr. > > I wish I knew the rationalle. Maybe they want lsb packages to be able to > unpack binary files owned by user bin? But that's quite silly, because > rpm should allow use of symbolic user names in the cpio (I'd hope). everything in /usr/bin should (unless there are unusal setuid issues, in which case it won't be bin or daemon anyway) be owned by root.root. which is guarenteed to be uid=0 gid=0. heck using uid/gid 0 will work on any unix system under the sun regardless of whether they call gid=0 root, wheel, system, admin etc. > They only specify 3 user id numbers: root, daemon, and bin. Very strange. /me thinks they just pulled this out of thin air while under the influence of psychotropic drugs. > No idea. That's a standard Debian really needs -- what each system user is > meant to be used for. ive always wondered why policy never commented on that... > Ok, the lsb package could theoretically do that. > > (Of course, the sheer evilness of user nobody being in two groups called > 'nobody' and 'nogroup' which should both own no files .. I guess they could be > aliases for the same group id.) i don't think the id matters, nor whether nobody is a member of nobody or not. the only point of having a group (with any ol id) named nobody would be to deal with hypothetical initscripts running a daemon as nobody:nobody. thats the only time it will ever matter. arguably such a daemon is broken anyway for abusing user nobody in this manner. if this is for file ownership its broken, as you said nothing should be owned by nobody/nogroup/nobody. > Of course, it's worth noting that the section on how init scripts are called > is a clear case of 'lets make whatever Debian does standard!', as is the > section on /etc/cron.{d,daily,weekly,monthly}. well its nice to know they weren't under the influence of psychotropic drugs ALL of the time... -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgpWLhc3VCcoa.pgp
Description: PGP signature