LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-27-2004, 09:22 AM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
change login shell in mac os x, which file to edit


I try to change my login shell in mac os x, i can't find .profile in my home dir, apple must move things around. Can anyone help me with it?
 
Old 01-27-2004, 09:53 AM   #2
clar77
Member
 
Registered: May 2002
Location: Baltimore,MD
Distribution: RH8.0 FC1/2.6.1 MacOsX 10.3
Posts: 53

Rep: Reputation: 15
so you want to change from bash to something like zsh or tsh?
Go to system prefrerences->accounts and edit your user account, there some where is an option to change the default shell.

Also there's no .bashrc or .bash_profile shell in your home dir by default in OSx as with some linux dists.

How do you like OSx ?
 
Old 01-27-2004, 10:39 AM   #3
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
acutally, i was wondering whether there is a way to do it in command line <-- i am telneting to a os x box, my default is tcsh, i'd like to change it to bash

In my opinion, os x is by far the best os out there, it's stable, powerful and easiest to use (to new computer users in general.) It has full advantage of UNIX, yet it has a basic system structure (Application, System, Library folder) that won't confuse beginners/windows users. For others, you can access the tradiational unix structure via a terminal. On top of everything, apple script can make life even easier --> that's the language that's even easier than vb in my opinion, it's almost pure ENGLISH.

BUT ... (there is always a but to everything, isn't it) it sucks that it only runs on apple hardware and apple will probably never release a windows version like they did with itune. Apple makes very elegant stuff, don't get me wrong, but it's a little pricey for user like me ......

i am used to linux CLI, and spoiled by its nice utilities such as apt, rpm, yast, when i merge to unix, i feel my head is expanding agian <-- like i first did with linux.

Still... i like apple. iPod is awesome, yet i only hope to own one.
 
Old 01-27-2004, 11:12 AM   #4
clar77
Member
 
Registered: May 2002
Location: Baltimore,MD
Distribution: RH8.0 FC1/2.6.1 MacOsX 10.3
Posts: 53

Rep: Reputation: 15
is there a /etc/passwd file ?
do you have root access to the box ?

funny that you're defaulted to tsh, I thought the default was bash.
 
Old 01-28-2004, 11:59 AM   #5
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
i think the dafault for client os x is bash. I was telneting to os x server, so the default might change to tcsh. honestly, i don't know. I checked around and got to know that there is no easy way in command line to change your default shell. Since apple use netinfo to track down everthing, they probably hide the .profile / equevenlent. I don't think change the line in /etc/passwd will change the default shell, do you? there might be multiple places we need to edit.
 
Old 02-28-2004, 06:23 PM   #6
gurman
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
The default shell in Mac OS X 10.2.x and earlier is tcsh; in 10.3.x, it is bash. That's true on both client and server versions.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find and change a specific text in a text file by using shell script Bassam Programming 1 07-18-2005 07:15 PM
Edit in shell with mandrake 10.1 Fredstar Linux - Newbie 3 02-20-2005 05:00 PM
Which file do I edit to change xsession settings for all users Abdul Linux - Software 1 09-12-2004 07:54 PM
can anyone tell me how can i edit the .login file mithinjagani Linux - Newbie 1 01-28-2004 08:11 AM
systemwide bash login shell cleanup file markus1982 Linux - General 2 05-10-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration