Bug 170750
| Summary: | Home dir permissions not consistent | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Need Real Name <lsof> |
| Component: | system-config-users | Assignee: | Peter Vrabec <pvrabec> |
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | mitr, n0dalus+redhat, nphilipp |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-03-07 15:38:44 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
Need Real Name
2005-10-14 12:39:27 UTC
Reproducable in devel on 13th Jan 2006. system-config-users-1.2.41-1.1 shadow-utils-4.0.14-1 This will have to wait until after FC5 is out as s-c-users uses libuser which uses /etc/libuser.conf (and not /etc/login.defs) which doesn't provide means to set the home directory mode. libuser currently hardcodes mode 0700. I personally consider the default permissions of 0750 on home directories created by adduser a security issue (if not in the application, at minimum in the default configuration); useradd did use 0700 in the past (using an RH patch to the default configuration, IIRC), why was it changed? #160644 doesn't really explain anything, neither does the lack of an upstream answer in the thread at #160644c2; security should trump upstream defaults IMHO. I must have overlooked some important reason for the status quo... As I recall, firstboot is now using luseradd to add users only because luseradd uses mode 0700. off-topic, but you'd probably be horrified to see what debian does: world readable /home/username AND /root/. ugh. Finally, I changed shadow-utils to use mode 0700 by default. shadow-utils-4.0.14-3 |