This mail is an automated notification from the bugs tracker
 of the project: Savane.




/**************************************************************************/
[bugs #431] Full Item Snapshot:

URL: <http://gna.org/bugs/?func=detailitem&item_id=431>
Project: Savane
Submitted by: Mathieu Roy
On: ven 18.06.2004 à 14:41

Category:  Backend
Severity:  3 - Average
Priority:  C - Normal
Resolution:  None
Assigned to:  yeupou
Status:  Open
Release:  
Planned Release:  1.0.3


Summary:  users accounts uid

Original Submission:  Users accounts currently are created with an uid = uidmax 
+ 1. On Debian system, nobody gets 65534. It means that we start from 65535. 



While it is perfectly right to avoid uid < 1000, reserved or system accounts, I 
think we should avoid getting to 65534. It means that we maybe should ignore 
65534 if == nobody (we cannot be sure it is, so we must test it), and maybe set 
a minimal uid to 5000.



We can make these changes in the backend without any consequences to existing 
installation. However, I'd like Gna! to directly follow this new behavior, to 
avoid running into strange trouble at a later point. For this reason I'll 
probably do a simple script that: save in a specific file the content of 
/etc/passwd for users with uid < nobody, remove all the users accounts, let the 
backend recreate them and finally will look for any file belonging to someone 
in the saved /etc/password and will do a chown. 



I noticed that the group creation process do not pay attention to the nogroup 
gid, and does not respect a decent minimal gid. Exactly the same should be done.













For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=431>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Reply via email to