[sisyphus] KDE and Lock screen

Sergey V Turchin =?iso-8859-1?q?zerg_=CE=C1_altlinux=2Eorg?=
Пн Июл 7 14:56:07 MSD 2003


> В сообщении от 7 Июль 2003 13:31 Nick Fedchik написал(a):
> On Monday 07 July 2003 12:07, Sergey V Turchin wrote:
> > А у свежесозданного пользователя?
> > Заодно попробуйте под ним сменить пароль.
>
> Кидаю лог моих действий.
>
> [root на fnm fnm]# groupadd testuser
> [root на fnm fnm]# useradd -g testuser testuser
> [root на fnm fnm]# passwd testuser
> passwd: updating all authentication tokens for user testuser.
> ...тут стандартные фразы вырезаны...
> Enter new password:
> Weak password: not enough different characters or classes for
> this length. Re-type new password:
> passwd: all authentication tokens updated successfully.
> [root на fnm fnm]# ls -la /etc/tcb/testuser/
> итого 12
> drwx--s---    2 testuser auth         4096 Июл  7 12:21 .
> drwx--x---   52 root     root         4096 Июл  7 12:20 ..
> -rw-r-----    1 testuser auth           82 Июл  7 12:21 shadow
> -rw-------    1 testuser auth            0 Июл  7 12:20 shadow-
> -rw-------    1 testuser auth            0 Июл  7 12:20
> shadow.lock [root на fnm fnm]# /usr/bin/kcheckpass testuser
> usage: kcheckpass
>     Obtains the password from standard input and checks it
>     against that of the invoking user.
>     Exit codes:
>         0 success
>         1 invalid password
>         2 cannot read password database
>     Anything else tells you something's badly hosed.
>
> Тут я понял в чем дело :) Перешел под юзерские права...
>
> [fnm на fnm fnm]$ sudo su testuser
> bash: /home/fnm/.bashrc: Permission denied
Естественно, ведь нужно
su - testuser
Сделайте на всякий 
chown -R fnm:fnm /home/fnm
Возможно проблема исчезнет

> bash-2.05b$ /usr/bin/kcheckpass
> Password:
> authentication failure for user testuser [uid 501]
> bash-2.05b$
>
> Вот так. Это я всё гонял в xterm-е
> Или что-то я не так сделал?
> Пробовал по чесному логиниться в консоли и проверять пароль
> - та же самая ситуация.

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: signature
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20030707/42b85e19/attachment-0010.bin>


Подробная информация о списке рассылки Sisyphus