Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Новый участник


Сообщения: 1
Благодарности: 0

Профиль | Отправить PM | Цитировать


NO SigleMode! NO root !

1.
> cat /etc/passwd | grep root
root:*:0:0:Charlie &:/root:BLABLA

BLABLA != /bin/csh !!!!

2.
>cd ~
>ln -s /bin/csh BLABLA
>su
Password:...
#chpass -s /bin/csh

3.
> cat /etc/passwd | grep root
root:*:0:0:Charlie &:/root:/bin/csh

WIN!

% cat /etc/shells
# $FreeBSD: releng/9.3/etc/shells 59717 2000-04-27 21:58:46Z ache $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash
/usr/local/bin/rbash

Последний раз редактировалось vrny, 19-03-2019 в 14:44. Причина: Utochnenie smaylika.


Отправлено: 14:24, 19-03-2019 | #7