Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 16:15:54 +0100 (CET)
From:      <martin@Deejai.mch.fsc.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/35116: keyinfo reports root's keyinfo
Message-ID:  <200202191515.g1JFFs359751@deejai2.mch.fsc.net>

next in thread | raw e-mail | index | archive | help

>Number:         35116
>Category:       misc
>Synopsis:       keyinfo reports root's keyinfo
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 19 07:20:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD deejai2.mch.fsc.net 4.5-STABLE FreeBSD 4.5-STABLE #6: Thu Jan 31 21:40:04 CET 2002 martin@deejai2.mch.fsc.net:/usr/src/sys/compile/DEEJAI4B i386
	
>Description:
Logged in in an xterm, when I invoke keyinfo, I get
"96 de98629". However, when logging in on the console
(or when doing "su -c 'keyinfo martin'"), I get "93 de98558".
As it turns out, the former is root's keyinfo, not martin's.
IMO keyinfo should detect my user id. Yes, I have read in
skey.access(5) that ..."an invocation of login(1) in a
pseudo-tty (e.g. from within xterm(1) or screen(1)"... can cause
problems, but the keyinfo page says nothing about that.
It is however not a security risk to see other people's keyinfo
(you could simply try to enter "root" at the logion prompt and
you would see the same info).
       
>How-To-Repeat:
	Hmmm. Dunno if it's sufficient to do (at the console) a
keyinit for a user and for root, and then try keyinfo in an xterm?

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202191515.g1JFFs359751>