From: Boris Savelev <boris.savelev@gmail.com>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] запрет изменения пароля пользователя
Date: Wed, 17 Oct 2012 15:13:42 +0400
Message-ID: <CAGodH5d0P_0FcgNyQMUOpT+RBnkbzdFcXCtpZkBL2Lm+geTEoQ@mail.gmail.com> (raw)
In-Reply-To: <507E38F5.6030101@gmail.com>
17 октября 2012 г., 8:49 пользователь andriy <l.andriy@gmail.com> написал:
> Hi, community!
>
> Как запретить конкретному пользователю изменение его пароля?
> Читал много разных идей и ACL на файл passwd, и перенос файла passwd в
> /root/sbin (что очевидно не корректно), а как посоветуете Вы?
>
> Спасибо за ответ.
я посоветую использовать для этого PAM
например модуль pam_listfile в секции password
пример из гугла:
http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html
--
Boris
prev parent reply other threads:[~2012-10-17 11:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-17 4:49 andriy
2012-10-17 7:30 ` Alexei Takaseev
2012-10-17 10:35 ` Sergei Epiphanov
2012-10-17 11:03 ` Sergei Epiphanov
2012-10-17 17:05 ` Alexei Takaseev
2012-10-17 11:13 ` Boris Savelev [this message]
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=CAGodH5d0P_0FcgNyQMUOpT+RBnkbzdFcXCtpZkBL2Lm+geTEoQ@mail.gmail.com \
--to=boris.savelev@gmail.com \
--cc=sysadmins@lists.altlinux.org \
/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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git