* [Comm] PAM error
@ 2003-12-09 7:45 Vladimir V. Karpinsky
2003-12-09 8:08 ` Epiphanov Sergei
0 siblings, 1 reply; 4+ messages in thread
From: Vladimir V. Karpinsky @ 2003-12-09 7:45 UTC (permalink / raw)
To: community
Здравствуйте!
Столкнулся с проблемой: не могу поменять себе пароль, получаю ошибку
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, фамилии и
т.д.), чтобы больше не наступать на эти грабли.
--
Best regards,
Vladimir mailto:vkarpinsky@mail.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] PAM error
2003-12-09 7:45 [Comm] PAM error Vladimir V. Karpinsky
@ 2003-12-09 8:08 ` Epiphanov Sergei
2003-12-09 9:37 ` Re[2]: " Vladimir V. Karpinsky
0 siblings, 1 reply; 4+ messages in thread
From: Epiphanov Sergei @ 2003-12-09 8:08 UTC (permalink / raw)
To: community
В сообщении от 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/<имя>
... далее, если есть ещё где-то твои файлы.
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re[2]: [Comm] PAM error
2003-12-09 8:08 ` Epiphanov Sergei
@ 2003-12-09 9:37 ` Vladimir V. Karpinsky
2003-12-09 12:50 ` Dmitry V. Levin
0 siblings, 1 reply; 4+ messages in thread
From: Vladimir V. Karpinsky @ 2003-12-09 9:37 UTC (permalink / raw)
To: Epiphanov Sergei
Здравствуйте!
>> Столкнулся с проблемой: не могу поменять себе пароль, получаю ошибку
>>
>> passwd: User not known to the underlying authentication module.
>>
>> В 12-й консоли --- pam_tcb[xxx]: unable to find user in the selected
>> database.
>>
ES> После смены uid в /etc/passwd необходимо:
ES> 1) chown -R <имя> /etc/tcb/<имя>
ES> именно сюда pam и не может попасть.
ES> 2) chown -R <имя> <домашний каталог пользователя "имя">
ES> 3) chown -R /var/spool/mail/<имя>
ES> ... далее, если есть ещё где-то твои файлы.
Спасибо, пункты 2--3 сделал, а, вот, про 1 не знал. Теперь всё
работает, даже screen.
--
Best regards,
Vladimir mailto:vkarpinsky@mail.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] PAM error
2003-12-09 9:37 ` Re[2]: " Vladimir V. Karpinsky
@ 2003-12-09 12:50 ` Dmitry V. Levin
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2003-12-09 12:50 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
On Tue, Dec 09, 2003 at 12:37:42PM +0300, Vladimir V. Karpinsky wrote:
> >> Столкнулся с проблемой: не могу поменять себе пароль, получаю ошибку
> >>
> >> passwd: User not known to the underlying authentication module.
> >>
> >> В 12-й консоли --- pam_tcb[xxx]: unable to find user in the selected
> >> database.
>
> ES> После смены uid в /etc/passwd необходимо:
>
> ES> 1) chown -R <имя> /etc/tcb/<имя>
>
> ES> именно сюда pam и не может попасть.
>
> ES> 2) chown -R <имя> <домашний каталог пользователя "имя">
> ES> 3) chown -R /var/spool/mail/<имя>
> ES> ... далее, если есть ещё где-то твои файлы.
>
> Спасибо, пункты 2--3 сделал, а, вот, про 1 не знал. Теперь всё
> работает, даже screen.
Никогда не меняйте uid вручную, пользуйтесь usermod(8).
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-09 12:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09 7:45 [Comm] PAM error Vladimir V. Karpinsky
2003-12-09 8:08 ` Epiphanov Sergei
2003-12-09 9:37 ` Re[2]: " Vladimir V. Karpinsky
2003-12-09 12:50 ` Dmitry V. Levin
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