Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 89758
Summary: | redhat-config-users expires user when changing shell | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Stefan Lasiewski <flarg> |
Component: | redhat-config-users | Assignee: | Brent Fox <bfox> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 18:52:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stefan Lasiewski
2003-04-27 18:42:56 UTC
Correction:
>9. Type 'login'
>10. Window flashes a message real quick and closes window.
Should be:
9. Hit 'Ctrl-Alt-F2' to switch to new terminal window
10. Log in as 'root' with the correct passwd.
Ok, I managed to restore root's expiration information. If I change root's entry in /etc/passwd to this, I can log in as root again: root:blah:12158::99999:::: Reproducibility:
- I can reproduce this every time.
- I can reproduce this with every user.
By default, redhat-config-users sets the config information to some really bad
values.
Here is the shadow entry before I used redhat-config-users. This is a brand new
user that I created 40 minutes ago with redhat-config-users. Every setting was
set to the default setting:
rosie:asdasd:12169::99999::::
After I used redhat-config-users:
rosie:asdasd:12169:0:0:7:0::
Here are some more steps to reproduce:
1. Open redhat-config-users
2. Uncheck "Preferences: Filter System Users and Groups"
3. Select any user
4. Click on "Properties" button
5. Click on "Password Info" tab
6. The default settings are as follows. I did not change anything:
- User last changed password on: Sat Apr 26 2003
(This is when I installed this new RedHat9 system.
- Enable password expiration is CHECKED
- Days before change allowed: 0
- Days before change required: 0
- Days warning before change: 7
- Days before account inactive: 0
7. Hit "Ok"
8. Close redhat-config-users
9. Verify the differences between 'shadow' and 'shadow-':
[root@host etc]# ls -l shadow shadow-
-r-------- 1 root root 991 Apr 27 12:05 shadow
-r-------- 1 root root 992 Apr 27 12:05 shadow-
[root@host etc]# diff shadow shadow-
32c32
< rosie:123123:12169:0:0:7:0::
---
> rosie:123123:12169::99999::::
This is a duplicate of bug #88190. I'll post more information there. *** This bug has been marked as a duplicate of 88190 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |