>I don't know if this bug has ben discussed before but i found it by chance the day before...so her
e it goes:
>Let's say u have two accounts in one system which is running sun 4.x .
>You login with the first one and then you do this: /bin/login -p (the second account).
>it asks for the pass,u give it you login and you exit.
>The result is that the first account becomes invisible and the second one is stck doing nothing an
d u are in with the first one..
[ try keeping your lines to 70 or so cols ]
Yep, that's why Solaris 2.x login will complain "no utmpx entry, must login
from the lowest shell level" or some such.
A simple fix for SunOS 4.x is:
chmod u-s /bin/login
(Let people use rlogin/su if they want to use another account temporarily)
Casper
Received on May 16 1996