This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestion for setup


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]