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

/**************************************************************************/
[bugs #431] Latest Modifications:

Changes by: 
                Mathieu Roy <[EMAIL PROTECTED]>
'Date: 
                sam 26.06.2004 à 11:37 (Europe/Paris)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed







/**************************************************************************/
[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:  Fixed
Assigned to:  yeupou
Status:  Closed
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.



Commentaires :
------------------


-------------------------------------------------------
Date: sam 26.06.2004 à 10:32        By: Mathieu Roy <yeupou>
In fact, for gna! i'll do something even simpler: remove all the users account, 
let the backend recreate them, but also chown nobody each files in the donwload 
/ ftp area, make sure they are assigned to the right group and make sure all 
the files are group writable.












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