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

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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ReDiZFAgPdQrd73c
RhceWw5IuajpBV6sHoqVrZ7zCq7ivV/qYQvHZQaUUC32+lVEkiXCJXfDO1J1ChqR
wXZZcfsXbVubG0cqrNH6yM9LovmxKqi+QYgEjcyIRCOYPItq4QeLXkCkGjiLtoKT
q+Q56lCmdGOL9oC8Dc38MhjBPsU=
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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=hXkUeiCxuAQlLEFALks/56
G6zB0=; b=WhWTvnCGiXdMxUyEIsFcke+Ar0ziFTqcffu95gra81rh2H7gQcO+n7
3Zz1EpulpSokks8fOLSdI1YIhDy5v0DccVJS0riqzQL8HOE/L4cNu1pQSs/n5e00
8IHKJU+vYux7ibyuDShcI6upU25R/AGLKqO+kKByzIotIFqnRb7PI=
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=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173021pub.verizon.net
Message-id: <5331A75A.1060807@cygwin.com>
Date: Tue, 25 Mar 2014 11:57:14 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: problem with mkdir //fileserver when opening cygwin terminal
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>
In-reply-to: <CAOYLpW4dt_74oFgcZFb0_Mb+NkP0X=UDzFj0zJOvTi0c9=wciQ@mail.gmail.com>

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

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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