Re: Safe change of uid

2009-05-12 Thread Andrei Popescu
On Mon,11.May.09, 22:27:57, Elmer E. Dow wrote: I usually (rightly or wrongly) vim /etc/passwd, then find / -uid 500 -exec chmod 1000 {} \; and maybe the same if I have to change the gid. Let me see if I understand this correctly. Here's what it appears to me that I should do. First

Re: Safe change of uid

2009-05-12 Thread Alex Samad
On Tue, May 12, 2009 at 10:12:59AM +0300, Andrei Popescu wrote: On Mon,11.May.09, 22:27:57, Elmer E. Dow wrote: I usually (rightly or wrongly) vim /etc/passwd, then find / -uid 500 -exec chmod 1000 {} \; and maybe the same if I have to change the gid. Let me see if I understand this

Re: Safe change of uid

2009-05-12 Thread Douglas A. Tutty
On Mon, May 11, 2009 at 05:27:14PM -0500, Elmer E. Dow wrote: Douglas A. Tutty wrote: On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote: Please cc me as I am not currently subscribing to the list. Since you only just created the user, I'd just go ahead and delete it (use: # cd

Re: Safe change of uid

2009-05-12 Thread Elmer Dow
I really did it this time. While looking over all my options carefully, I noted that in the documentation for kuser -- kde's user manager -- there's a line that says delete users at your own risk! That made me a little nervous about deleting a user with any method I chose. So I noticed that I

Re: Safe change of uid

2009-05-12 Thread Elmer E. Dow
I executed deluser --remove-all-files --backup username and it searched for files to remove and backed up three files from the user's home directory -- but it left the user's home directory in place with its contents. The group and user were deleted, so the remaining files have owners of 500

Safe change of uid

2009-05-11 Thread Elmer E. Dow
Just finished a fresh Lenny install and added an account for my daughter -- and kuser assigned it uid 500 instead of 1001, which I must correct. After looking at man pages and archives, I see that kuser in the past has done well creating accounts but not modifying them. Is that still true with

Re: Safe change of uid

2009-05-11 Thread Douglas A. Tutty
On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote: Just finished a fresh Lenny install and added an account for my daughter -- and kuser assigned it uid 500 instead of 1001, which I must correct. After looking at man pages and archives, I see that kuser in the past has done

Re: Safe change of uid

2009-05-11 Thread Elmer E. Dow
Douglas A. Tutty wrote: On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote: Just finished a fresh Lenny install and added an account for my daughter -- and kuser assigned it uid 500 instead of 1001, which I must correct. After looking at man pages and archives, I see that kuser

Re: Safe change of uid

2009-05-11 Thread Roger Leigh
On Mon, May 11, 2009 at 05:27:14PM -0500, Elmer E. Dow wrote: Kuser is the KDE gui that's supposed to take the place of the command line user management. It follows the Red Hat convention of users uid starting at 500 instead of the Debian rule that starts them at 1000. If the program

Re: Safe change of uid

2009-05-11 Thread Alex Samad
On Mon, May 11, 2009 at 05:29:04PM -0400, Douglas A. Tutty wrote: On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote: Just finished a fresh Lenny install and added an account for my daughter -- and kuser assigned it uid 500 instead of 1001, which I must correct. After looking

Re: Safe change of uid

2009-05-11 Thread Elmer E. Dow
Alex Samad wrote: On Mon, May 11, 2009 at 05:29:04PM -0400, Douglas A. Tutty wrote: On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote: Just finished a fresh Lenny install and added an account for my daughter -- and kuser assigned it uid 500 instead of 1001, which I must