Please PLEASE tell me you don't have only one user who is now *not* an admin user!!!
I looked more carefully here, and saw that logging in under the new name created a new home directory.
Made a new user called testo. (who is an admin user)
Logged in as testo, changed every instance of testo to toodles, including the user directory.
logged off and logged back in as testo who is now shown as toodles.
this is what an ls -l of /Users looks like now:
[comproomg3:/Users] helpdesk% ls -l total 0 drwxrwx--- 4 root admin 136 Jun 27 10:17 Deleted Users drwxrwxrwt 3 root wheel 102 Jul 13 2002 Shared drwxr-xr-x 19 brucejoh staff 646 Sep 12 14:38 brucejohnson drwxr-xr-x 29 helpdesk staff 986 Oct 8 10:19 helpdesk drwxr-xr-x 14 toodles staff 476 Oct 9 13:10 testo drwx------ 6 toodles wheel 204 Oct 9 13:10 toodles
Toodles is supposed to be in the 'staff' group, but his new home directory is in the wheel group. Not good.
The re-login did not fix the sudoers thing, either. A quick glance at the Users control panel shows that toodles is now not allowed to administer this computer. YIPES!
Clicking on the lock, entering a valid admins username and password allows me to edit toodles, and upon entering toodles current password I can make toodles an admin.
Now toodles can remove his newly created home directory, the toodles:wheel one, sudo 'mv testo toodles' works and my /Users directory now looks like:
drwxrwx--- 4 root admin 136 Jun 27 10:17 Deleted Users drwxrwxrwt 3 root wheel 102 Jul 13 2002 Shared drwxr-xr-x 19 brucejoh staff 646 Sep 12 14:38 brucejohnson drwxr-xr-x 29 helpdesk staff 986 Oct 8 10:19 helpdesk drwxr-xr-x 14 toodles staff 476 Oct 9 13:10 toodles
Whew!
now the complete procedure for renaming a user:
Step 1: Create a new admin user, call it whatever you want but *only* use it to do things like this, and never delete it!!!
Step 2: Log in as an admin user.
*NOT* the user you want to change unless you've done step 1!!!!Step 3: Fire up netinfo manager, authenticate to change.
find the user to change.
Change every instance of the old name to the new name.
Click on the lock again to save changes
Step 4: Fire up the Users preference pane.
Edit the 'new' user to be an admin
(if desired...if the old user was an admin, the new user has to be chosen again.)
Step 5: fire up terminal
cd /Users
sudo mv <old directory name> <new directory name>
IOW, pretty much what I said (and this is how I've done it in the past, but I followed rule 1), it just gets really tricky when you do this to the user who's logged in, and I'm not sure right at this moment what to do if you've ended up with no admin users.
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
-- G-List is sponsored by <http://lowendmac.com/> and...
Small Dog Electronics http://www.smalldog.com | Refurbished Drives | -- We have Apple Refurbished Monitors in stock! | & CDRWs on Sale! |
Support Low End Mac <http://lowendmac.com/lists/support.html>
G-List list info: <http://lowendmac.com/lists/g-list.shtml> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>
Using a Mac? Free email & more at Applelinks! http://www.applelinks.com
