ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey V Turchin <zerg@altlinux.org>
To: sisyphus@altlinux.ru
Cc: ldv@altlinux.org
Subject: Re: [sisyphus] KDE and Lock screen
Date: Mon, 7 Jul 2003 14:56:07 +0400
Message-ID: <200307071456.16697.zerg@altlinux.org> (raw)
In-Reply-To: <200307071231.53300.fnm@red-team.org.ua>

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1990 bytes --]

> В сообщении от 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

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-07-07 10:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-04 14:53 Nick Fedchik
2003-07-06 10:16     ` Ildar Mulyukov
2003-07-07  8:06 ` Eugene A. Saveljev
2003-07-07  8:29 ` Sergey V Turchin
2003-07-07  8:50     ` Sergey V Turchin
2003-07-07  9:01       ` Nick Fedchik
2003-07-07  9:07         ` Sergey V Turchin
2003-07-07  9:31           ` Nick Fedchik
2003-07-07 10:56             ` Sergey V Turchin [this message]
2003-07-07 11:17                 ` Sergey V Turchin
2003-07-07 11:37                   ` Nick Fedchik
2003-07-07 13:53                     ` Sergey V Turchin
2003-07-07 11:47                   ` Nick Fedchik
2003-07-07 14:32                 ` [sisyphus] " Michael Shigorin
2003-07-07 14:53                   ` Nick Fedchik
2003-07-07  9:11         ` [sisyphus] " Nick Fedchik
2003-07-07  9:12           ` Sergey V Turchin

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=200307071456.16697.zerg@altlinux.org \
    --to=zerg@altlinux.org \
    --cc=ldv@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git