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
> 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
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
--
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
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
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:
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
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
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
(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
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
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
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
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
--- 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
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
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
--- 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
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
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
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:
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:
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
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
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
/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
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
/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
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.
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.
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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:
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
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:
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
66 matches
Mail list logo