From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux general discussion list <community@altlinux.ru> Subject: Re: [Comm] /bin/su help needed! Date: Mon, 11 Aug 2003 00:57:54 +0400 Message-ID: <20030810205754.GA18094@basalt.office.altlinux.org> (raw) In-Reply-To: <20030810175900.GA15072@abr.tool.ru> [-- Attachment #1: Type: text/plain, Size: 1285 bytes --] On Sun, Aug 10, 2003 at 09:59:00PM +0400, Andrey Brindeew wrote: > 1. Пароль рута поменять не удается. Несмотря на сообщение об удачной > смене реквизитов, рутовый пароль остается старым. Детали? > 2. На днях решил ужесточить политику безопасности на сервере - выставил > PermitRootLogin обратно в No и завел специального пользователя для > провайдерских админов, настроив для него sudo. > Изменил права на /bin/su: > -rwx--x--- 1 root wheel 18760 Мар 21 2002 /bin/su Это, очевидно, неправильно. Не надо изобретать велосипед, поскольку есть "control su wheelonly". > Включил себя в группу wheel, перелогинился. > Пытаемся стать рутом: > $ su - > su: Authentication failure > > Даже пароль перестала спрашивать. > > Содержимое файла /etc/pam.d/su: > ===== > #%PAM-1.0 > auth sufficient /lib/security/pam_rootok.so > # Uncomment the following line to implicitly trust users in the "wheel" > # group. > auth sufficient /lib/security/pam_wheel.so debug use_uid group=wheel trust Для группы wheel пускать без пароля? Я бы не назвал это "ужесточением политики безопасности на сервере". > P.S. Дистрибутив ALM 2.0, со всеми обновлениями. Т.е. у вас нет control(8)? Тогда chown 0:wheel /bin/su chmod 4710 /bin/su -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-10 20:57 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-08-10 17:59 Andrey Brindeew 2003-08-10 20:57 ` Dmitry V. Levin [this message] 2003-08-10 21:47 ` Andrey Brindeew 2003-08-10 23:54 ` Dmitry V. Levin 2003-08-11 2:55 ` Alexei Takaseev 2003-08-11 3:51 ` Andrey Brindeew 2003-08-11 6:22 ` [Comm] " Vitaly Ostanin 2003-08-11 11:25 ` Dmitry V. Levin 2003-08-11 11:28 ` Vitaly Ostanin 2003-08-11 13:18 ` Re[2]: [Comm] " Dmitry Myachin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030810205754.GA18094@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git