public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Date: Thu, 31 May 2007 21:05:30 +0200	[thread overview]
Message-ID: <20070531210530.76545335.hilse@web.de> (raw)
In-Reply-To: <200705311928.27355.michaelkintzios@gmail.com>

Hi,

On Thu, 31 May 2007 19:28:09 +0100
Mick <michaelkintzios@gmail.com> wrote:

> > sshd will always search in the home directory as specified
> > in /etc/passwd (in the normal case) or more sophisticated solutions
> > like LDAP or NSS. So make sure it really *is* configured as the home
> > directory.
> 
> Aha! We're getting somewhere.  There's no /home/mic specified in /etc/passwd 
> but /:
> 
> mick:x:502:10::/:/bin/bash
> 
> What do you make of this?!

LART your admin :-) and be sure he/she corrects that to read the "real"
homedir instead... (well, you could just use / as your home, but I
guess your admin didn't give you rights to write stuff there...) All
the details in "man 5 passwd".

For obvious reasons, specifying your home dir from SSH client side upon
connection is not possible. Otherwise, a lot of public keys for the
root account would be lingerin' around in /tmp, I guess ;-)

-hwh

-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2007-05-31 19:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30 19:57 [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server Mick
2007-05-30 20:12 ` Fabio
2007-05-30 21:43   ` Mick
2007-05-30 20:42 ` Mauro Faccenda
2007-05-31 10:42   ` Mick
2007-05-31 12:14     ` Mauro Faccenda
2007-05-31 13:08       ` Randy Barlow
2007-05-31 13:22         ` Hans-Werner Hilse
2007-05-31 14:23       ` Mick
2007-05-31 12:38     ` Hans-Werner Hilse
2007-05-31 13:26       ` Mauro Faccenda
     [not found]       ` <200705311928.27355.michaelkintzios@gmail.com>
2007-05-31 18:55         ` Randy Barlow
2007-05-31 19:05         ` Hans-Werner Hilse [this message]
2007-06-01 10:03           ` Mick
  -- strict thread matches above, loose matches on Subject: below --
2007-05-31 15:02 Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070531210530.76545335.hilse@web.de \
    --to=hilse@web.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox