- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: PAM error
Operating System - Linux
1753666
Members
6154
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- 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
- 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
- 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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP