Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2002 17:09:19 -0500
From:      John Von Essen <john@essenz.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   sshd and lastlog permissions
Message-ID:  <6102106C-FFF9-11D6-B300-0003933DDCFA@essenz.com>

next in thread | raw e-mail | index | archive | help
Maybe I am missing something, but...

On my -CURRENT box (current as of last night). After a fresh install (no 
tinkering with settings), when I use ssh to connect from a remote host, I 
get the following error:

sshd[pid]: /var/log/lastlog: Permission denied

Also, the following processes are running:

root PID ...   ??  I  0:00.xx sshd: user [priv] (sshd)
user PID ...   ??  I  0:00.xx sshd: user@ttyp0 (sshd)


On my 4.7-STABLE box, when I connect with ssh, I get the following process:

root PID ...   ??  I  0:00.xx sshd: user@ttyp0 (sshd)

So obviously, there is this difference in ownership of sshd: user@ttyp0 
(sshd).

Like I said, this is a fresh install with no config changes. Any ideas as 
to what is going on?

-John Von Essen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6102106C-FFF9-11D6-B300-0003933DDCFA>