bugSavane - Bugs: bug #431, users accounts uid

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #431: users accounts uid

Submitted by:  Mathieu Roy <yeupou>
Submitted on:  Fri 18 Jun 2004 12:41:54 PM UTC  
 
Category: BackendStatus: Fixed
Severity: 3 - NormalPriority: C - Normal
Assigned to: Mathieu Roy <yeupou>Open/Closed: Closed
Release: Planned Release: 1.0.3
Reproducibility: NonePrivacy: Public

Sat 26 Jun 2004 08:32:31 AM UTC, comment #1:

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.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Fri 18 Jun 2004 12:41:54 PM UTC, 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.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by yeupou (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Jun 2004 09:37:18 AM UTCyeupouStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup