[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Opinions on operator's home directory?



On Tue, Jan 20, 2004 at 10:59:44PM +0100, Marco d'Itri wrote:
> On Jan 20, Colin Watson <cjwatson@debian.org> wrote:
>  >We don't really have a mechanism for it keeping the current gid yet;
>  >more of base-passwd's tables need to be exported so that adduser can get
>  >at them.
> 
> We do, ifmail (which uses the only statically assigned UID I know about)
> uses this in postinst:
> 
> if ! id ftn >/dev/null 2>&1; then
>   adduser --system --home /var/spool/ftn --group --uid 64000 \
>     --disabled-password --gecos Fidonet ftn
>   chsh -s /bin/bash ftn
> fi

I'm talking about the 0-99 range, not the 64000-64999 range. I guess
you're right, though, that you could explicitly specify the id; what I
want is to have this known by adduser so that every package that needs,
for example, the 'news' user doesn't have to have its id hardwired into
its package maintenance scripts.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: