This is the mail archive of the cygwin 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: problem with mkdir //fileserver when opening cygwin terminal


HI Larry,

I created a new /etc/passwd by using:

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


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