3.4p1 Error on Tru64 Unix - cannot set login uid

Chiu, PCM (Peter) P.C.M.Chiu at rl.ac.uk
Tue Oct 15 20:26:26 EST 2002


Hi,

I have recently loaded Openssh 3.4p1 on an Tru64 Unix 5.1A system.

I followed the installation instructions described in INSTALL, essentially
using all default settings, and it went throught without any obvious errors.

I can then use the root account to initiate outbound and inbound ssh calls,
and can log on without any problems.

The trouble is that when I try to use ssh to log in (from a remote host or
locally as a loopback test) using an account other than root, then I will
get:

ssh -l user localhost
user at localhost's password: xxxxxxx
Connection to localhost closed by remote host.
Conneciton to localhost closed.

In the auth.log under /var/adm/syslog.date/current, I found the
cannot set login uid errors - details attached below.

I also tried turning on the debugging mode to compare the two, 
but fail to spot anything obvious too.

I checked the mails in mailing list in the past three months,
don't think it has been mentioned or reported.

Any idea what went wrong?

Regards,
Peter

PS. /dev/pts/1 has a protection:
0 crw--w---- 2 root terminal 6, 1 Oct 15 11:13 /dev/pts/1
============================================================================
=====
Oct 15 09:50:29 hail sshd[198695]: Accepted password for root from
::ffff:10.nnn.nnn.128 port 2162 ssh2
Oct 15 09:50:29 hail sshd[198691]: ROOT login on /dev/pts/1
Oct 15 09:58:23 hail sshd[198776]: Accepted password for pcmc from
::ffff:10.nnn.nnn.132 port 2519 ssh2
Oct 15 09:58:23 hail sshd[198785]: subsystem request for sftp
Oct 15 09:58:23 hail sshd[198782]: cannot set login uid 25010: error Not
owner.
Oct 15 09:58:23 hail sshd[198782]: audgen(LOGIN): Permission denied
Oct 15 09:58:23 hail sshd[198782]: fatal: Couldn't establish session for
pcmc from hail.xxxx.xx.xx.uk
Oct 15 09:59:21 hail sshd[198793]: Accepted password for pcmc from
::ffff:10.nnn.nnn.132 port 2520 ssh2
Oct 15 09:59:21 hail sshd[198794]: cannot set login uid 25010: error Not
owner.
Oct 15 09:59:21 hail sshd[198794]: audgen(LOGIN): Permission denied
Oct 15 09:59:21 hail sshd[198794]: fatal: Couldn't establish session for
pcmc from hail.xxxx.xx.xx.uk
Oct 15 09:59:21 hail sshd[198793]: error: chown /dev/pts/1 0 0 failed: Bad
file number
Oct 15 09:59:21 hail sshd[198793]: error: chmod /dev/pts/1 0666 failed: Bad
file number
Oct 15 10:07:20 hail sshd[198842]: Accepted password for pcmc from
::ffff:10.nnn.nnn.132 port 2524 ssh2
Oct 15 10:07:20 hail sshd[198847]: cannot set login uid 25010: error Not
owner.
Oct 15 10:07:20 hail sshd[198847]: audgen(LOGIN): Permission denied
Oct 15 10:07:20 hail sshd[198847]: fatal: Couldn't establish session for
pcmc from hail.xxxx.xx.xx.uk
Oct 15 10:10:52 hail sshd[198870]: Accepted password for pcmc from
::ffff:10.nnn.nnn.132 port 2527 ssh2
Oct 15 10:10:52 hail sshd[198875]: cannot set login uid 25010: error Not
owner.
Oct 15 10:10:52 hail sshd[198875]: audgen(LOGIN): Permission denied
Oct 15 10:10:52 hail sshd[198875]: fatal: Couldn't establish session for
pcmc from hail.xxxx.xx.xx.uk
Oct 15 10:14:28 hail sshd[23967]: Received SIGHUP; restarting.



More information about the openssh-unix-dev mailing list