Operating System - HP-UX
1821870 Members
3311 Online
109638 Solutions
New Discussion юеВ

Re: Access denied while login

 
SOLVED
Go to solution
zsujith
Frequent Advisor

Access denied while login

Hi,

After issuing password during my userid login i get "Access denied" message. But other users login work fine. I checcked the directory permission of home etc. Everything looks fine.
Also deleted and created user id again. But the problem persists.

Waiting for your replies.

Regards
"The most wasted day is that in which we have not laughed."
9 REPLIES 9
Aashique
Honored Contributor

Re: Access denied while login

Hi,
grep username /etc/passwd

Please paste here.
check the user .profile.

Thanks & Regards

Aashique
OFC_EDM
Respected Contributor

Re: Access denied while login

Do you have invalid characters in your password?

Are you logging in from a console or an ssh session?

The Devil is in the detail.
YAQUB_1
Respected Contributor

Re: Access denied while login

Hi Sujith,

When U try to logging in Ur user ID that time Ur facing "Access Denied"

Ur using as a root user ID or other user ID
Can U put full error syntax....

Thanks--Yaqub

zsujith
Frequent Advisor

Re: Access denied while login

Hi All,

Find the password entry. It is not a root user, it is a normal user.

xxxxxxx:ULGnX71hG/CxQ:110:20::/home/xxxxxxx:/usr/bin/ksh

When i try to do ssh from a server it gives the below error.

xxxxxxx@aaaaaaa's password:
Permission denied, please try again.

and when i try to login from Putty through it gives "Access Denied" error

xxxxxxx@aaaaaaa's password:
Access denied
xxxxxxx@aaaaaaa's password:

Waiting for your replies.

Regards
"The most wasted day is that in which we have not laughed."
Ivan Krastev
Honored Contributor
Solution

Re: Access denied while login

Login as root and check /var/adm/syslog/syslog.log file.

regards,
ivan
Sp4admin
Trusted Contributor

Re: Access denied while login

Hi,

Can you do a "getprpw -r -m lockout userid"? Does it return all zero's? If it doesn't then the account could be locked.

sp,

ronlevyca
Frequent Advisor

Re: Access denied while login

And make sure the path to your ksh shell is both correct, and in the /etc/shells file. If you are the only one on the machine using ksh, it might not be.
zsujith
Frequent Advisor

Re: Access denied while login

Thanks for your replies. I checked in syslog and found that the userid need to be added in AllowUsers variable in sshd config file.

Regards
"The most wasted day is that in which we have not laughed."
OFC_EDM
Respected Contributor

Re: Access denied while login

zsujith..don't forget

http://www11.itrc.hp.com/service/help/forums.do#34

How many points should I assign to replies?
Every response to your question is eligible to earn between 1-10 points. No need to worry about running out of points - when a truly awesome reply rolls in that deserves a 10, you will be able to assign it a 10! However, be careful to assign points based on the value that a reply truly provides. Use the following scale as a guideline:



o N/A: The answer was simply a point of clarification to my original question

o 1-3: The answer didn't really help answer my question, but thanks for your assistance!

o 4- 7: The answer helped with a portion of my question, but I still need some additional help!

o 8-10: The answer has solved my problem completely! Now I'm a happy camper!


Although assigning points is not mandatory, it is a key component of a strong, interactive community, and it is STRONGLY ENCOURAGED. Others have taken time to help you, so please take a moment to give them credit for their assistance!
The Devil is in the detail.