[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X authentication and su (Re: changing framebuffer device owner during login)



On Sat, Jun 30, 2001 at 02:57:51PM -0400, Matt Zimmerman wrote:

> On Sat, Jun 30, 2001 at 01:52:42AM -0700, Francois Gouget wrote:
> 
> >    It's not very useful if you don't have X. And making a package for just
> >    one 8KB file seems a bit over the top. Ok, with the man page that would
> >    be to files, and it would be a step towards the 10000 packages but
> >    still...  So I would prefer if there was an existing package where it
> >    would fit nicely.
> 
> Perhaps where it would fit most nicely would be in the form of a patch to
> su(1).  It could still work using a pipe to xauth, so it wouldn't have to be
> linked against the X libraries.  You also wouldn't have to do that awful bit
> with the TERM environment variable.

I worked out a patch for this, but it seems that xauth inexplicably refuses to
write the generated key to standard output, rather than a file.  It seems to do
OK with extract/merge/source, but not generate.  I don't think it's appropriate
for a program like su to require use of a temporary file, and I don't want to
introduce a dependency on X by using the library routines.  Does anyone know
how to gen xauth to cooperate, or am I stuck using a temporary file?

-- 
 - mdz



Reply to: