ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Смена логина
@ 2007-10-08  7:14 Olexander Chernetskyy
  2007-10-08  7:16 ` Avramenko Andrew
  0 siblings, 1 reply; 6+ messages in thread
From: Olexander Chernetskyy @ 2007-10-08  7:14 UTC (permalink / raw)
  To: Community

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

Ну я и сказал:
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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-08  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08  7:14 [Comm] Смена логина Olexander Chernetskyy
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

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