[wellylug] Owner and group IDs

E.Chalaron e.chalaron at xtra.co.nz
Fri Dec 16 09:15:34 NZDT 2005


Thanks Andrej

Will make sure that none is below 500... if so I will have to change my policy 
of admin.
BTW what could be a server to manage that ? 

Cheers
E

> You can use usermod -u <ID of choice> <username>
> if the ID isn't taken.  That will modify /etc/passwd
> and the ownerships on /home/<username> ... if the user
> has other files somewhere else you'll have to e.g. use
> find to modify those.
>
> find -uid <old UID> -exec chown <username> {} \;
>
> If it's a system user I'd suggest you don't :)
>
> > Thanks
> > E
>
> Cheers,
> Andrej




More information about the wellylug mailing list