Re: [U2] [UV] SPOOLER

2007-01-26 Thread Mats Carlid

A simple  su  $1  in the spooler driver before lp
should  make the user the owner of the print job
and allow 'm to cancel the job.

Disclaimer: Not tested.


HTH
-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-26 Thread Barry Rogen
Would have to include the user password in the feed to satisdy
the 'su' command however.

Barry  Rogen
PNY Technologies, Inc.
Senior  Programmer/Analyst
(973)  515 - 9700  ext 5327
[EMAIL PROTECTED]

-
Far better it is to dare mighty things, to win 
glorious triumphs even though checkered by
failure, than to rank with those poor spirits who
neither enjoy nor suffer much because they live
in the gray twilight that knows neither victory
nor defeat.t. roosevelt



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
Sent: Friday, January 26, 2007 3:42 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] SPOOLER

A simple  su  $1  in the spooler driver before lp
should  make the user the owner of the print job
and allow 'm to cancel the job.

Disclaimer: Not tested.


HTH
-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-26 Thread Barry Rogen
I was thinking of that but was a 'delayed' solution - trees
dying while the daemon sleeps to wake up and kill the print
job

Barry  Rogen
PNY Technologies, Inc.
Senior  Programmer/Analyst
(973)  515 - 9700  ext 5327
[EMAIL PROTECTED]

-
Far better it is to dare mighty things, to win 
glorious triumphs even though checkered by
failure, than to rank with those poor spirits who
neither enjoy nor suffer much because they live
in the gray twilight that knows neither victory
nor defeat.t. roosevelt




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jjuser ud2
Sent: Thursday, January 25, 2007 6:01 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] SPOOLER

Perhaps the code could just monitor the print files and change
ownership as they are generated from usd?

On 1/25/07, Anthony Dzikiewicz [EMAIL PROTECTED] wrote:
 You might have to write some code to help manage this.  I remember
 changing the permissions of the unix 'cancel' command so that anyone
in
 a group could execute it.  What I also do for these kinds of things is
 to have our batch processing program do the work.  So, lets say you
 would have some kind of a 'gui' front end to build the command that
you
 want to execute and then just hand if off to the daemon.  The daemon
 would be running as root.
 Anthony


 
 We are in the processing of  setting up a new system that
  we will be migrating to.
 It will be running  10.2  on HPUX 11.23.
 
 We are planning to stop using our network print server and
  spool through Unix
 directly to the IP address. Here is the challenge.
 
  Joe produces a quite sizable job to the printer. So, the
  UniVerse spooler processes
  the job and hands it off to the Unix spooler. At this
  point, the job is no longer visible
  to the UniVerse spooler.  Since 'usd'  is running with
  superuser level,  the Unix print
  file gets created with the same security level.
 
  Joe decides to cancel the print job.  He can not execute
  SPOOL -CANCEL because
  UniVerse is no longer cognizant of the file. He cant
  'cancel'  the job, because he does
  not have security level.
 
  Question:  How to create a print job from UniVerse, so
  that the Unix print file will have
  an ownership/security that will allow Joe
  to cancel his own print job.
 
   Note: If you press the cancel button on printer, Unix
  seems to say 'oh, something
happened to the printing, let me start over and
  print it again'
 
 
  Thoughts, ideas, comments, criticisms.
 
  Barry  Rogen
  PNY Technologies, Inc.
  Senior  Programmer/Analyst
  (973)  515 - 9700  ext 5327
  [EMAIL PROTECTED]
 
  -
  Far better it is to dare mighty things, to win
  glorious triumphs even though checkered by
  failure, than to rank with those poor spirits who
  neither enjoy nor suffer much because they live
  in the gray twilight that knows neither victory
  nor defeat.t. roosevelt
  
 
  [demime 1.01d removed an attachment of type
  application/ms-tnef which had a name of winmail.dat]
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] SPOOLER

2007-01-26 Thread Mats Carlid

Maybe in hpux - I don't know - but in some unixes
root  su's without password and the drivers do run as root.
-- mats

Barry Rogen skrev:

Would have to include the user password in the feed to satisdy
the 'su' command however.

Barry  Rogen
PNY Technologies, Inc.
Senior  Programmer/Analyst
(973)  515 - 9700  ext 5327
[EMAIL PROTECTED]

-
Far better it is to dare mighty things, to win 
glorious triumphs even though checkered by

failure, than to rank with those poor spirits who
neither enjoy nor suffer much because they live
in the gray twilight that knows neither victory
nor defeat.t. roosevelt



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
Sent: Friday, January 26, 2007 3:42 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] SPOOLER

A simple  su  $1  in the spooler driver before lp
should  make the user the owner of the print job
and allow 'm to cancel the job.

Disclaimer: Not tested.


HTH
-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-26 Thread u2
What user is the spooler running as (I think it's usd that's doing the
spooling here?) If it's root, then su won't need a password.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen
 Sent: Friday, January 26, 2007 8:14 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] [UV] SPOOLER
 
 
 Would have to include the user password in the feed to 
 satisdy the 'su' command however.
 
 Barry  Rogen
 PNY Technologies, Inc.
 Senior  Programmer/Analyst
 (973)  515 - 9700  ext 5327
 [EMAIL PROTECTED]
 
 -
 Far better it is to dare mighty things, to win 
 glorious triumphs even though checkered by
 failure, than to rank with those poor spirits who
 neither enjoy nor suffer much because they live
 in the gray twilight that knows neither victory
 nor defeat.t. roosevelt
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
 Sent: Friday, January 26, 2007 3:42 AM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [UV] SPOOLER
 
 A simple  su  $1  in the spooler driver before lp
 should  make the user the owner of the print job
 and allow 'm to cancel the job.
 
 Disclaimer: Not tested.
 
 
 HTH
 -- mats
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.432 / Virus Database: 268.17.10/651 - Release 
 Date: 1/24/2007 6:48 PM
  
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/653 - Release Date: 1/26/2007
11:11 AM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: [sbs] Changing ReportWriter selection criteria

2007-01-26 Thread jjuser ud2

I wouldn't have to edit the driver to achieve this effect, right?

On 1/25/07, jjuser ud2 [EMAIL PROTECTED] wrote:

This is getting even more fun! :)

When running a ReportWriter report and using the ability to recall
saved selection criteria, I want to change the selection criteria used
to pull up the saved selection criteria.

After pressing F5 to recall, I get a prompt asking which record I'd
like to recall. Doing a /COMMON at this prompt and pressing F10 will
reveal SBPARM( having the selection criteria in attribute 18 as:

SSELECT DMCRITERIA WITH F1 = PRERUN.QUES

I tried doing an SSELECT on DMCRITERIA with my own criteria prior to
running the report, but the report just decides to use the current
select list as the basis for the report, which is not what I want.  My
goal is to have users pull up only selection criteria saved with their
username in the @ID.

Is there perhaps a process in /HK.CONTROL that I can set and test for
a process call of SELECT.QUES] in order to do an SSELECT prior to
bringing up the selection criteria tool?

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-26 Thread Barry Rogen
Thanks to all for the feedback. I was able to run with that ball
and score. I can not create print jobs to the user desired allowing
for my processes to work.

Thnaks again to all that contributed ideas !!

Barry  Rogen
PNY Technologies, Inc.
Senior  Programmer/Analyst
(973)  515 - 9700  ext 5327
[EMAIL PROTECTED]

-
Far better it is to dare mighty things, to win 
glorious triumphs even though checkered by
failure, than to rank with those poor spirits who
neither enjoy nor suffer much because they live
in the gray twilight that knows neither victory
nor defeat.t. roosevelt




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
Sent: Friday, January 26, 2007 9:17 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] SPOOLER

Maybe in hpux - I don't know - but in some unixes
root  su's without password and the drivers do run as root.
-- mats

Barry Rogen skrev:
 Would have to include the user password in the feed to satisdy
 the 'su' command however.

 Barry  Rogen
 PNY Technologies, Inc.
 Senior  Programmer/Analyst
 (973)  515 - 9700  ext 5327
 [EMAIL PROTECTED]

 -
 Far better it is to dare mighty things, to win 
 glorious triumphs even though checkered by
 failure, than to rank with those poor spirits who
 neither enjoy nor suffer much because they live
 in the gray twilight that knows neither victory
 nor defeat.t. roosevelt
 


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
 Sent: Friday, January 26, 2007 3:42 AM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [UV] SPOOLER

 A simple  su  $1  in the spooler driver before lp
 should  make the user the owner of the print job
 and allow 'm to cancel the job.

 Disclaimer: Not tested.


 HTH
 -- mats
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/