🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.sysadmin
3 messages
3 total messages Started by Patrick Bohrer Wed, 18 Nov 1992 15:25
Running KSH as your user shell
#1854
Author: Patrick Bohrer
Date: Wed, 18 Nov 1992 15:25
23 lines
1656 bytes
Quite a while ago I built ksh on the NeXT and set it up in
Terminal to be my default shell.  But when I try to set it up
on the system as my default shell, I can't login on the NeXT
(It tells my that I have no user shell and that it will run
/bin/ksh and ignore output.  I click OK and it gives me a login
window again.)  But I can rlogin from another machine.
So I copied /bin/ksh to /bin/sh and set my user
shell to /bin/sh and everything works OK (albeit kludgy).  Does
anyone know how to specify ksh as a valid shell.  I appears that
loginwindow compares the name of your shell against some list of 
known user shells before it starts up the Workspace Manager
but I don't know where the list is.

Thanks in advance for any help,

--Pat
*************************************************************************
| Patrick Bohrer                  Internet: patrick@oakhill.sps.mot.com |   
| Motorola Incorporated           Phone   : (512) 891-3197              |
| Microprocessor Products Group   Fax     : (512) 891-3798              |
| RISC Software Design                                                  |
*************************************************************************
Re: Running KSH as your user shell (answer)
#1856
Author: Brian K. Boonstra
Date: Wed, 18 Nov 1992 18:03
24 lines
1299 bytes
In article <1992Nov18.152522.11535@oakhill.sps.mot.com> patrick@norm (Patrick  
Bohrer) writes:
> 
> shell to /bin/sh and everything works OK (albeit kludgy).  Does
> anyone know how to specify ksh as a valid shell.  I appears that
> loginwindow compares the name of your shell against some list of 
> known user shells before it starts up the Workspace Manager
> but I don't know where the list is.
> 

The list is in /etc/shells. Mine looks like this:

	 # List of acceptable shells for chsh/passwd -s
	 # Ftpd will not allow users to connect who do not have one of these shells
	 #
	 /bin/sh
	 /bin/csh
	 /usr/local/bin/tcsh
 

--
Brian K. Boonstra    (313) 994-0014,764-6046     kickaha@umich.edu

 "My strength is as the strength of ten because my code is pure."
Re: Running KSH as your user shell
#1861
Author: Kambiz Aghaiepour
Date: Wed, 18 Nov 1992 20:28
23 lines
1468 bytes
patrick@norm writes:
> I appears that
> loginwindow compares the name of your shell against some list of 
> known user shells before it starts up the Workspace Manager
> but I don't know where the list is.
> 
> Thanks in advance for any help,

This is probably going to show up as the 20th followup answer to this
question, but here goes.

The list is kept in /etc/shells.  If the file does not exists, then only
/bin/sh and /bin/csh are accepted.  Look at /usr/local/bin/bash if you're
interested in alternative shells.

--Kambiz

-- 
 \o__O   o    Kambiz Aghaiepour           - |  kambiz@oceania.com       o   o
   \_   /|\   Oceania Health Care Systems |\-  netcom!oceania!kambiz   //\ //\
    |\   |\   325 Lytton Ave, Suite 400   | |  FAX:   (415) 322-0142    //  //
   / /   |/   Palo Alto, CA 94301           |  Voice: (415) 322-0127    |\  ||
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads