The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-08-2003
norsk hedensk norsk hedensk is offline
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
if a user is using an invalid shell according to /etc/shells
that means that whatever shell they are using is not listen in /etc/shells
so for example if the user is using bash, then in /etc/shells you want to make sure that the line
/bin/bash
exists. make sure you have the full path to the shell, or else it wont work. you cant just put in 'bash' on a line in /etc/shells , you will still get complaints of invalid shell. a user using an invalid shell can still login from the console, but cant su, and cant login from anywhere else.