Displaying 5 results from an estimated 5 matches for "pwdhome".
2001 Jan 18
1
New configuration scripts for Cygwin
...nerated
if [ ! -f /etc/passwd ]
then
echo '/etc/passwd is nonexistant. Please generate an /etc/passwd file'
echo 'first using mkpasswd. Check if it contains an entry for you and'
echo 'please care for the home directory in your entry as well.'
exit 1
fi
uid=`id -u`
pwdhome=`awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < /etc/passwd`
if [ "X${pwdhome}" = "X" ]
then
echo 'There is no home directory set for you in /etc/passwd.'
echo 'Setting $HOME is not sufficient!'
exit 1
fi
if [ ! -d "${pwdhome}&quo...
2003 Aug 22
0
[PATCH] Small tweak to contrib/cygwin/ssh-user-config
...user-config
--- contrib/cygwin/ssh-user-config 19 Jan 2001 05:37:32 -0000 1.1
+++ contrib/cygwin/ssh-user-config 22 Aug 2003 08:10:46 -0000
@@ -171,8 +171,8 @@ then
fi
if request "Do you want to use this identity to login to this machine?"
then
- echo "Adding to ${pwdhome}/.ssh/authorized_keys2"
- cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys2"
+ echo "Adding to ${pwdhome}/.ssh/authorized_keys"
+ cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys&quo...
2003 Nov 05
0
[PATCH] contrip/cygwin: Reworking the installation support
...file'
+ echo "${SYSCONFDIR}/passwd is nonexistant. Please generate an ${SYSCONFDIR}/passwd file"
echo 'first using mkpasswd. Check if it contains an entry for you and'
echo 'please care for the home directory in your entry as well.'
exit 1
fi
uid=`id -u`
-pwdhome=`awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < /etc/passwd`
+pwdhome=`awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd`
if [ "X${pwdhome}" = "X" ]
then
- echo 'There is no home directory set for you in /etc/pas...
2005 Oct 25
0
[PATCH] Fix duplicated text in contrib/cygwin/ssh-user-config
...file: /cvs/openssh_cvs/contrib/cygwin/ssh-user-config,v
retrieving revision 1.3
diff -p -u -r1.3 ssh-user-config
--- contrib/cygwin/ssh-user-config 13 Nov 2003 00:28:49 -0000 1.3
+++ contrib/cygwin/ssh-user-config 25 Oct 2005 07:45:38 -0000
@@ -198,7 +198,7 @@ fi
if [ ! -f "${pwdhome}/.ssh/id_rsa" ]
then
- if request "Shall I create an SSH2 RSA identity file for you? (yes/no) "
+ if request "Shall I create an SSH2 RSA identity file for you?"
then
echo "Generating ${pwdhome}/.ssh/id_rsa"
if [ "${with_passphrase}" = &qu...
2009 Jul 29
1
[PATCH] contrib/cygwin/ssh-user-config
...==========
RCS file: /cvs/openssh/contrib/cygwin/ssh-user-config,v
retrieving revision 1.6
diff -u -p -r1.6 ssh-user-config
--- contrib/cygwin/ssh-user-config 12 Jul 2009 11:58:42 -0000 1.6
+++ contrib/cygwin/ssh-user-config 29 Jul 2009 08:49:06 -0000
@@ -130,14 +130,14 @@ check_user_homedir() {
pwdhome=$(awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd)
if [ "X${pwdhome}" = "X" ]
then
- csih_error_multiline \
+ csih_error_multi \
"There is no home directory set for you in ${SYSCONFDIR}/passwd." \
'S...