Eskimo North

Eskimo North Community - Register It's Free!
It is currently Sat May 18, 2013 11:26 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to Change Shells
PostPosted: Sun Aug 19, 2007 9:36 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 30, 2006 4:25 am
Posts: 239
Location: Shoreline, WA
When a shell account is initially created on Eskimo North, it goes into a menu system.

Those wishing to login directly to a Unix shell can do so by doing the following:

1) From within the menu system type '!' which will escape the menu system into a Bourne shell.

2) From the Bourne Shell prompt type 'chsh' followed by a carriage return or [ENTER].

3) When prompted for the path of shell you want to use, enter one of the following:

/bin/sh Bourne Shell (used on old System V and System 7 Unix)
/bin/ksh Korn Shell (used on newer System V Unix)
/bin/bash Bash (used on Linux)
/bin/csh C Shell (used on older BSD Systems)
/bin/tcsh Total C Shell (used on newer BSD Systems)
/bin/zsh Z Shell (used by those who want to use it).

If for some reason you want to change your login so that it goes into the menu system again, then use 'chsh' again and specify /usr/local/esh as the shell.


Top
 Profile  
 
 Post subject: Re: How to Change Shells
PostPosted: Mon Aug 20, 2007 5:28 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 30, 2006 2:52 pm
Posts: 15
Location: The Igloo
If you change default shells, you can also get to the menu temporarily from a direct shell (without swapping defaults) with the command:

Code:
/usr/local/esh -w


The usual menu-exiting command "ty" ("T"erminate, "Y"es) will then return you to the shell you called it from.

_________________
~ Eric -- "Metaphors be with you."
Sysadmin. n. A system administrator. "When something happens, drink as much as necessary."
(Mmm, tea...)


Top
 Profile  
 
 Post subject: Re: How to Change Shells
PostPosted: Mon Aug 20, 2007 6:55 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 30, 2006 4:25 am
Posts: 239
Location: Shoreline, WA
Be aware thought that if invoked this way, it will alter your tty settings and not restore them upon exit. Depending upon whether your tty settings differ significantly from it's default, this may or may not be significant.


Top
 Profile  
 
 Post subject: Re: How to Change Shells
PostPosted: Thu Jan 22, 2009 1:23 pm 
Offline

Joined: Wed Nov 15, 2006 6:09 pm
Posts: 10
Location: Oregon
This procedure no longer works on the new shell.eskimo.com server. Here's what I get:

-esh-3.1$ ypchsh
Changing NIS account information for jmtt on eskimo.
Please enter password:

Changing login shell for jmtt on eskimo.
To accept the default, simply press return. To use the
system's default shell, type the word "none".
Login shell [/usr/local/esh]: /bin/bash
RPC: Authentication error
The login shell has not been changed on eskimo.


Top
 Profile  
 
 Post subject: Re: How to Change Shells
PostPosted: Thu Jan 22, 2009 9:25 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 30, 2006 4:25 am
Posts: 239
Location: Shoreline, WA
For now you'll need to login to the old shell server to change shells; it is the NIS master at present. At some point when I'm ready to turn down the old SunOS box, and that's going to require finding something that will emulate SunOS to run some applications I do not have source for; then one of the new shell servers will be made into the NIS master. There is a protocol that would allow changing the password from an NIS slave but it has security issues and is disabled for that reason.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group