Re: Dang .xinitrc
Re: Dang .xinitrc
- Subject: Re: Dang .xinitrc
- From: Eben <email@hidden>
- Date: Sun, 19 Jan 2003 16:53:19 -0500
Particularly on a one user box, make sure you don't loose Admin status.
Change the user's name in NetInfo Manager.
Change the user's home directory:
[mac:~] root# mv /Users/oldname /Users/newname
Change the oldname to the newname in the admin group in /etc/group:
[mac:~] root# vi /etc/group
...
[mac:~] root# grep admin /etc/group
admin:*:80:root,newname
[mac:~] root#
Merge the updated /etc/group into NetInfo Manager:
[mac:~] root# nidump group / | grep admin
admin:*:80:root,oldname
[mac:~] root# niload -m group / < /etc/group
[mac:~] root# nidump group / | grep admin
admin:*:80:root,newname
[mac:~] root#
etc.
If you have already lost Admin status, and haven't set the root
passwd, boot into single user mode and edit /etc/sudoers.
At 06:49 -0800 1/19/03, email@hidden wrote:
Date: Sat, 18 Jan 2003 23:11:40 -0800
Subject: Re: Dang .xinitrc
Cc: email@hidden
To: Alden Stradling <email@hidden>
From: David Mackler <email@hidden>
On Saturday, January 18, 2003, at 09:45 PM, Alden Stradling wrote:
Well, I upgraded to Jaguar, and my PATH has lost all reference to
/sw/bin and all that. I have tried and tried to set up .xinitrc in my
home directory (and modified any other one I can find anywhere) but
nothing does the trick. If it matters, I was on XDarwin and Orboro
with 10.1, and I deleted them after I got Apple's X11. Any ideas what
I can do?
Also, as an unrelated question - now that OSX allows usernames with >8
characters, I want to change my base account's username to match that
of all my other accounts for reasons of obvious convenience. Is there
any way to do that without building a whole new user profile and
setting it all up again?
Tanks,
Alden
Hello Alden,
Check the archives -- there are a lot notes about the changes to tcsh's
startup in jaguar.
As to the user name change, I did just that, but I didn't take notes,
so here is the basics:
Change the user name in NetInfo Manager.
Change the home dir in /Users
Change the personal web sharing file in /etc/httpd/users
Change the keychain name in the user's home dir (the keychain may
invalidate some things on its own)
Clean out /Library/Caches (perhaps others) as the username is embedded
in some caches there.
There may be more, but that's all I can remember offhand.
HTH,
David
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.