[wplug] ssh and shell in Mac OS X

squeegy-wplug at squeegy.org squeegy-wplug at squeegy.org
Wed Nov 6 16:31:47 EST 2002


you can't edit the etc/passwd file for users on mac os x. you need to use netinfo manager in the utilities directory in applications

> hello,
> 
> Sorry but this is not a Linux specific question but pertains to the Unix
> structure of the Macintosh OS X system.
> 
> I can ssh into my Mac machine but it provides me with the default tcsh
> shell. I want to use bash. I solved (cumbersome at best) this by putting
> "bash --login" in my ~/.tcshrc file. I thought about altering
> /etc/passwd to specify my shell (bash) but I'm not sure how it works on
> the Mac. My username is "lupey" but that account does not appear in
> /etc/passwd:
> 
> nobody:*:-2:-2:Unprivileged User:/nohome:/noshell
> root:*:0:0:System Administrator:/var/root:/bin/tcsh
> daemon:*:1:1:System Services:/var/root:/noshell
> smmsp:*:25:25:Sendmail User:/private/etc/mail:/noshell
> www:*:70:70:World Wide Web Server:/Library/WebServer:/noshell
> mysql:*:74:74:MySQL Server:/nohome:/noshell
> sshd:*:75:75:sshd Privilege separation:/var/empty:/noshell
> unknown:*:99:99:Unknown User:/nohome:/noshell
> 
> Can I manually put the user "lupey" into /etc/passwd? How else can I
> tell sshd to provide me with a bash shell at login?
> 
> Thank you for your help,
> 
> Paul
> University of Pittsburgh
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 

-- 


___________________

Jt Chiodi

http://www.squeegy.org/
squeegy at squeegy.org




More information about the wplug mailing list