allowing scp but not ssh (here's how)
Alex Pennace
alex at pennace.org
Thu Jul 25 17:18:47 EDT 2002
On Thu, Jul 25, 2002 at 04:39:41PM -0400, Scott Prive wrote:
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> NOW, since I can't ssh into the box as qatest...
>
> $ ssh root at tower15 grep qatest /etc/passwd
> root at tower15's password:
> qatest:x:507:507:tower15a.storigen.com Account:/sfs/qatest:/bin/rbash
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
To work around this, use scp to copy a shell script to qatest's
~/.bashrc and ~/.bash_profile that sets PATH to something normal, like
/bin:/usr/bin:/usr/local/bin. Shell access should be restored.
More information about the Discuss
mailing list