Operating System - HP-UX
1836625 Members
1832 Online
110102 Solutions
New Discussion

Re: Unable to connect as a user

 
SOLVED
Go to solution
Grayh
Trusted Contributor

Unable to connect as a user

Hi All,

I am able to log on to the server as root but when a user is trying to log in... he cant and stops at the following point....

login: Derik
Password:
Last successful login: Tue Sep 23 11:07:11 EDT 2008 10.3.89.144
Please wait...checking for disk quotas
14 REPLIES 14
Grayh
Trusted Contributor

Re: Unable to connect as a user

After I have issued the following command to stop disk quota checking ..It hangs/stops at the following point

chmod ugo-x /usr/bin/quota /usr/sbin/edquota


login: Mohan
Password:
Last successful login: Wed Sep 24 12:59:36 EDT 2008 10.3.89.144




Jeeshan
Honored Contributor
Solution

Re: Unable to connect as a user

check the user quota as well as the all users home directory's space.

may be the space is full.
a warrior never quits
Grayh
Trusted Contributor

Re: Unable to connect as a user

I now inserted set -x in /etc/profile and now the login looked like this

login: Derik
Password:
Last successful login: Wed Sep 24 13:03:38 EDT 2008 10.3.89.144
+ trap 1 2 3
+ PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin
+ MANPATH=/usr/share/man:/usr/contrib/man:/usr/local/man
+ [ ! -d /usr/sbin ]
+ [ -r /etc/PATH ]
+ grep -q -e ^/usr/bin$ -e ^/usr/bin: -e :/usr/bin: -e :/usr/bin$ /etc/PATH





Grayh
Trusted Contributor

Re: Unable to connect as a user

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 309016 733792 30% /
/dev/vg00/lvol1 1835008 324440 1498848 18% /stand
/dev/vg00/lvol8 8912896 1076552 7775208 12% /var
/dev/vg00/lvol7 4456448 2930272 1514272 66% /usr
/dev/vg00/lvol4 524288 26936 493472 5% /tmp
/dev/vg00/lvol6 7405568 5092696 2294832 69% /opt
/dev/vg00/lvol5 131072 5856 124240 5% /home
DevFS 9 9 0 100% /dev/deviceFileSystem
10.5.85.6:/hp 24753136 21625752 3127384 87% /hp
/dev/vg01/oracle 104857600 42781 98263900 0% /Oracle
Grayh
Trusted Contributor

Re: Unable to connect as a user

found the following entries in syslog.log


Sep 24 09:38:12 HP ftpd[26260]: Data port : 20
Sep 24 09:38:12 HP ftpd[26260]: FTP server (Revision 3.0 Version wuftpd-2.6.
1 Wed Dec 19 08:45:38 GMT 2007) ready.
Sep 24 09:38:17 HP ftpd[26260]: FTP session closed
Sep 24 09:53:11 HP sshd[26541]: Invalid user derik from 10.3.89.81
Sep 24 09:53:11 HP sshd[26541]: Failed none for invalid user derik from 10.
3.89.81 port 1982 ssh2
Sep 24 09:53:18 HP sshd[26541]: error: PAM: No account present for user for
illegal user derik from 10.3.89.81
Sep 24 09:53:18 HP sshd[26541]: Failed keyboard-interactive/pam for invalid
user derik from 10.3.89.81 port 1982 ssh2
from 10.3.89.81 port 1986 ssh2
Sep 24 09:53:27 HP sshd[26541]: error: PAM: No account present for user for
illegal user derik from 10.3.89.81
Sep 24 09:53:27 HP sshd[26541]: Failed keyboard-interactive/pam for invalid
user derik from 10.3.89.81 port 1982 ssh2
Sep 24 09:55:18 HP sshd[26608]: Accepted keyboard-interactive/pam for oracle
from 10.3.89.81 port 1997 ssh2
Sep 24 10:40:16 HP sshd[27491]: Accepted keyboard-interactive/pam for root f
rom 10.3.89.110 port 2891 ssh2
Sep 24 10:40:26 HP sshd[27516]: Accepted keyboard-interactive/pam for oracle
from 10.3.89.110 port 2893 ssh2
Sep 24 10:41:02 HP sshd[27522]: Accepted keyboard-interactive/pam for gcamer
on from 10.3.89.110 port 2899 ssh2
Sep 24 12:40:06 HP telnetd[29843]: getpid: peer died: Error 0
Sep 24 12:41:18 HP sshd[29859]: Bad protocol version identification '\377\37
3\037\377\373 \377\373\030\377\373'\377\375\001\377\373\003\377\375\003' from 10
.3.89.81
Sep 24 12:56:48 HP su: + te root-oracle
Sep 24 13:09:59 HP telnetd[421]: Error checking child termination status: er
ror 4: Interrupted system call
Sep 24 13:11:28 HP telnetd[591]: Error checking child termination status: er
ror 4: Interrupted system call
Sep 24 13:14:30 HP telnetd[644]: Error checking child termination status: er
ror 4: Interrupted system call

Grayh
Trusted Contributor

Re: Unable to connect as a user

looks like no one had this error till now..

Grayh
Trusted Contributor

Re: Unable to connect as a user

why is it that no one is responding....

I was giving everyone points...
Suraj K Sankari
Honored Contributor

Re: Unable to connect as a user

Hi Gravh,

I think quota is enabled on your system, check with this commands change the size of quota for the user Derik.

R u facing the same problem with others user in the system ?

#show quota
#quota -v Derik

Suraj
Dennis Handly
Acclaimed Contributor

Re: Unable to connect as a user

What is the shell for that user?
Is the home directory on an NFS mount? Such that ksh is hanging trying to write the history file, $HISTFILE?

I assume if you do "su - user" it also hangs?
You might try without the "-" and see if you can do a grep on /etc/PATH?
Grayh
Trusted Contributor

Re: Unable to connect as a user

When compared... with the one's in client The Mac addresses that I have given on the server I have are different from the ones I have on the client

For ex: 0x00215af8a67c for the client as entered in /etc/bootptab file on server looks like Mac(001F29F280F4) on the client
Torsten.
Acclaimed Contributor

Re: Unable to connect as a user

Well, I think you have a problem with too many open threads here on ITRC ...


Wrong thread?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: Unable to connect as a user

Hi,

check if user exists at the server, check if home dir exists at server.
You're logging in from a Mac?

Volkmar
*** Say 'Thanks' with Kudos ***
OldSchool
Honored Contributor

Re: Unable to connect as a user

"
Sep 24 09:53:11 HP sshd[26541]: Invalid user derik from 10.3.89.81
Sep 24 09:53:11 HP sshd[26541]: Failed none for invalid user derik from 10.
3.89.81 port 1982 ssh2
Sep 24 09:53:18 HP sshd[26541]: error: PAM: No account present for user for
illegal user derik from 10.3.89.81
Sep 24 09:53:18 HP sshd[26541]: Failed keyboard-interactive/pam for invalid
user derik from 10.3.89.81 port 1982 ssh2
from 10.3.89.81 port 1986 ssh2
Sep 24 09:53:27 HP sshd[26541]: error: PAM: No account present for user for
illegal user derik from 10.3.89.81
Sep 24 09:53:27 HP sshd[26541]: Failed keyboard-interactive/pam for invalid
user derik from 10.3.89.81 port 1982 ssh2
Sep 24 09:55:18 HP sshd[26608]: Accepted keyboard-interactive/pam for oracle
from 10.3.89.81 port 1997 ssh2
Sep 24 10:40:16 HP sshd[27491]: Accepted keyboard-interactive/pam for root f
rom 10.3.89.110 port 2891 ssh2
"

let me guess some more.....you've set up "Derik" in UNIX, and they are logging in at a windows box perhaps???

note the messages regarding "derik" above...
try changing the account name on UNIX to "derik" and see what happens....

Grayh
Trusted Contributor

Re: Unable to connect as a user

thank u