- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Bad UID ??
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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-24-2008 01:00 PM
тАО10-24-2008 01:00 PM
Bad UID ??
Checked the /etc/shadow file and it didn't show as locked. but I ran the usermod -U command on the ID anyway just in case I was missing something...
I then changed the password but user still couldn't log in..... Access denied when entering password.
I then did a userdel and readded with useradd and all was ok with the new UID that was created.... If I tried to change back to uid 500 they couldn't log in....
Any idea what could hag the UID ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2008 04:28 PM
тАО10-24-2008 04:28 PM
Re: Bad UID ??
Maybe a PAM restriction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2008 06:35 PM
тАО10-24-2008 06:35 PM
Re: Bad UID ??
This ID that had the UID was working and today just stopped...
They enter there ID when logging in, and fails with access denied ....
I did a userdel, and re-added with a different UID and it worked, I changed the UID tothe old 500 UID and login fails again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2008 10:08 PM
тАО10-24-2008 10:08 PM
Re: Bad UID ??
auth requisite pam_succeed_if.so uid >= 500 quiet
Were that '=' sign missing from ">= 500", I'd expect it to behave as you're describing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2008 04:43 AM
тАО10-25-2008 04:43 AM
Re: Bad UID ??
YYYY-MM-DD.
Also see the chage command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2008 09:14 AM
тАО10-25-2008 09:14 AM
Re: Bad UID ??
account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
I tried usermod -U user, tried usermod -e 2010-10-25 user and still can't login with the user id...
As soon as I change the UID to another unused number, I can log in with the user ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2008 09:34 AM
тАО10-25-2008 09:34 AM
Re: Bad UID ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2008 09:35 AM
тАО10-25-2008 09:35 AM