From: Epiphanov Sergei <serpiph@entek.ru>
To: community@altlinux.ru
Subject: Re: [Comm] PAM error
Date: Tue, 9 Dec 2003 11:08:35 +0300
Message-ID: <200312091108.35213.serpiph@nikiet.ru> (raw)
In-Reply-To: <1113982917.20031209104541@mail.ru>
В сообщении от 9 Декабрь 2003 10:45 Vladimir V. Karpinsky написал:
> Здравствуйте!
>
> Столкнулся с проблемой: не могу поменять себе пароль, получаю ошибку
>
> passwd: User not known to the underlying authentication module.
>
> В 12-й консоли --- pam_tcb[xxx]: unable to find user in the selected
> database.
>
> При этом вход в систему нормальный, поменять пароль от рута получается
> нормально. Попробовал на другом пользователе -- всё нормально. Для
> создаваемых вновь пользователей тоже нормально.
>
> Система Мастер 2.2 практически без Сизифа.
>
> Вероятно проблема была создана, когда я поменял себе uid в
> /etc/passwd. Подскажите, пожалуйста, как эту проблему можно решить и,
> заодно, как правильно менять параметры пользователей (uid, фамилии и
> т.д.), чтобы больше не наступать на эти грабли.
После смены uid в /etc/passwd необходимо:
1) chown -R <имя> /etc/tcb/<имя>
именно сюда pam и не может попасть.
2) chown -R <имя> <домашний каталог пользователя "имя">
3) chown -R /var/spool/mail/<имя>
... далее, если есть ещё где-то твои файлы.
--
С уважением, Епифанов Сергей
next prev parent reply other threads:[~2003-12-09 8:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 7:45 Vladimir V. Karpinsky
2003-12-09 8:08 ` Epiphanov Sergei [this message]
2003-12-09 9:37 ` Re[2]: " Vladimir V. Karpinsky
2003-12-09 12:50 ` Dmitry V. Levin
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=200312091108.35213.serpiph@nikiet.ru \
--to=serpiph@entek.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