problem with mkdir //fileserver when opening cygwin terminal

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Mar 25 16:29:00 GMT 2014


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



More information about the Cygwin mailing list