pw usermod user -s /bin/csh
далее пытаюсь добавить его в конфиг ssh но не получается пишу
AllowUser user в /etc/ssh/sshd_config
жму сохранить, а мне выдает Operation not permitted
что делаю не так?
Код: Выделить всё
serv2# ls -la /etc/ssh/
total 152
drwxr-xr-x 2 root wheel 512 6 ноя 13:30 .
drwxr-xr-x 22 root wheel 2560 6 ноя 13:29 ..
-rw-r--r-- 1 root wheel 125811 29 сен 2008 moduli
-rw-r--r-- 1 root wheel 1601 29 сен 2008 ssh_config
-rw------- 1 root wheel 672 29 сен 2008 ssh_host_dsa_key
-rw-r--r-- 1 root wheel 612 29 сен 2008 ssh_host_dsa_key.pub
-rw------- 1 root wheel 537 29 сен 2008 ssh_host_key
-rw-r--r-- 1 root wheel 341 29 сен 2008 ssh_host_key.pub
-rw------- 1 root wheel 1675 29 сен 2008 ssh_host_rsa_key
-rw-r--r-- 1 root wheel 404 29 сен 2008 ssh_host_rsa_key.pub
-rw-r--r-- 1 root wheel 3558 31 авг 13:44 sshd_config
serv2#