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

Re: La última sobre impresión.



El Fri, Mar 17, 2000,
Emilio Hernández Martín...

> ¿Cómo  puedo hacer  para  que un  usuario  pueda acceder  al
> servicio  de impresión? Me  dice  que  no tengo  permiso. Yo
> creía  que era  con  "adduser" pero  claro,  /dev/lp0 no  es
> ningún grupo. ¿Cómo se hace?

$ ls -l /dev/lp0
crw-rw----    1 root     lp         6,   0 Apr  4  1999 /dev/lp0
                         /^\
								  |
								  |___ este es el grupo.


Pero,

$ id
uid=1000(cosme) gid=1000(cosme) groups=1000(cosme),20(dialout),24(cdrom),25(floppy),29(audio),30(dip)


No  hace  falta  pertenecer  a ese  grupo  para  imprimir  com
usuario. Yo uso el paquete `lprng', que trae un binario,

$ man checkpc | col -b | head -n 25

CHECKPC(8)					     CHECKPC(8)


NAME
       checkpc - check out the /etc/printcap database

SYNOPSIS
       checkpc	[ -aflrCPV ] [ -c configfile ] [ -A age[DHMS] ] [
       -D debug ] [ -p printcap ] [ -c config ] [ printcap ]

DESCRIPTION
       Checkpc is used to check for  the  existence  and  correct
       permissions  of	entries	in the printcap database.  It is
       useful when installing a new printcap database and  clean­
       ing up existing printer spoolers.

       -a   Do	not create accounting files if the fix option has
	    been specified.

       -c configfile
	    Read the configuration from configfile.


A ver si te ayuda.

Saludos.

-- 
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          Cosme P. Cuevas    .oOo.    GnuPG KeyID: 0A4305FB

          http://www.geocities.com/CollegePark/Lounge/8698/

       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply to: