[sisyphus] KDE and Lock screen

Nick Fedchik =?iso-8859-1?q?fnm_=CE=C1_red-team=2Eorg=2Eua?=
Пн Июл 7 15:37:07 MSD 2003


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
 



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