/bin/rbash in passwd, but starts a *non* restricted shell

Tom Rodman cygwin@trodman.com
Fri Jun 3 17:47:00 GMT 2005


Interactively rbash seems to work fine:

  ~ $ uname -a
  CYGWIN_NT-5.0 c7mkes108 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown Cygwin
  ~ $ ls -l /bin/{bash,rbash}
  -r-xr-xr-x+ 2 scmcron Users 512512 Oct 29  2004 /bin/bash*
  -r-xr-xr-x+ 2 scmcron Users 512512 Oct 29  2004 /bin/rbash*
  ~ $ /bin/rbash
  rbash-2.05b$ cd /
  rbash: cd: restricted

When I set the login shell to /bin/rbash in /etc/passwd
and login through ssh the shell is *not* restricted.

Any ideas on how to work around this?  Will this be fixed?
I had posted question this back at 1.3.20 also and don't think there
was an answer - am I misunderstanding something?
__
thanks much,
Tom


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list