ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Nick Fedchik <fnm@red-team.org.ua>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] KDE and Lock screen
Date: Mon, 7 Jul 2003 14:37:07 +0300
Message-ID: <200307071437.07698.fnm@red-team.org.ua> (raw)
In-Reply-To: <200307071517.02104.zerg@altlinux.org>

On Monday 07 July 2003 14:17, Sergey V Turchin wrote:
> А смена пароля работает из под
> пользователей testuser и fnm ?
[fnm@fnm fnm]$ su - testuser
Password:
-bash: /home/testuser/.bash_profile: Permission denied
-bash-2.05b$ passwd
passwd: User not known to the underlying authentication module.

[fnm@fnm fnm]$ passwd
passwd: User not known to the underlying authentication module.

[root@fnm fnm]# ls -la /etc/tcb/fnm
итого 12
drwx--s---    2 fnm      auth         4096 Июн  5 15:16 .
drwx--x---   52 root     root         4096 Июл  7 12:20 ..
-rw-r-----    1 fnm      auth           77 Июн  5 15:16 shadow
-rw-------    1 fnm      auth            0 Июн  5 15:16 shadow-
-rw-------    1 fnm      auth            0 Июн  5 15:16 shadow.lock
[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]# cat /etc/nsswitch.conf | grep shadow
#       tcb   Use local tcb shadow files, see tcb(5)
shadow:     tcb files nisplus nis
#shadow:    db tcb files nisplus nis

[root@fnm fnm]# ls -la /etc/tcb
drwx--x---   52 root     root         4096 Июл  7 12:20 .
drwxr-xr-x   88 root     root         8192 Июл  7  2003 ..

[root@fnm fnm]# ls -l /etc/pam.d/passwd
-rw-r-----    1 root     shadow        127 Май 23 22:51 /etc/pam.d/passwd

[root@fnm fnm]# cat /etc/pam.d/passwd
#%PAM-1.0
auth     include        system-auth
account  include        system-auth
password include        system-auth
session  required       pam_deny.so

[root@fnm fnm]# cat /etc/pam.d/kde
#%PAM-1.0
auth     include        system-auth
auth     required       pam_nologin.so
account  include        system-auth
password include        system-auth
session  include        system-auth
session  optional       pam_console.so

Куда дальше?

-- 
Best regards, Nick Fedchik 
FNM3-RIPE(-UANIC), R.E.D Team leader
http://www.red-team.org.ua
 


  reply	other threads:[~2003-07-07 11:37 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
2003-07-07 11:17                 ` Sergey V Turchin
2003-07-07 11:37                   ` Nick Fedchik [this message]
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=200307071437.07698.fnm@red-team.org.ua \
    --to=fnm@red-team.org.ua \
    --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