Mail Archives: cygwin/2003/03/26/10:20:43
On Wed, 26 Mar 2003, Robert Collins wrote:
> John Morrison wrote:
> > <snip>
> >
> >>FYI, once /etc/passwd and /etc/group exist, they will not be automatically
> >>recreated by setup.
> >
> > </snip>
> >
> > Igor et al wrt post install scripts... :)
> >
> > Would it be unreasonable to have some scripts which
> > are _never_ renamed to .done? Doing that to the
> > /etc/postinstall/passwd-grp.sh script would have
> > caught his problem...
Reinstalling base-passwd would have had the same effect. But the effect
would be *nothing*, since passwd-grp.sh checks for the *existence* of
/etc/passwd, not its correctness. If you edit a default /etc/passwd
beyond recognition, you'd still have that file present, and thus
passwd-grp.sh will do nothing.
> > It might also solve the post install copying of
> > config files...?
Umm, I'm not sure what you mean here...
> > Just a thought,
>
> It's a good one. Such scripts belong in
> /bin
> or
> /usr/bin
>
> :]
> Rob
You mean along with ssh-user-config &Co? Any particular reason why this
is any better than already having mkpasswd and mkgroup there?
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
-- /usr/games/fortune
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -