On Sunday, Feb 9, 2003, at 15:03 US/Pacific, Volker Blum wrote:
Dear Fink Beginners,This information is kept in the local netinfo database (unless you're in a more complex directory services environment).
having just installed fink + several packages (including XFree86) on my shiny
new PowerBook, I am puzzled by the following question:
In which of (OS X's) configuration files / menus do I change my default login
shell (from tcsh to bash)?
Points to note:
- Changing the default in the OS X terminal obviously works for terminal.app.
However, my xterms still happily start up tcsh.
- /etc/passwd is not the answer, correct?
That's correct.
I have searched the net for an answer for some time, but couldn't find one.I can't comment on (a) :-}. It's not hardwired; and many use 'bash' as their default shell; and I'm sure others use any of the variety of shells available.
My conclusions:
(a) It's really trivial and I am blind. Likely the answer, and I would be
most happy for an eye-opener.
(b) It is not trivial because it's hardwired somewhere. Seems unlikely to me.
(c) It is extremely unadvisable to use anything but tcsh on OS X [e.g., an
unwanted interaction between the kernel and .bashrc automatically auctions
off my car on eBay, for $0.50], and I am unaware of that.
You want to change the information in 'netinfo', which you can do a variety of ways.In either case, I would be most grateful for a short hint.
I've seen claims on these lists that 'chsh' works, but I've never been able to get that to happen.
I use either 'nicl' (command line) or 'NetInfo Manager', depending on my mood.
For 'nicl', I do
$ sudo nicl /
cd users/mylogin
delete . shell
create . shell /bin/bash
(I've not shown the 'nicl' prompts here; the prompt is your current "directory" within the netinfo hierarchy).
In 'NetInfo Manager', click the lock icon to authenticate, then select 'users', then your account. In the bottom pane, you should see a list of name/value pairs. Double click on the *value* for 'shell', and enter the shell of your choosing. Then save.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners
