Re: Map home dir drive (H:) to /home/myuser/ ?

2023-07-29 Thread L A Walsh via Cygwin
On 2023/07/28 21:24, Roland Mainz via Cygwin wrote: Good morning! Does Cygwin have a way to map a (NFS) home dir drive (H:) to /home/myuser/, without resorting to POSIX-style softlinks ([1]) ? Example: 1. Home dir mounted on drive H: via NFS 2. How do I now map H: to /home/myuser

Re: Map home dir drive (H:) to /home/myuser/ ?

2023-07-29 Thread Andrew Schulman via Cygwin
> Does Cygwin have a way to map a (NFS) home dir drive (H:) to > /home/myuser/, without resorting to POSIX-style softlinks ([1]) ? Yes. Put the following in either /etc/fstab (system-wide) or /etc/fstab.d/myuser (user-specific): H:/ /home/myuser nfs binary,user 0 0 Then run

Automounter in Cygwin to mount NFS home dir on demand ?

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Does Cygwin have something like a Solaris/Linux autofs-style automounter ? The idea is to mount NFS home dirs automagically the first time someone uses them, e.g. $ cd /home/chickenmonster/ # automagically mounts NFS dir mymonsternfs:/export/home/chickenmonster/ Bye, Roland --

Map home dir drive (H:) to /home/myuser/ ?

2023-07-28 Thread Roland Mainz via Cygwin
Good morning! Does Cygwin have a way to map a (NFS) home dir drive (H:) to /home/myuser/, without resorting to POSIX-style softlinks ([1]) ? Example: 1. Home dir mounted on drive H: via NFS 2. How do I now map H: to /home/myuser/ ? For example Linux and Solaris use the automounter

Unexpected permissions for home dir install

2022-08-31 Thread carbonfiber123irc carbonfiber123irc
I did read that upon installation. But I read it more as: "Cygwin is still available to multiple users, depending on where you install it". I did not expect it to apply when installing Cygwin into a private home directory. And maybe other people read it similar to how I read it. But its also

Re: Unexpected permissions for home dir install

2022-08-31 Thread Ken Brown
On 8/31/2022 2:42 PM, carbonfiber123irc carbonfiber123irc wrote: Hello I have experienced the following unexpected default behavior when installing cygwin inside my home directory. Using the --no-admin option and choosing "just me" in the setup. As user1 when installing cygwin to:

Unexpected permissions for home dir install

2022-08-31 Thread carbonfiber123irc carbonfiber123irc
Hello I have experienced the following unexpected default behavior when installing cygwin inside my home directory. Using the --no-admin option and choosing "just me" in the setup. As user1 when installing cygwin to: "C:\Users\user1\Downloads\cygwin_test1\" Then all the directories and files

Re: Clean install, incomplete setup - no home dir, broken PATH

2013-05-14 Thread Daniel Davis
mintty. In a vanilla install, is the home dir created on first invocation (ie, running /etc/profile for the first time) or is it supposed to be created as part of the install process? Thanks again for the help - I'll post back if I find anything more conclusive. -David -- Problem reports

Re: Clean install, incomplete setup - no home dir, broken PATH

2013-05-14 Thread Warren Young
On 5/14/2013 11:47, Daniel Davis wrote: Invoking mintty with /bin/bash -l is a perfect workaround so far. Sometime later I'll look for the mintty source code and try and figure out why mintty isn't running bash -l by default. mintty *doesn't* run bash -l by default. The default shortcut to

Re: Clean install, incomplete setup - no home dir, broken PATH

2013-05-10 Thread Daniel Davis
(ie, . /etc/profile) makes and populates the home dir specified in /etc/passwd * comparing the /etc/passwd and /etc/group files to a box where I don't have this install problem shows no significant differences and the only spaces are in the psswd comment fields and group names. * again

Re: Clean install, incomplete setup - no home dir, broken PATH

2013-05-10 Thread Larry Hall (Cygwin)
On 5/10/2013 3:04 PM, Daniel Davis wrote: snip Is there some way I can find out why /etc/profile isn't being called when the shell starts? /var/log is empty but for setup.log* and I don't see any windows event logs for cygwin. Maybe that would lead to better guesses as to why/how the install

Re: Clean install, incomplete setup - no home dir, broken PATH

2013-05-09 Thread Warren Young
On 5/9/2013 16:39, Daniel Davis wrote: all new shells start from the same place (/usr/bin) with a broken path. I don't know about your other problems, but this one sounds like /etc/passwd didn't get set up correctly. Cygwin ships with a 'mkpasswd' script that does this for you. I'd

Migrating home dir

2011-03-18 Thread Tod
I'm going to be migrating to win7 in a few weeks. When I do I'll be logging in with a different userid. What's the best way to migrate my existing install and home dir to the new userid? Thanks - Tod -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: Migrating home dir

2011-03-18 Thread Jeremy Bopp
On 3/18/2011 10:28, Tod wrote: I'm going to be migrating to win7 in a few weeks. When I do I'll be logging in with a different userid. What's the best way to migrate my existing install and home dir to the new userid? My recommendation is that you back up only your Cygwin home directory

Re: Shared home dir, samba, and workgroups

2010-03-09 Thread Marco Atzeri
--- Mar 9/3/10, Wes Barris ha scritto: Marco Atzeri wrote: --- Mar 9/3/10, Wes Barris ha scritto: Wes Barris wrote: I use Cygwin 1.7 on my XP desktop system at work.  I like having the same home directory on this Windows XP system as I do on our Unix server.  The Windows XP

Re: Shared home dir, samba, and workgroups

2010-03-09 Thread Wes Barris
Marco Atzeri wrote: --- Mar 9/3/10, Wes Barris ha scritto: Marco Atzeri wrote: --- Mar 9/3/10, Wes Barris ha scritto: Wes Barris wrote: I use Cygwin 1.7 on my XP desktop system at work. I like having the same home directory on this Windows XP system as I do on our Unix server. The

Re: Shared home dir, samba, and workgroups

2010-03-08 Thread Wes Barris
Wes Barris wrote: I use Cygwin 1.7 on my XP desktop system at work. I like having the same home directory on this Windows XP system as I do on our Unix server. The Windows XP system is a member of a domain. The Unix server is not. The Unix server is running Samba and is configured with a

Re: Shared home dir, samba, and workgroups

2010-03-08 Thread Marco Atzeri
--- Mar 9/3/10, Wes Barris ha scritto: Wes Barris wrote: I use Cygwin 1.7 on my XP desktop system at work.  I like having the same home directory on this Windows XP system as I do on our Unix server.  The Windows XP system is a member of a domain.  The Unix server is not.  The Unix

Re: Shared home dir, samba, and workgroups

2010-03-08 Thread Wes Barris
Marco Atzeri wrote: --- Mar 9/3/10, Wes Barris ha scritto: Wes Barris wrote: I use Cygwin 1.7 on my XP desktop system at work. I like having the same home directory on this Windows XP system as I do on our Unix server. The Windows XP system is a member of a domain. The Unix server is

Shared home dir, samba, and workgroups

2010-03-02 Thread Wes Barris
I use Cygwin 1.7 on my XP desktop system at work. I like having the same home directory on this Windows XP system as I do on our Unix server. The Windows XP system is a member of a domain. The Unix server is not. The Unix server is running Samba and is configured with a workgroup name. My

Re: [attention base-files maintainer] copying /bin files to home dir on first run of cygwin.bat

2009-02-16 Thread John Morrison
I did a base install of cygwin 1.7 (using setup-1.7.exe), and the first time I ran cygwin.bat, it gave the following: +/bin/mkdir -p `dirname ${fDest}` Thanks I'll patch that ASAP. J. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

[attention base-files maintainer] copying /bin files to home dir on first run of cygwin.bat

2009-02-15 Thread Yitzchak Scott-Thoennes
I did a base install of cygwin 1.7 (using setup-1.7.exe), and the first time I ran cygwin.bat, it gave the following: Copying skeleton files. These files are for the user to personalise their cygwin experience. They will never be overwritten nor automatically updated. bash: cd: /etc/skel:

Can't Change Home Dir

2008-08-29 Thread Richard Plana
Hi, I can't seem to change my user's HOME dir so that it uses /cygdrive/c/Documents and Settings/ as its prefix. I've changed the home dir entry in the /etc/passwd file, but each time I connect, $HOME is still set to using /home/ (which is under Cygwin's root). I've logged off all cygwin shells

Re: Can't Change Home Dir

2008-08-29 Thread Larry Hall (Cygwin)
Richard Plana wrote: Hi, I can't seem to change my user's HOME dir so that it uses /cygdrive/c/Documents and Settings/ as its prefix. I've changed the home dir entry in the /etc/passwd file, but each time I connect, $HOME is still set to using /home/ (which is under Cygwin's root). I've logged

1.5.25: Can't Change User's Home Dir

2008-08-29 Thread Richard Plana
Larry Hall wrote: Richard Plana wrote: Hi, I can't seem to change my user's HOME dir so that it uses /cygdrive/c/Documents and Settings/ as its prefix. I've changed the home dir entry in the /etc/passwd file, but each time I connect, $HOME is still set to using /home/ (which is under

Re: 1.5.25: Can't Change User's Home Dir

2008-08-29 Thread Larry Hall (Cygwin)
/Documents and Settings/ Neither seem to be the behavior that I'm getting. Everytime I log on, I end up with a home dir of /home/$LOGNAME and I don't know anymore where that is coming from nor how to change it. Ah, your home is a network drive. You're not accessing it with 'ssh' are you? You

RE: 1.5.25: Can't Change User's Home Dir [SOLVED]

2008-08-29 Thread Richard Plana
and Settings/ Neither seem to be the behavior that I'm getting. Everytime I log on, I end up with a home dir of /home/$LOGNAME and I don't know anymore where that is coming from nor how to change it. Ah, your home is a network drive. You're not accessing it with 'ssh' are you? You

Re: 1.5.25: Can't Change User's Home Dir [SOLVED]

2008-08-29 Thread Larry Hall (Cygwin)
/Documents and Settings/ Neither seem to be the behavior that I'm getting. Everytime I log on, I end up with a home dir of /home/$LOGNAME and I don't know anymore where that is coming from nor how to change it. Ah, your home is a network drive. You're not accessing it with 'ssh' are you? You

Re: Shared home dir, samba workgroups and ssh

2006-10-18 Thread Corinna Vinschen
On Oct 17 23:50, Andrew DeFaria wrote: Andrew DeFaria wrote: But when dealing with Samba servers who are configured into workgroups innocuous activities in Cygwin would elicit permission denied messages. For example, touching a file in the home directory and indeed even vi'ing a file, etc.

Re: Shared home dir, samba workgroups and ssh

2006-10-18 Thread Andrew DeFaria
Corinna Vinschen wrote: As Larry proposed, StrictModes no or mapping .ssh to a local directory should help. Another choice would be to start sshd with nontsec. Pretty much as I suspected. I missed Larry's response. Sorry. But Corina, you're response here will server others well I suspect.

Re: Shared home dir, samba workgroups and ssh

2006-10-18 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Corinna Vinschen wrote: As Larry proposed, StrictModes no or mapping .ssh to a local directory should help. Another choice would be to start sshd with nontsec. Pretty much as I suspected. I missed Larry's response. Sorry. But Corina, you're response here will server

Re: Shared home dir, samba workgroups and ssh

2006-10-17 Thread Andrew DeFaria
Andrew DeFaria wrote: Here's the story. I use Cygwin on my XP desktop. I like having a home directory on Windows that is the same home directory on Unix/Linux machines. Often companies offer access to your Unix/Linux home directory via Samba. Also, often companies do not bother to set up a

Shared home dir, samba workgroups and ssh

2006-10-14 Thread Andrew DeFaria
Here's the story. I use Cygwin on my XP desktop. I like having a home directory on Windows that is the same home directory on Unix/Linux machines. Often companies offer access to your Unix/Linux home directory via Samba. Also, often companies do not bother to set up a Samba server wish

Re: Shared home dir, samba workgroups and ssh

2006-10-14 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Here's the story. I use Cygwin on my XP desktop. I like having a home directory on Windows that is the same home directory on Unix/Linux machines. Often companies offer access to your Unix/Linux home directory via Samba. Also, often companies do not bother to set up a

Moving Home dir to another partition

2006-03-08 Thread Mool
1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2) 2) First run created /home/$USER in C:\Cygwin how to MOVE my home dir in another partition D:, so I'll use D:\cygwin\home\$USER? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: Moving Home dir to another partition

2006-03-08 Thread René Berber
Mool wrote: 1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2) 2) First run created /home/$USER in C:\Cygwin how to MOVE my home dir in another partition D:, so I'll use D:\cygwin\home\$USER? cp -rp /cygdrive/c/Cygwin/home/$USER /cygdrive/d/Cygwin/home Edit /etc/passwd changing

Re: Moving Home dir to another partition

2006-03-08 Thread Igor Peshansky
On Wed, 8 Mar 2006, René Berber wrote: Mool wrote: 1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2) 2) First run created /home/$USER in C:\Cygwin how to MOVE my home dir in another partition D:, so I'll use D:\cygwin\home\$USER? cp -rp /cygdrive/c/Cygwin/home/$USER

Re: Moving Home dir to another partition

2006-03-08 Thread Mool
Igor Peshansky wrote: On Wed, 8 Mar 2006, René Berber wrote: Mool wrote: 1) Cygwin Installed on C:\Cygwin (C: partition win winXP SP2) 2) First run created /home/$USER in C:\Cygwin how to MOVE my home dir in another partition D:, so I'll use D:\cygwin\home\$USER? cp -rp /cygdrive/c/Cygwin

mkpasswd, mkgroup - initial setup of group, home dir

2005-11-22 Thread Robert Body
Hi, I installed on a networked computer, but i don't want my cygwin to be part of that network as far as username/groups go (I don't want to add all the users to my group or passwd files) I was assigned robert.body as username and my group name is mkgroup-l-d I would like to change these to

Re: mkpasswd, mkgroup - initial setup of group, home dir

2005-11-22 Thread Brian Dessent
Robert Body wrote: Hi, I installed on a networked computer, but i don't want my cygwin to be part of that network as far as username/groups go (I don't want to add all Use -l instead of -d when running mkgroup and mkpasswd. I would like to change these to Owner and mygroup, and I would like

Re: mkpasswd, mkgroup - initial setup of group, home dir

2005-11-22 Thread Igor Pechtchanski
On Tue, 22 Nov 2005, Brian Dessent wrote: Robert Body wrote: Hi, I installed on a networked computer, but i don't want my cygwin to be part of that network as far as username/groups go (I don't want to add all Use -l instead of -d when running mkgroup and mkpasswd. Actually, -l -c (-c

Re: mkpasswd, mkgroup - initial setup of group, home dir

2005-11-22 Thread Brian Dessent
Igor Pechtchanski wrote: Umm, sorry, Brian, but this is not true. The username in /etc/passwd doesn't matter at all, and neither does the UID -- it's the SID field that's important. That's good to know. Sorry for the misinformation. Brian -- Unsubscribe info:

/home dir missing

2005-06-02 Thread prashanthu baragur
Hi, Am a newbie to cygwin. Am trying to install cygwin as per the procedure in the web. http://cplus.about.com/od/compilersandides/l/aa061204a.htm After installation i observe that the /home directory is missing. Other that this things are normal. I have logged into my system as a local user

Re: /home dir missing

2005-06-02 Thread Richard Copley
On 02/06/05, prashanthu baragur [EMAIL PROTECTED] wrote: Hi, Am a newbie to cygwin. Am trying to install cygwin as per the procedure in the web. http://cplus.about.com/od/compilersandides/l/aa061204a.htm Wow, seven pages of installation instructions. Couldn't he have just said 'follow the

RE: /home dir missing

2005-06-02 Thread Dave Korn
Original Message From: prashanthu baragur Sent: 02 June 2005 08:06 Hi, Am a newbie to cygwin. Am trying to install cygwin as per the procedure in the web. http://cplus.about.com/od/compilersandides/l/aa061204a.htm After installation i observe that the /home directory is

Re: /home dir missing

2005-06-02 Thread prashanthu baragur
Dave, I did not ran mkpasswd -l -d /etc/passwd and mkgroup -l -d /etc/group Since i did mkdir /home, /home is just like /temp directory. Any care to be taken during cygwin installation ?? Thanks Prashanth On 6/2/05, Dave Korn [EMAIL PROTECTED] wrote: Original Message From:

Re: /home dir missing

2005-06-02 Thread Thorsten Kampe
On Thu, 2 Jun 2005 12:27:45 +, Richard Copley wrote: On 02/06/05, prashanthu baragur [EMAIL PROTECTED] wrote: Hi, Am a newbie to cygwin. Am trying to install cygwin as per the procedure in the web. http://cplus.about.com/od/compilersandides/l/aa061204a.htm Wow, seven pages of

RE: How to start up cygwin so all users use the same home dir and environment?

2005-02-07 Thread Jesper Vad Kristensen
with you :) Regards, Jesper Vad Kristensen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesper Vad Kristensen Sent: Thursday, February 03, 2005 3:18 PM To: cygwin@cygwin.com Subject: How to start up cygwin so all users use the same home dir and environment

RE: How to start up cygwin so all users use the same home dir and environment?

2005-02-05 Thread Jesper Vad Kristensen
an unknown number of users to be able to log into this one Windows server, and when they start cygwin there I would like them all to use, say, /cygdrive/c/cygwin/home/shareduser as home dir (~/). I.e. no matter who logs into the windows box they all share the one and same cygwin environment. Ok

How to start up cygwin so all users use the same home dir and environment?

2005-02-03 Thread Jesper Vad Kristensen
all to use, say, /cygdrive/c/cygwin/home/shareduser as home dir (~/). I.e. no matter who logs into the windows box they all share the one and same cygwin environment. Just a bit of explanation on why I'd go and do something stupid like this. Well, it all boils down to a paranoid security

RE: How to start up cygwin so all users use the same home dir and environment?

2005-02-03 Thread Dave Korn
of users to be able to log into this one Windows server, and when they start cygwin there I would like them all to use, say, /cygdrive/c/cygwin/home/shareduser as home dir (~/). I.e. no matter who logs into the windows box they all share the one and same cygwin environment. Ok, so after

Re: Home-Dir disappears upon password-less rlogin

2003-11-25 Thread Larry Hall
At 04:39 AM 11/25/2003, Martin Apel you wrote: Hello, I'm having a problem with password-less rlogin on a Windows 2000 machine running Cygwin 1.5.5-1. The machine, from which I start rlogin, is listed in the hosts.equiv file of the Cygwin machine. I can then login without password, but I receive

Default home dir: /cygdrive/c

2003-05-31 Thread a12
Hi gurus, After installing successfully Cygwin on several NT4/2K hosts, I have encountered a strange problem: [EMAIL PROTECTED] ~ $ pwd /cygdrive/c instead of: /home/isoft Why ? Cygwin was installed using Windows user isoft, that belongs to Administrators group. A simple check of CYGWIN and

RE: Default home dir: /cygdrive/c

2003-05-31 Thread Vince Hoffman
do you have HOME set as a windows environment variable ? -Original Message- From: a12 [mailto:[EMAIL PROTECTED] Sent: 30 May 2003 14:10 To: [EMAIL PROTECTED] Subject: Default home dir: /cygdrive/c Hi gurus, After installing successfully Cygwin on several NT4/2K hosts, I have

RE: Default home dir: /cygdrive/c

2003-05-31 Thread Vince Hoffman
To: Vince Hoffman Cc: 'a12'; [EMAIL PROTECTED] Subject: Re: Default home dir: /cygdrive/c Vince Hoffman wrote: do you have HOME set as a windows environment variable ? From his cygcheck output: HOME = `c:\' So I have to say yes, he does. -- Larry Hall

Home dir is /

2003-01-21 Thread Matthew Litwin
I've installed cygwin 1.3.18-1 on an XP system and found it set my home dir as / instead of /home/NT_USERNAME like it normally does. Within cygwin, I see that /home isn't even there. Even after making my homedir, it still still puts me at root when I launch a shell. I noted that I am not in /etc

Re: Home dir is /

2003-01-21 Thread Abraham Backus
to get information from a domain (the default domain). The -u means to use the information for myusername in the given domain. I hope this makes sense and helps. -Abe - Original Message - I've installed cygwin 1.3.18-1 on an XP system and found it set my home dir as / instead of /home

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-05 Thread a12
Yes, removing HOME from Windows system variables did it. I thank you all cygwin gurus for support and valuable hints. Pierre A. Humblet wrote: a12 wrote: Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-03 Thread a12
Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use /home/$USER #if [ -z $HOME ]; then HOME=/home/$USER #fi solves my problem, but is it the correct way to do it ? Pierre A. Humblet wrote: On Thu, Jan 02, 2003 at 11:15:09PM

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-03 Thread Andrew DeFaria
a12 wrote: Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use /home/$USER #if [ -z $HOME ]; then HOME=/home/$USER #fi solves my problem, but is it the correct way to do it ? My solution is the following: HOME=`grep ^$USER:

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-03 Thread Pierre A. Humblet
a12 wrote: Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use /home/$USER #if [ -z $HOME ]; then HOME=/home/$USER #fi solves my problem, but is it the correct way to do it ? It's correct but not particularly

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-02 Thread Igor Pechtchanski
On Tue, 31 Dec 2002, a12 wrote: Hello, I have just installed the latest Cygwin release on one PC. The two issues you mention are unrelated. See below. It is up and running OK, except that all local users login into /cygdrive/c instead of /home/userid. Do you have the /etc/passwd and

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-02 Thread a12
Hello Igor, Thank you for your reply. Following your reply I have rebuilt /etc/group and /etc/passwd /etc/group: SYSTEM:S-1-5-18:18: none:S-1-5-21-18958337-794100916-1409357915-513:513: admins:S-1-5-32-544:544: backup:S-1-5-32-551:551: guests:S-1-5-32-546:546: power:S-1-5-32-547:547:

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-02 Thread Pierre A. Humblet
On Thu, Jan 02, 2003 at 11:15:09PM +0100, a12 wrote: Whether I login locally as user 'sysaccount' or domain user 'magr40', the problem persists: HOME=/cygdrive/c HOMEDRIVE=C: HOMEPATH=\ Isn't HOME already defined in the Windows environment, before starting Cygwin? Start a DOS shell and

Cygwin home dir=/cygwin/c (not /home/userid)

2002-12-30 Thread a12
Hello, I have just installed the latest Cygwin release on one PC. It is up and running OK, except that all local users login into /cygdrive/c instead of /home/userid. The length of PATH in DOS is 97 characters, and in cygwin 148 characters:

RE: Cygwin home dir=/cygwin/c (not /home/userid)

2002-12-30 Thread [EMAIL PROTECTED]
Original Message: - From: a12 [EMAIL PROTECTED] Date: Tue, 31 Dec 2002 00:01:34 +0100 To: [EMAIL PROTECTED] Subject: Cygwin home dir=/cygwin/c (not /home/userid) Hello, I have just installed the latest Cygwin release on one PC. It is up and running OK, except that all local