ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Olexander Chernetskyy" <sp_archer@meta.ua>
To: Community@lists.altlinux.org
Subject: [Comm] Смена логина
Date: Mon, 08 Oct 2007 10:14:16 +0300 (EEST)
Message-ID: <48338.194.44.242.194.1191827656.metamail@webmail.meta.ua> (raw)

Тут вот какя хрень приключилась. Надоел моей дочке текущий логин. Ну и
попросила поменять.

Ну я и сказал:
usermod -d новый_хоум -m -l новый_логин старый_логин
Обматерило, что не может переместить каталог. Но в /etc/passwd всё поменяло.

Ну я переместил его руками, еще сделал
groupmod -n новая_группа  старая_группа

А логиниться - фиг вам: Incorrect login

Подумал, может смена пароля поможет:
K->Настройка->Центр_Управления_Системы...
Мат:"невозможно обновить базу паролей"

# passwd -S new_login
passwd: error reading user "new_login" shadow entry: No such file or
directory

# passwd -d new_login
pam_chauthtok: User not known to the underlying authentication module
chpasswd: line 1: unable to change password for new_login

userdel new_login
userdel: cannot lock shadow password file

Вообщем вопрос: "Что я сделал не так?" И как мне теперь избавиться от
этого пользователя? Потому как уже заведен еще один юзер и всё перенесено,
и все работает. Если в /etc/passwd просто руками убрать строку посвященную
new_login никакого катаклизма не случится?

-- 
Best regards,
ArCher




             reply	other threads:[~2007-10-08  7:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08  7:14 Olexander Chernetskyy [this message]
2007-10-08  7:16 ` Avramenko Andrew
2007-10-08  7:22   ` [Comm] kuser приказал долго жить? (было: Смена логина) Motsyo Gennadi aka Drool
2007-10-08  8:20     ` [Comm] kuser приказал долго жить ? ( было : Смена логина ) Olexander Chernetskyy
2007-10-08  8:10   ` [Comm] Смена логина Olexander Chernetskyy
2007-10-08  9:58     ` Avramenko Andrew

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=48338.194.44.242.194.1191827656.metamail@webmail.meta.ua \
    --to=sp_archer@meta.ua \
    --cc=Community@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 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