Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: Help with login problems

Subject: Help with login problems

2005-04-28       - By FS

 Back
Reply:     1     2     3     4     5  

Hello all,

I set up a new FC1 machine yesterday and created a user "newuser"
using "adduser newuser" and changed its password.

When I try to ssh to the said account, it doesn't work. The connection
opens, accepts my password and then closes instantly. Trying to "su -
newuser" or "su newuser" result in a "could not open session"
Interestingly enough, FTP does work!

Googling seems to point to permissions problem but I can't figure out
where or what. The /etc/passwd is 644, /etc/group is 644 and
/etc/shadow is 600

Any help/tips appreciated!

More relevant information:

root@(protected) ~$ uname -a
Linux c7504s98.testcompany.com 2.4.22-1.2115.nptl #1 Wed Oct 29
15:42:51 EST 2003 i686 i686 i386 GNU/Linux

SSHD version is "sshd version OpenSSH_3.6.1p2"

My /var/log/messages show these related messages:

Apr 28 17:06:36 c7504s98 su(pam_unix)[4383]: session opened for user
newuser by root(uid=0)
Apr 28 17:06:36 c7504s98 su[4383]: pam_xauth: error determining
invoking user's name
Apr 28 17:07:31 c7504s98 su(pam_unix)[4776]: session opened for user
newuser by root(uid=0)
Apr 28 17:07:31 c7504s98 su[4776]: pam_xauth: error determining
invoking user's name
Apr 28 17:16:34 c7504s98 su(pam_unix)[4820]: session opened for user
newuser by root(uid=0)
Apr 28 17:16:34 c7504s98 su[4820]: pam_xauth: error determining
invoking user's name

The /var/log/secure file shows the following:

Apr 27 15:53:05 c7504s98 sshd[1860]: Accepted password for newuser
from 127.0.0.1 port 32775 ssh2
Apr 27 15:53:05 c7504s98 sshd[1862]: fatal: login_get_lastlog: Cannot
find account for uid 500

Thanks!
Faisal

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list