Skip to ContentSkip to Footer
Start of content
System Administration
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2009 02:52 AM
10-12-2009 02:52 AM
PAM error
In ARM processor, we have installed Linux-PAM-1.0.0 version and user has been
created .we are able to login through command prompt successfuly. But when we
try to login through web it is giving following error
pam_unix(passwd:auth): user's record unavailable
pam_unix(passwd:auth): check pass; user unknown
pam_unix(passwd:auth): authentication failure; logname= uid=0 euid=0 tty=
ruser= rhost=
How can we solve this problem ?
created .we are able to login through command prompt successfuly. But when we
try to login through web it is giving following error
pam_unix(passwd:auth): user's record unavailable
pam_unix(passwd:auth): check pass; user unknown
pam_unix(passwd:auth): authentication failure; logname= uid=0 euid=0 tty=
ruser= rhost=
How can we solve this problem ?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2009 07:07 AM
10-12-2009 07:07 AM
Re: PAM error
> [...] try to login through web [...]
What does that mean? As usual, showing
actual commands with their actual output can
be more helpful than vague descriptions or
interpretations.
> pam_unix(passwd:auth): user's record unavailable
> pam_unix(passwd:auth): check pass; user unknown
Sounds as if the user name is not valid.
What is it?
What does that mean? As usual, showing
actual commands with their actual output can
be more helpful than vague descriptions or
interpretations.
> pam_unix(passwd:auth): user's record unavailable
> pam_unix(passwd:auth): check pass; user unknown
Sounds as if the user name is not valid.
What is it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2009 09:22 PM
10-12-2009 09:22 PM
Re: PAM error
This usually happens because the program that accepts the login from the web is not PAM aware, or the module has not been added to the "/etc/pam.conf" or "/etc/pam.d/module" depending on your distro.
Here is an example from an AIX box (no Linux to hand), but the principle is the same
sshd account required pam_aix debug
su account sufficient pam_allowroot
telnet account required pam_aix
OTHER password required pam_prohibit
sshd password required pam_aix use_new_state try_first_pass
telnet password required pam_aix
OTHER password required pam_prohibit
sshd session required pam_aix
sshd session required pam_mkuserhome
telnet session required pam_aix
OTHER password required pam_prohibit
In this example PAM can handle requests from both telnet and SSH, and disallows everything else. What you could try is changing the default "prohibit" to "allow" which would mean PAM would automatically allow everything.
The other place to look is your "auth" log files. You can find this file by looking in "/etc/syslog.conf". Where possible set the PAM modules to the highest debug level possible and see which error messages you get.
Here is an example from an AIX box (no Linux to hand), but the principle is the same
sshd account required pam_aix debug
su account sufficient pam_allowroot
telnet account required pam_aix
OTHER password required pam_prohibit
sshd password required pam_aix use_new_state try_first_pass
telnet password required pam_aix
OTHER password required pam_prohibit
sshd session required pam_aix
sshd session required pam_mkuserhome
telnet session required pam_aix
OTHER password required pam_prohibit
In this example PAM can handle requests from both telnet and SSH, and disallows everything else. What you could try is changing the default "prohibit" to "allow" which would mean PAM would automatically allow everything.
The other place to look is your "auth" log files. You can find this file by looking in "/etc/syslog.conf". Where possible set the PAM modules to the highest debug level possible and see which error messages you get.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP