new shell unacceptable

new shell unacceptable

Post by Zhenghao Y » Fri, 13 Jun 1997 04:00:00



Hello!

I tried to change my Unix shell. Unfortunately the system (Solaris 2.5)
doesn't let me do that. Here are the outputs:

%passwd -e (which is equal to chsh)
Old shell: /bin/csh
New shell: /usr/local/bin/tcsh
%/usr/local/bin/tcsh is unacceptable as a new shell.

So what's the problem?

TIA.

- Yeh

 
 
 

new shell unacceptable

Post by Erik Assu » Sat, 14 Jun 1997 04:00:00


[ Zhenghaou Yeh ]

| %passwd -e (which is equal to chsh)
| Old shell: /bin/csh
| New shell: /usr/local/bin/tcsh
| %/usr/local/bin/tcsh is unacceptable as a new shell.
|
| So what's the problem?

It's probably because /usr/local/bin/tcsh isn't listed in your
machines /etc/shells

One workaround is to do this in your .cshrc

t="exec /usr/local/bin/tcsh -l"

and then type $t at your prompt once you're logged on.

Erik.

 
 
 

new shell unacceptable

Post by Erik Assu » Sat, 14 Jun 1997 04:00:00


[ Zhenghaou Yeh ]

| %passwd -e (which is equal to chsh)
| Old shell: /bin/csh
| New shell: /usr/local/bin/tcsh
| %/usr/local/bin/tcsh is unacceptable as a new shell.
|
| So what's the problem?

It's probably because /usr/local/bin/tcsh isn't listed in your
machines /etc/shells

One workaround is to do this in your .cshrc

t="exec /usr/local/bin/tcsh -l"

and then type $b at your prompt once you're logged on.

Erik.

 
 
 

new shell unacceptable

Post by Matt Fost » Sat, 14 Jun 1997 04:00:00


: Hello!

: I tried to change my Unix shell. Unfortunately the system (Solaris 2.5)
: doesn't let me do that. Here are the outputs:

: %passwd -e (which is equal to chsh)
: Old shell: /bin/csh
: New shell: /usr/local/bin/tcsh
: %/usr/local/bin/tcsh is unacceptable as a new shell.

: So what's the problem?

: TIA.

: - Yeh

Probably not in /etc/shells

Matt
--
| Matt Foster | Transactional Systems | DiverseyLever  |
| +44 (0)1 494 468 380 (V) | +44 (0)1 494 468 217 (F)  |
| "We'll give it logons, NTFS, TCPIP, ACLs and call it |
| a multi-user OS."  `No it's not.  It's a GUI.`       |

 
 
 

new shell unacceptable

Post by Marc Olzhe » Sat, 14 Jun 1997 04:00:00


:Hello!
:
:I tried to change my Unix shell. Unfortunately the system (Solaris 2.5)
:doesn't let me do that. Here are the outputs:
:
:%passwd -e (which is equal to chsh)
:Old shell: /bin/csh
:New shell: /usr/local/bin/tcsh
:%/usr/local/bin/tcsh is unacceptable as a new shell.
:
:So what's the problem?

Hmmm, sounds like /usr/local/bin/tcsh is not in /etc/shells
If it isn't there, contact your admin.

:
:TIA.
:
:- Yeh
Marc

 
 
 

new shell unacceptable

Post by Eric v/d Me » Sun, 15 Jun 1997 04:00:00



> Hello!

> I tried to change my Unix shell. Unfortunately the system (Solaris 2.5)
> doesn't let me do that. Here are the outputs:

> %passwd -e (which is equal to chsh)
> Old shell: /bin/csh
> New shell: /usr/local/bin/tcsh
> %/usr/local/bin/tcsh is unacceptable as a new shell.

> So what's the problem?

> TIA.

> - Yeh

It means that /usr/local/bin/tcsh is not registered as an "official" shell
program. To solve this, put the name in /etc/shells (together with all
other shells).
If this is not an option, you might put "exec /usr/local/bin/tcsh" in your
.login file. (Not sure if this is the correct csh syntax.)

Hope this helps

Eric

 
 
 

new shell unacceptable

Post by Hans Georg Schaath » Mon, 16 Jun 1997 04:00:00


: It means that /usr/local/bin/tcsh is not registered as an "official" shell
: program. To solve this, put the name in /etc/shells (together with all
: other shells).
: If this is not an option, you might put "exec /usr/local/bin/tcsh" in your
: .login file. (Not sure if this is the correct csh syntax.)

If tcsh is not listed in /etc/shells, it might be because the sysadmin
does not want to guarantee its excistence, and if so, you risk that
one day, when you cant find tcsh, you are unable to log in. This might
be because tcsh is on an NFS server which goes down, or the sysadmin
just moves tcsh to a different directory or something.

Yes, I have seen it happen twice.

To be some more safe, you may use:
  if ( -x /usr/local/bin/tcsh ) exec /usr/local/bin/tcsh

--
:-- Hans Georg           --- student of 'Life, the Universe and Everything'

,Studenter, ta fri, det er v?r !'

 
 
 

new shell unacceptable

Post by Volker Borche » Tue, 24 Jun 1997 04:00:00


|> Hello!
|>
|> I tried to change my Unix shell. Unfortunately the system (Solaris 2.5)
|> doesn't let me do that. Here are the outputs:
|>
|> %passwd -e (which is equal to chsh)
|> Old shell: /bin/csh
|> New shell: /usr/local/bin/tcsh
|> %/usr/local/bin/tcsh is unacceptable as a new shell.
|>
|> So what's the problem?

Missing entry in /etc/shells.

        vb
--