[ILUG-BOM] Problem starting GNOME

Philip Tellis philip.tellis@[EMAIL-PROTECTED]
Sun Mar 27 00:02:12 IST 2005


Sometime on Mar 26, Rony Bill assembled some asciibets to say:

> Suppose an existing user 'rony' was removed, and a new user called 'rony' was 
> created, how will the system remove the older 'rony' and allot the existing 
> ~rony directory to the new 'rony' ?

file ownership is on userid/groupid as specified in /etc/passwd.  When 
you delete a user, all file ownerships remain with the user id, but lose 
the link with the user name.  Create a new user with the same name and 
that user gets a new userid (or maybe the same, it doesn't matter). 
chown to the new user and all file ownership changes to the new user

it's a trivial matter to use 'find' to change all files owned by the 
user.

Philip

-- 
printk("HPFS: Grrrr... Kernel memory corrupted ... going on, but
         it'll crash very soon :-(\n");
         2.4.3 linux/fs/hpfs/super.c



More information about the Linuxers mailing list