Bug 38524
| Summary: | chsh(1) недоступен непривилегированному пользователю | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Aleksey Cheusov <vle> |
| Component: | shadow-change | Assignee: | Mikhail Efremov <sem> |
| Status: | NEW --- | QA Contact: | qa-sisyphus |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | ldv, mike, sem |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
То же самое касается chfn(1) и chage(1) control chsh help control chfn help control chage help Неплохо было бы сослаться на control(8) в документации и указать, что по умолчанию так и так. Видимо, во всех/многих facilities утилиты control(8). В /Features control(8) упомянут, но уж больно мелким шрифтом, и совершенно незаметен. |

Description
Aleksey Cheusov 2020-05-22 18:30:00 MSK1) p9 2) Открываем man chsh DESCRIPTION The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change the login shell for her own account; the superuser may change the login shell for any account. 3) $ ls -l /usr/bin/chsh -rwx------ 1 root root 45400 Sep 3 2019 /usr/bin/chsh $ rpm -qf /usr/bin/chsh shadow-change-4.5-alt5.x86_64 $ 4) Итого: пользователь не может сменить свой шел по причине того, что просто не может запустить chsh. P.S. Весьма вероятно, что проблема актуальная и для Сизифа.