[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [RaQ3i] bash/badsh difference?



> Hey All,
> 
> I was looking in my /etc/passwd file and noticed that some 
> users have a
>
> /bin/bash
> 
> shell path, and others have a :
> 
> /bin/badsh
> 
> shell path.
> 
> I am wondering what the difference is here?  Can anyone explain?
> 
> Thanks,
> 
> ~ Theo


Hi Theo.

The /bash represents accounts that have shell access. 
Bash is the shell they are assigned. Could be the 
path to csh for c-shell, ksh for korn shell, tcsh for 
tc-shell and so on. the /badsh is another way of saying 
/no_shell_access :^) Those accounts have no shell access, 
so if they try to shell in, Linux will search the passwd 
file for their shell parameters, and when it finds 
something it doesn't recognize, it denies them access.

Take care.

Brandon Wheaton
UNIX Systems Engineer 
ValiCert, Inc.
1215 Terra Bella Ave. 
Mountain View, CA 94043 
650.567.5430 
----
Computers are useless; they can only provide answers.
~Pablo Picasso