2011/4/8 Bogdan <[email protected]>: > Добрый день! > > Сделал глупость: chsh -s /usr/bin/rsh > > Теперь ни ssh root@host /bin/sh ни su --shell /bin/sh не работают - > Unknown cipher type 'ls' > > Т.е. запускается-таки shell. > При этом, в man su сказано: > > -s, --shell SHELL > The shell that will be invoked. > > The invoked shell is chosen from (highest priority first): > The shell specified with --shell. > If --preserve-environment is used, the shell specified > by the $SHELL environment variable. > The shell indicated in the /etc/passwd entry for the target > user. > /bin/sh if a shell could not be found by any above method. > > Юзерский shell на хосте есть, sudo нет. > > Debian 5 со всеми апдейтами.
хорошая реклама для решения "не пользуйтесь root-овой учёткой, настройте sudo". -- wbr, alexander barakin aka sash-kan.

