View Single Post
  #7  
Old 12th October 2005, 16:59
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default Your not alone

I had the same thing happen. I manually setup a user, which was created as "UID 10012". Then ISPConfig created a user with the same UID... so I had duplicates in my /etc/passwd.

I simply just manually editted /etc/passwd with 'vi' to change my *manually* added user's UID/GUID's to 512. I then had to go to this user's home directory and chown the files to change the ownership UID:GUID to the new number.

# chown -R username:groupname /home/username_dir

The '-R' changes all files/folders recursively... so be aware that there are certain files that may be owned by root in the user's dir... like:

-rw-r--r-- 1 root root 544 Oct 11 08:33 .antivirus.rc
-rw-r--r-- 1 root root 742 Oct 11 08:33 .autoresponder.rc
-rw-r--r-- 1 root root 22 Oct 11 08:33 .bounce-exceed-quota.txt
-rw-r--r-- 1 root root 67K Oct 11 08:33 .html-trap.rc
-rw-r--r-- 1 root root 3.8K Oct 11 08:33 .local-rules.rc
-rw-r--r-- 1 root root 180 Oct 11 08:33 .mailsize.rc
-rw-r--r-- 1 root root 321 Oct 11 09:07 .procmailrc
-rw-r--r-- 1 root root 2.6K Oct 11 08:35 .quota.rc
-rw-r--r-- 1 root root 1.2K Oct 11 08:35 .spamassassin.rc
-rw-r--r-- 1 root root 1.6K Oct 11 08:33 .user_prefs
-rw-r--r-- 1 root root 0 Oct 11 08:33 .vacation.cache
-rw-r--r-- 1 root root 0 Oct 11 08:33 .vacation.msg

thanx.
Reply With Quote