[gentoo-user] changing user id

2006-07-21 Thread Arnau Bria
Hi, I'd like to change cyrus id from currently to 120. I tried usermod, but cyrus files didn't change its owner. could someone explain which is the way of changing user id and that user doesn't lose its files? many thanks in advance. -- Arnau Bria http://blog.emergetux.net La vida es una

Re: [gentoo-user] changing user id

2006-07-21 Thread Etaoin Shrdlu
On Friday 21 July 2006 12:02, Arnau Bria wrote: Hi, I'd like to change cyrus id from currently to 120. I tried usermod, but cyrus files didn't change its owner. could someone explain which is the way of changing user id and that user doesn't lose its files? You can use find to chown all

Re: [gentoo-user] changing user id

2006-07-21 Thread Hans-Werner Hilse
Hi, On Fri, 21 Jul 2006 12:02:49 +0200 Arnau Bria [EMAIL PROTECTED] wrote: I'd like to change cyrus id from currently to 120. Why's that? You will at least bork the existing files to a degree that they can't be automatically uninstalled by emerge anymore. I tried usermod, but cyrus files

Re: [gentoo-user] changing user id

2006-07-21 Thread Arnau Bria
On Fri, 21 Jul 2006 12:54:16 +0200 Etaoin Shrdlu wrote: On Friday 21 July 2006 12:02, Arnau Bria wrote: could someone explain which is the way of changing user id and that user doesn't lose its files? You can use find to chown all files owned by the user to the new uid. Untested