tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: emanuele.lombardi () casaccia ! enea ! it
To: tru64-unix-managers
Subject: convauth  errors on T64 v5.0
Date: Fri, 28 Jan 2000 10:55:37 +0000	[thread overview]
Message-ID: <96079334819103.tru64-unix-managers.marc@archive.invalid> (raw)

Dear Collegues,

on T64 v5.0 (1st patch) with Enhanced Security running on AS 4100 I
noticed that convauth behaves in a strange way with devassign and in a
faulty way with ttys.

cd /etc/auth/system 
cat devassign
	console:v_devs=/dev/console:v_type=terminal:chkent:
	local\:0|local\:0.0:v_devs=local\:0,local\:0.0:v_type=xdisplay:chkent:
	\:0|\:0.0:v_devs=\:0,\:0.0:v_type=xdisplay:chkent:
	\:1|\:1.0:v_devs=\:1,\:1.0:v_type=xdisplay:chkent:
	\:0.1:v_devs=\:0.1:v_type=xdisplay:chkent:
	*:v_type=terminal:chkent:
	*\:*:v_devs=*\:*:v_type=xdisplay:chkent: 
convauth -v -d v
	Created database file /etc/auth/system/devassign.db
	convauth: /etc/auth/system/devassign.db: dirty flag set for readonly file page
	convauth: /etc/auth/system/devassign.db: close: 2 blocks left pinned
	console
	local:0
	:0
	:1
	:0.1
	*
	*:*
Please note that a long time (2 mins) past between the two lines saying
"convauth: ......" and the following lines reporting the devices. If I
execute again convauth -v -d v (while devassign.db already exists) all
is fine and the strange messages are no more written.

The things are really bad if I try to convert a ttys file into a ttys.db
It simply does'nt work to me!

cd /etc/auth/system 
cat ttys
    console:t_devname=console:
               :t_uid=jdoe:t_logtime#675430072:
               :t_unsucuid=jdoe:t_unsuctime#673610809:
               :t_prevuid=root:t_prevtime#671376915:
               :chkent:	
rm ttys.db
convauth -v -d t
	Created database file /etc/auth/system/ttys.db
ls -ls ttys.db
	0 -rw-rw-r--   1 auth     auth           0 Jan 28 11:08 ttys.db

If ttys.db already exists the it is not changed in any way by convauth.
So I don't know how to import my previous 4.0d ttys into the new 5.0
ttys.db

Further more .........

rm ttys	
convauth -v -d t -O	#convert from existing ttys.db into ttys
	Failed to parse entry beginning with *:t_devname=*:chkent
touch ttys
convauth -v -d t -O	#convert from existing ttys.db into ttys 
cat ttys
*:\
        :t_devname=*:chkent:
*\:*:\
        :t_devname=*\:*:t_login_timeout#0:t_xdisplay:chkent:
\:0:\
        :t_devname=\:0:t_uid=root:t_logtime#948892314:t_unsucuid=root:\
        :t_unsuctime#948390610:t_login_timeout#0:t_xdisplay:chkent:
\:0.1:\
        :t_devname=\:0.1:t_login_timeout#0:t_xdisplay:chkent:
\:1:\
        :t_devname=\:1:t_login_timeout#0:t_xdisplay:chkent:
console:\
        :t_devname=console:t_uid=root:t_logtime#836472255:t_unsuctime#836471857:\
        :chkent:
local\:0:\
        :t_devname=local\:0:t_login_timeout#0:t_xdisplay:chkent:
pts/1:\
        :t_devname=pts/1:t_uid=dona:t_logtime#948986954:t_unsucuid=volfango:\
        :t_unsuctime#948396577:chkent:
.....

convauth -v -d t 	#convert from ttys into ttys.db
*
*
*
*
........ NEVER ENDING LOOP of * 
^CNTRL C

rm ttys.db
convauth -v -d t
	Created database file /etc/auth/system/ttys.db
	convauth: /etc/auth/system/ttys.db: dirty flag set for readonly file page
	convauth: /etc/auth/system/ttys.db: close: 2 blocks left pinned
	Failed to parse entry beginning with *: :t_devname=*:chke
ls -ls ttys.db
	0 -rw-rw-r--   1 auth     auth           0 Jan 28 11:46 ttys.db

rm ttys.db
touch ttys.db
convauth -v -d t
	Warning: already existing database: /etc/auth/system/ttys.db
	convauth: /etc/auth/system/ttys.db: dirty flag set for readonly file page
	convauth: /etc/auth/system/ttys.db: close: 2 blocks left pinned
	Failed to parse entry beginning with *: :t_devname=*:chke
ls -ls ttys.db
	0 -rw-r--r--   1 root     auth           0 Jan 28 11:48 ttys.db


Can anybody help me?
Thanks from Italy,
Emanuele
 
-- 
$$$ Emanuele Lombardi
$$$ mail:  AMB-GEM-CLIM ENEA Casaccia
$$$        I-00060 S.M. di Galeria (RM)  ITALY
$$$ mailto:lele@mantegna.casaccia.enea.it
$$$ tel	+39 06 30483366 fax	+39 06 30483591
$$$
$$$                                |||
$$$                                \|/  ;_;
$$$ What does a process need        |   /"\
$$$ to become a daemon ?            |   \v/
$$$                                 |    | 
$$$ - a fork                        o---/!\---
$$$                                 |   |_|
$$$                                 |  _/ \_
$$$* Contrary to popular belief, UNIX is user friendly.
$$$  It's just very particular about who it makes friends with.
$$$* Computers are not intelligent, but they think they are. 
$$$* True programmers never die, they just branch to an odd address
$$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS

                 reply	other threads:[~2000-01-28 10:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox