Spool setting in unix environment for SAP

Hi All,

Please help me regarding this.

we have our SAP system with unix environment.

Spool setting in unix ,we are not able to cancel any unix spool from SIDADM because the spool user is nor SIDADM. for example :-
Any idea how to make the spool from OS level as SIDADM, Please suggest.

Spool Request User ID/owner date Server

nb18-5950 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv24
nb18-5952 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv10
nb18-5953 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv21
nb18-5955 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv25
nb18-5954 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv29
nb18-5956 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv21
nb18-5957 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv30
nb18-5958 USERWMEHUB priority 0 Dec 10 00:03 from cpsapv25

thanks & regards,
Ravi

I'm a bit confused. Is this the output from an lpstat command? If so, you would either need to be the submitting user or the superuser (usually root) to cancel the request (see man cancel or man qcanfor more information)

If it is something else, can you clarify what you are after?

I hope that this helps

Robin
Liverpool/Blackburn
UK

Hi Robin,
Thanku very much for your quick response,
This is the output from an lpstat command ,we want SIDADM to be able to cancel the request of all users. we donot want superuser (root ), because we do not have this user id. we have only sidadm id.

but my question is how can we change these spool users to SIDADm like spool should generate by sidadm.

thanks & regards,
Ravi kumar

Well, you could either have the user process to switch to sidadm to issue the print command, perhaps a simple script to be called, owned by sidadm and permissions rwsr-xr-x with a chmod 4755

Flip it the other way and you can make account sidadm privileged. You could install sudo from Sudo Main Page to grant you the privilege or, depending on your operating system, there is probably a way to make sidadm part of the print admin group. Have a read of the manual pages for the cancel command or qcan, or whatever command you wish to execute to cancel the requests.

I hope that this helps.

Robin
Liverpool/Blackburn
UK