We are converting from AIX to Solaris 2.8 with UniData 6.0.9.

On AIX I could put users into the printq group and they could run
procs/paragraphs that execute PTRENABLE and PTRDISABLE commands when mounting
and printing on forms and then returning to normal stock.

I have found that I cannot do that on Solaris.  Instead I get an error message
stating that I must be logged in as root or lp to issue these commands even
when the user is in the root and/or lpr groups.

I can use an !su root -c "disable form1" command that will work, but asks for
the root password.  Not a good choice.

I can use sudo that asks for the user's password.  While I'd like to have no
password for these two commands this is O.K. if I can get feedback within
UniData that the command was successful, i.e. that the user remembered to turn
off the caps lock key and entered their password correctly and that the
printer was successfully enabled/disabled.

Another choice is to have somebody else build a Unix script that the users can
run that will 'always' work or allow my paragraph/proc/program to test the
error status.

Our systems guy did talk to one person at Sun who's response was on the order
of "Why would you want to do that?  Users cannot enable and disable print
queues."  I assume that there is probably some way to allow users to issue
enable and disable commands but getting there is apparently non-trivial.

What do other people do?

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

Reply via email to