Bug 1407 - RFE: Add helper script which allows an user to switch to SUN-DES-1 authentification ("xauth_switch_to_sun-des-1")
Summary: RFE: Add helper script which allows an user to switch to SUN-DES-1 authentifi...
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: All All
: high major
Assignee: Roland Mainz
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 15:16 UTC by Roland Mainz
Modified: 2011-10-15 15:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Original script from our Solaris cluster (4.82 KB, text/plain)
2004-09-17 15:18 UTC, Roland Mainz
no flags Details
Patch for 2004-09-17-trunk (7.95 KB, patch)
2004-09-17 15:22 UTC, Roland Mainz
no flags Details | Splinter Review

Description Roland Mainz 2004-09-17 15:16:24 UTC
RFE: Add helper script which allows an user to switch to SUN-DES-1
authentification ("xauth_switch_to_sun-des-1").
Comment 1 Roland Mainz 2004-09-17 15:18:10 UTC
Created attachment 929 [details]
Original script from our Solaris cluster

The plain old script which we used on Solaris since years. Usage is quite easy:
Run it. If the auth. is then SUN-DES-1 then everything is OK and you can add
users via % xhost +theusername@ # to your display...
Comment 2 Roland Mainz 2004-09-17 15:22:34 UTC
Created attachment 930 [details] [review]
Patch for 2004-09-17-trunk
Comment 3 Roland Mainz 2004-09-17 15:25:30 UTC
Patch checked-in...

/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.377; previous revision: 1.376
/cvs/xorg/xc/programs/scripts/Imakefile,v  <--  Imakefile
new revision: 1.3; previous revision: 1.2
/cvs/xorg/xc/programs/scripts/xauth_switch_to_sun-des-1.cpp,v  <-- 
xauth_switch_to_sun-des-1.cpp
initial revision: 1.1
Mailing the commit message to xorg-commit@pdx.freedesktop.org...

... marking bug as FIXED.
Comment 4 Egbert Eich 2004-10-18 08:13:47 UTC
Roland, please change your script to run with dump old /bin/sh.
ksh is not available everywhere. ksh93 comes with a funny license which causes
most open source vendors to not include it. 
Comment 5 Roland Mainz 2004-10-18 08:53:00 UTC
Egbert Eich wrote:
> Roland, please change your script to run with dump old /bin/sh.
> ksh is not available everywhere. ksh93 comes with a funny license which causes
> most open source vendors to not include it.

Erm, I already said sndirsch that this is on my list.
I've used up this weekend's Xorg-work-quota with hunting down DBE (double-buffer
extension) examples (as noone else cared to help Sebastien in
xorg@freedesktop.org) and then adding server-side support in Xprt (see bug
1664).
Next batch workload on my list is Debian-release and user2user-auth (which
includes fixing this script to work on Linux (the shell interpreter stuff can be
solved via CPP, either ksh or bash are mandatory - plain Bourne shell goes mad
with command output containing special shell token (design problem in Bourne
shell)) and playing around with Kerb5 support).
Comment 6 Egbert Eich 2004-10-18 09:07:35 UTC
OK, I've just opened this to remind you to do that.
You probably should have done this before you've committed this stuff.
If one of the Xprint haters come across this he will give you a bad time
again.
Comment 7 Roland Mainz 2004-10-18 09:20:05 UTC
Egbert Eich wrote:
> You probably should have done this before you've committed this stuff.

Erm... the script works on Solaris and a bunch of other Unices. It's just that
"#!/bin/ksh" sticks at the first line of the script (which can be fixed with
some CPP-kungfu to make the "there-is-only-bash-which-matters"-club (also known
as "any-non-GNU-license-is-bad-and-the-author-must-sit-in-boiling-oil"-club)
happy :) and that the script hasn't been tested on Linux for some time.

> If one of the Xprint haters come across this he will give you a bad time
> again.

Erm... why ? The SUN-DES-1 authentification is really not Xprint-specific or
anyway related to Xprint (except that it comes from Sun :) ...
Comment 8 Stefan Dirsch 2005-04-16 10:26:09 UTC
The script still uses ksh ... 
Comment 9 Adam Jackson 2005-07-03 16:22:35 UTC
still a ksh script.
Comment 10 Stefan Dirsch 2005-10-13 13:25:49 UTC
Will this ever get fixed?  
Comment 11 Stefan Dirsch 2006-03-29 08:17:53 UTC
Still things like this are required. :-( 
 
# get rid of ksh deps (X.Org #1407) 
rm $RPM_BUILD_ROOT/usr/X11R6/bin/xauth_switch_to_sun-des-1 
 
Comment 12 Stefan Dirsch 2006-06-07 13:37:20 UTC
Well, I give up.
Comment 13 Daniel Stone 2007-02-27 01:24:09 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 14 Adam Jackson 2007-11-16 16:22:25 UTC
As far as I can tell this was never brought across in the modular merge.  Pretty sure no one's ever going to commit a fix to the monolith, so, WONTFIX.
Comment 15 Alan Coopersmith 2007-11-16 16:31:44 UTC
This script lives in the modular tree in app/scripts/xauth_switch_to_sun-des-1.cpp


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.