ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] PAM error
Date: Tue, 9 Dec 2003 15:50:46 +0300
Message-ID: <20031209125046.GA8469@basalt.office.altlinux.org> (raw)
In-Reply-To: <1610705682.20031209123742@mail.ru>

[-- 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 --]

      reply	other threads:[~2003-12-09 12:50 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
2003-12-09  9:37   ` Re[2]: " Vladimir V. Karpinsky
2003-12-09 12:50     ` Dmitry V. Levin [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=20031209125046.GA8469@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