help adding shells to solaris 2.5

help adding shells to solaris 2.5

Post by Jason Burnet » Thu, 18 Jul 1996 04:00:00



hi

i added bash to solaris 2.5, and i need to know what system file contains
the list of shells installed on the system.  anyone know?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
< Jason Burnett                            University of Illinois >    

<                                                                 >
<--------------> http://groovy.isdn.uiuc.edu/jason <-------------->
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

help adding shells to solaris 2.5

Post by James A. Dietri » Thu, 18 Jul 1996 04:00:00


: hi
:
: i added bash to solaris 2.5, and i need to know what system file contains
: the list of shells installed on the system.  anyone know?
:

/etc/shells

-jim

 ____________________________________________________________________________
/                (James Dietrick Jr|Demon of S004|guido)                     \

|  Assistant Systems Administrator, Chemical Engineering Department of MTU.  |
\----------------------------------------------------------------------------/

 
 
 

help adding shells to solaris 2.5

Post by Mike D. Ka » Fri, 19 Jul 1996 04:00:00



>hi

>i added bash to solaris 2.5, and i need to know what system file contains
>the list of shells installed on the system.  anyone know?

/etc/shells

--
/*----------------------------------------------------------*/
/*  Mike D. Kail                 |  voice:  (619) 793-3359  */
/*  Unix System Administrator    |  fax:    (619) 793-2950  */

/*----------------------------------------------------------*/

 
 
 

help adding shells to solaris 2.5

Post by Bryan Altha » Fri, 19 Jul 1996 04:00:00


: hi
:
: i added bash to solaris 2.5, and i need to know what system file contains
: the list of shells installed on the system.  anyone know?
:
Make sure you add all yours shells to /etc/shells :

/usr/bin/sh
/usr/bin/csh
/usr/bin/ksh
/usr/bin/jsh
/bin/sh
/bin/csh
/bin/ksh
/bin/jsh
/sbin/sh
/sbin/jsh
/usr/bin/tcsh
/usr/bin/bash
/bin/tcsh
/bin/bash

 
 
 

help adding shells to solaris 2.5

Post by EIS » Fri, 19 Jul 1996 04:00:00



> hi

> i added bash to solaris 2.5, and i need to know what system file contains
> the list of shells installed on the system.  anyone know?

> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> < Jason Burnett                            University of Illinois >

> <                                                                 >
> <--------------> http://groovy.isdn.uiuc.edu/jason <-------------->
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Hi,

the file you're looking for is:

/etc/shells

if it doesn't exist (if you were just using sh it doesn't as that is an
internally defined default) create it. you can put one shell per line.

                                Simon Kissler
                                Electronic Information Services
                                Valparaiso University

------------------------------------------------------------------------                Beware of programmers with screwdrivers !

 
 
 

help adding shells to solaris 2.5

Post by Joe Shambli » Fri, 19 Jul 1996 04:00:00



> hi

> i added bash to solaris 2.5, and i need to know what system file contains
> the list of shells installed on the system.  anyone know?

/etc/shells

--

Systems Administrator                   Department of Computer Science
660-6582                                        Duke University

 
 
 

help adding shells to solaris 2.5

Post by Brian S. Craigie - Unix SA - NEC - Scotla » Sat, 20 Jul 1996 04:00:00





>: hi
>:
>: i added bash to solaris 2.5, and i need to know what system file contains
>: the list of shells installed on the system.  anyone know?
>:
> Make sure you add all yours shells to /etc/shells :

> /usr/bin/sh
> /usr/bin/csh
> /usr/bin/ksh
> /usr/bin/jsh
> /bin/sh
> /bin/csh
> /bin/ksh
> /bin/jsh
> /sbin/sh
> /sbin/jsh
> /usr/bin/tcsh
> /usr/bin/bash
> /bin/tcsh
> /bin/bash

Sorry to show my ignorance, but what is the purpose of /etc/shells ?  I just
created it as suggested, but what actually references it?

Thanks.

--

Best Regards,

Brian Craigie

Unix Sys Admin

My views are not necessarily those of my employers...

<<< Would sixty gallons be sufficient? -- Robby the Robot >>>

 
 
 

help adding shells to solaris 2.5

Post by Alan Coopersmi » Mon, 22 Jul 1996 04:00:00



|Sorry to show my ignorance, but what is the purpose of /etc/shells ?  I just
|created it as suggested, but what actually references it?

The getusershells() function is what actually reads the file - many
programs, such as ftpd & sendmail, call that function to see if the user
has a valid shell (if not, then the assumption is you've changed the
users shell to /bin/false or some local 'go away' shell and that it
shouldn't allow access via ftp, programs in .forward files, etc.).

--
_______________________________________________________________________

The Open Computing Facility at the University of California at Berkeley