delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/26/11:44:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=RX
maFCg/VzenXHgdW5uFT0EaXpN49HtGcsDV5P6ooq6P1P1+pdKawo5i4wegu58gNz
kSw6rvRc9waWuypraZHdEjZQimWhJHMXvIyZj6eIbJqBNO6Hu7PyUq2D3IHX6BlP
rJZwPdEENtNuIiLNrHaoFUwjDHShdW5uCNhY3Hpa8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=fJleHREy
d0ETjyTsf7Un1Hr/Kwg=; b=HwUqMeTqGu4cjH2aSRi30fr0yxoZBeI9fgscFay2
LssAPL35aqc3TnlAfqjEcIit3CgdLHH3BrCXoGhDtyyZE8H5VJiE3iLEYDJo0rFB
vqaoZVbLm2vCPQzeHlnpk7ryn3g3s85IS1r20z+WWefHAwlEKgtNaTzHqX5yw4C+
H8c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pb0-f43.google.com
MIME-Version: 1.0
X-Received: by 10.66.146.105 with SMTP id tb9mr4526627pab.157.1395848676033; Wed, 26 Mar 2014 08:44:36 -0700 (PDT)
In-Reply-To: <5331A75A.1060807@cygwin.com>
References: <CAOYLpW525dwrSbGPM+0WpPQBb_xJBx4GR-nZRHKb0-pFnKcsuA AT mail DOT gmail DOT com> <532CB350 DOT 7070501 AT cygwin DOT com> <CAOYLpW7XjLrHsuFH3zpr8SXzV8TAeJ1cCEB6ZeA2iN44ENdPtA AT mail DOT gmail DOT com> <CAOYLpW5kx1mha9sHmY-i7SVj068uM9er+1LWkN87bRP-3FbAjw AT mail DOT gmail DOT com> <53308EEA DOT 30904 AT cygwin DOT com> <CAOYLpW4dt_74oFgcZFb0_Mb+NkP0X=UDzFj0zJOvTi0c9=wciQ AT mail DOT gmail DOT com> <5331A75A DOT 1060807 AT cygwin DOT com>
Date: Wed, 26 Mar 2014 09:44:35 -0600
Message-ID: <CAOYLpW5muzUJg11hA0tyjVuWftApkyCH9-CBxUgCpMe-dCfNpw@mail.gmail.com>
Subject: Re: problem with mkdir //fileserver when opening cygwin terminal
From: Leo Lagos <leo DOT lagos AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

HI Larry,

I created a new /etc/passwd by using:

llagos AT T420-LLAGOS ~
$ mkpasswd -l -c -p /home

That solved the issue!

Thanks a lot,

On Tue, Mar 25, 2014 at 9:57 AM, Larry Hall (Cygwin)
> On 3/25/2014 10:54 AM, Leo Lagos wrote:
>>
>> Hi Larry,
>>
>> Yes, that seems to be the problem. My /etc/passwd is full of users of
>> my company's domain, all of them (including me) with home such as
>> //fileserver/public/<user>
>>
>> I don't need to have all my company in this file, since it's only for me.
>>
>> any quick way or re-creating this file? I do remember a mkpasswd or
>> similar command..???
>
>
> Yes, mkpasswd will allow you to populate your '/etc/passwd' file.
> mkgroup will do the same for your '/etc/group' file.  Check out the
> man page and/or the Cygwin User's Guide for more details.
>
> <http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd>
> <http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup>
>
> If you would prefer to work only with a local user, use the -l or -L
> flags for these commands.  Otherwise, use the -d or -D flags.  For the
> domain at least, you probably want to use the -c flag.  You will probably
> also want to use the -p flag to specify your home directory (since it
> points to a network path for your domain).
>
>
>
> --
> Larry

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019