This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Installation problems with home path and sshd
Marc Girod wrote:
>
> Others may answer better than me, but... I think there are two sources for
> the definition of home:
> the HOME environment variable, and the entry in /etc/passwd.
> I have myself:
> ~> id
> uid=1000(marc) gid=513(None) groups=513(None),545(Users)
> ~> grep marc /etc/passwd
> marc:unused:1000:513:U-sartre\marc,S-1-5-21-1848142070-2449128644-2827604881-1000:/home/marc:/bin/bash
> ~> echo $HOME
> /home/marc
> Marc
>
Quite interesting. My id command gives ("Josette" is the name of the user
and "PC-de-Josette" is the name of the computer)
Josette
unused
1000
513
U-PC-de-Josette\Josette,S-1-5-21-81082327-430422718-1981534784-1000
/home/Josette
/bin/bash
and the echo $Home command gives "/home/Josette"
So it seems quite correct. It does not explain why the mintty console does
not open in the home directory, but it seems to prove that it is only a
console problem.
As you can see, the user name is in the computer name, so the grep command
was not effective and I got all users listed. I noticed the following entry.
"
sshd
unused
1002
513
sshd
privsep,U-PC-de-Josette\sshd,S-1-5-21-81082327-430422718-1981534784-1002
/var/empty
/bin/false
"
Does it seem also correct ? If not it could explain my sshd problems ?
:) Gabier
--
View this message in context: http://old.nabble.com/Installation-problems-with-home-path-and-sshd-tp32877343p32877431.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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