Mail Archives: cygwin/2002/03/06/14:48:36
I've never seen setup run mkpasswd or mkgroup when /etc/passwd or /etc/group
exist, so I believe you're right, Chris, in saying that this is just a first
time setup issue. Personally, I just didn't want to see a first time user
around here get stuck with a 30 minute install process because setup blindly
ran
mkpasswd -d.
--Rick
--- Christopher Faylor <cgf AT redhat DOT com> wrote:
> On Wed, Mar 06, 2002 at 11:06:10AM -0800, Andrew DeFaria wrote:
> >Christopher Faylor wrote:
> >>On Wed, Mar 06, 2002 at 06:31:04PM +0100, Bernard Dautrevaux wrote:
> >>>Oh, I didn't think at that ;-( Obviously a way to avoid running "mkpasswd
> >>>-d" in such a case would be useful.
> >>
> >>This is just an issue for first time installations, right? AFAICT,
> >>/etc/passwd should not be produced if there is already a /etc/passwd.
> >>Ditto /etc/group.
> >
> >Not necessary! In fact in most shops that run Windows domains users are
> >being added and deleted all the time! If you think about allowing the
> >ability of an arbitrarily new user to be able to telnet into your box
> >for whatever reason then they will not be able to if /etc/passwd's
> >remain static.
>
> The code in setup.exe seems to indicate that mkpasswd and mkgroup will
> not be run if the corresponding files already exist. I was asking if
> people were actually seeing this happen after a first-time install.
>
> Even if it is not the case that this only happens the first time you
> install cygwin, using setup.exe to upgrade /etc/passwd is really not the
> right way to deal with this. Just run mkpasswd and mkgroup. There is
> no reason to involve setup.exe.
>
> cgf
>
> --
> 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/
>
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
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 -