Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Date: Thu, 31 May 2007 19:12:21
Message-Id: 20070531210530.76545335.hilse@web.de
1 Hi,
2
3 On Thu, 31 May 2007 19:28:09 +0100
4 Mick <michaelkintzios@×××××.com> wrote:
5
6 > > sshd will always search in the home directory as specified
7 > > in /etc/passwd (in the normal case) or more sophisticated solutions
8 > > like LDAP or NSS. So make sure it really *is* configured as the home
9 > > directory.
10 >
11 > Aha! We're getting somewhere. There's no /home/mic specified in /etc/passwd
12 > but /:
13 >
14 > mick:x:502:10::/:/bin/bash
15 >
16 > What do you make of this?!
17
18 LART your admin :-) and be sure he/she corrects that to read the "real"
19 homedir instead... (well, you could just use / as your home, but I
20 guess your admin didn't give you rights to write stuff there...) All
21 the details in "man 5 passwd".
22
23 For obvious reasons, specifying your home dir from SSH client side upon
24 connection is not possible. Otherwise, a lot of public keys for the
25 root account would be lingerin' around in /tmp, I guess ;-)
26
27 -hwh
28
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server Mick <michaelkintzios@×××××.com>