From: Andrey Brindeew <abr@altlinux.ru> To: ALT Linux general discussion list <community@altlinux.ru> Subject: Re: [Comm] /bin/su help needed! Date: Mon, 11 Aug 2003 01:47:02 +0400 Message-ID: <20030810214702.GA3751@abr.tool.ru> (raw) In-Reply-To: <20030810205754.GA18094@basalt.office.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2377 bytes --] On Mon, Aug 11, 2003 at 12:57:54AM +0400, Dmitry V. Levin wrote: > On Sun, Aug 10, 2003 at 09:59:00PM +0400, Andrey Brindeew wrote: > > 1. Пароль рута поменять не удается. Несмотря на сообщение об удачной > > смене реквизитов, рутовый пароль остается старым. > > Детали? [Mon Aug 11 01:38:38][root@tool.servers.highway.ru : ~] # passwd You can now choose the new password or passphrase. A valid password should be a mix of upper and lower case letters, digits and other characters. You can use an 8 character long password with characters from at least 3 of these 4 classes, or a 7 character long password containing characters from all the classes. Characters that form a common pattern are discarded by the check. A passphrase should be of at least 3 words, 12 to 40 characters long and contain enough different characters. Alternatively, if noone else can see your terminal now, you can pick this as your password: "slight_buy:sir". Enter new password: Re-type new password: passwd: all authentication tokens updated successfully. [Mon Aug 11 01:39:09][root@tool.servers.highway.ru : ~] # ^d [Mon Aug 11 01:40:08][abr@tool.servers.highway.ru : ~] $ su - Password: su: Authentication failure [Mon Aug 11 01:40:47][abr@tool.servers.highway.ru : ~] $ su - Password: [Mon Aug 11 01:40:52][root@tool.servers.highway.ru : ~] # В первом случае пароль был новый, во втором - старый. > > 2. На днях решил ужесточить политику безопасности на сервере - выставил > > PermitRootLogin обратно в No и завел специального пользователя для > > провайдерских админов, настроив для него sudo. > > Изменил права на /bin/su: > > -rwx--x--- 1 root wheel 18760 Мар 21 2002 /bin/su > > Это, очевидно, неправильно. > Не надо изобретать велосипед, поскольку есть "control su wheelonly". Нету там его, давно бы применил бы... :-( > Для группы wheel пускать без пароля? > Я бы не назвал это "ужесточением политики безопасности на сервере". Пардон, спасибо за подсказку, надо было тщательнее читать комментарии. :-( > Т.е. у вас нет control(8)? > > Тогда > chown 0:wheel /bin/su > chmod 4710 /bin/su спасибо, это помогло. А как же быть со сменой пароля рута? :-( Права в каталоге (и на сам каталог) /etc/tcb/root никак не отличаются от остальных аккаунтов. -- WBR, Andrey Brindeew. "No one person can understand Perl culture completely" (C) Larry Wall. [-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]
next prev parent reply other threads:[~2003-08-10 21:47 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 2003-08-10 21:47 ` Andrey Brindeew [this message] 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=20030810214702.GA3751@abr.tool.ru \ --to=abr@altlinux.ru \ --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