abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 16:00 | Komunita

    Fedora zve na dvoudenní testování (2. a 3. prosince), během kterého si můžete vyzkoušet nové webové uživatelské rozhraní (WebUI) projektu FreeIPA. Pomozte vychytat veškeré chyby a vylepšit uživatelskou zkušenost ještě předtím, než se tato verze dostane k uživatelům Fedory a celého linuxového ekosystému.

    Ladislav Hagara | Komentářů: 1
    dnes 13:22 | IT novinky

    Eben Upton oznámil zdražení počítačů Raspberry Pi, kvůli růstu cen pamětí, a představil 1GB verzi Raspberry Pi 5 za 45 dolarů.

    Ladislav Hagara | Komentářů: 0
    dnes 04:44 | Humor

    Linus Torvalds na YouTube kanálu Linus Tech Tips staví dokonalý linuxový počítač.

    Ladislav Hagara | Komentářů: 6
    dnes 04:11 | Nová verze

    Po 9 týdnech vývoje od vydání Linuxu 6.17 oznámil Linus Torvalds vydání Linuxu 6.18. Přehled novinek a vylepšení na LWN.net: první a druhá polovina začleňovacího okna a Linux Kernel Newbies. Vypíchnout lze například podporu protokolu PSP (PSP Security Protocol, PSP encryption of TCP connections).

    Ladislav Hagara | Komentářů: 0
    dnes 03:55 | Nová verze

    Byla vydána nová stabilní verze 25.11 linuxové distribuce NixOS (Wikipedie). Její kódové označení je Xantusia. Podrobný přehled novinek v poznámkách k vydání. O balíčky se v NixOS stará správce balíčků Nix.

    Ladislav Hagara | Komentářů: 0
    dnes 03:22 | Komunita

    Richard Hughes na Mastodonu oznámil, že se společnost Framework Computer stala sponzorem služby LVFS (Linux Vendor Firmware Service) umožňující aktualizovat firmware zařízení na počítačích s Linuxem.

    Ladislav Hagara | Komentářů: 0
    28.11. 18:55 | Humor

    Jak na webu co nejšíleněji zadávat datum? Jak to uživatelům co nejvíce znepříjemnit? V Bad UX World Cup 2025 (YouTube) se vybíraly ty nejšílenější UX návrhy. Vítězným návrhem se stal Perfect Date.

    Ladislav Hagara | Komentářů: 18
    28.11. 12:44 | Zajímavý software

    Společnost Collabora vydala (YouTube) na LibreOffice založený desktopový kancelářský balík Collabora Office. Pro Windows, macOS a Linux. Se stejným uživatelským rozhraním jako Collabora Online. Svůj desktopový kancelářský balík s rozhraním LibreOffice pojmenovala Collabora Office Classic.

    Ladislav Hagara | Komentářů: 13
    28.11. 12:00 | Nová verze

    Glen MacArthur vydal AV Linux (AVL) a MX Moksha (MXM) 25. S linuxovým jádrem Liquorix. AV Linux (Wikipedie) je linuxová distribuce optimalizována pro tvůrce audio a video obsahu. Nejnovější AV Linux vychází z MX Linuxu 25 a Debianu 13 Trixie. AV Linux přichází s desktopovým prostředím Enlightenment 0.27.1 a MX Moksha s prostředím Moksha 0.4.1 (fork Enlightenmentu).

    Ladislav Hagara | Komentářů: 0
    27.11. 17:55 | Nová verze

    Ubuntu pro testování nových verzí vydává měsíční snapshoty. Dnes vyšel 1. snapshot Ubuntu 26.04 LTS (Resolute Raccoon).

    Ladislav Hagara | Komentářů: 0
    Jaké řešení používáte k vývoji / práci?
     (34%)
     (47%)
     (19%)
     (18%)
     (23%)
     (16%)
     (24%)
     (16%)
     (18%)
    Celkem 422 hlasů
     Komentářů: 17, poslední 19.11. 21:57
    Rozcestník

    Dotaz: cups bez hesla, hp laserjet 1018

    5.5.2015 10:46 dusan456 | skóre: 12 | Poprad
    cups bez hesla, hp laserjet 1018
    Přečteno: 298×
    Příloha:
    Zdravím,

    poprosím o radu. Vždy keď chcem použiť tlačiareň, musím ju spustiť použitím root-u a hesla, viď obrázok.
    root@debian:/etc/cups# cat cupsd.conf
    #
    #
    # Sample configuration file for the CUPS scheduler.  See "man cupsd.conf"
    for a
    # complete description of this file.
    #
    
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    
    # Deactivate CUPS' internal logrotating, as we provide a better one,
    especially
    # LogLevel debug2 gets usable now
    MaxLogSize 0
    
    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock
    
    # Show shared printers on the local network.
    Browsing On
    BrowseLocalProtocols dnssd
    
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    
    # Web interface setting...
    WebInterface Yes
    
    # Restrict access to the server...
    <<Location />>
      Order allow,deny
    <</Location>>
    
    # Restrict access to the admin pages...
    <<Location /admin>>
      Order allow,deny
    <</Location>>
    
    # Restrict access to configuration files...
    <<Location /admin/conf>>
      AuthType Default
      Require user @SYSTEM
      Order allow,deny
    <</Location>>
    
    # Set the default printer/job policies...
    <<Policy default>>
      # Job/subscription privacy...
      JobPrivateAccess default
      JobPrivateValues default
      SubscriptionPrivateAccess default
      SubscriptionPrivateValues default
    
      # Job-related operations must be done by the owner or an administrator...
      <<Limit Create-Job Print-Job Print-URI Validate-Job>>
        Order deny,allow
      <</Limit>>
    
      <<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
    Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
    Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
    Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job
    CUPS-Get-Document>>
        Require user @OWNER @SYSTEM
        Order deny,allow
      <</Limit>>
    
      # All administration operations require an administrator to authenticate...
      <<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
    CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      <</Limit>>
    
      # All printer operations require a printer operator to authenticate...
      <<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
    Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
    Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
    Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs
    CUPS-Accept-Jobs CUPS-Reject-Jobs>>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      <</Limit>>
    
      # Only the owner or an administrator can cancel or authenticate a job...
      <<Limit Cancel-Job CUPS-Authenticate-Job>>
        Require user @OWNER @SYSTEM
        Order deny,allow
      <</Limit>>
    
      <<Limit All>>
        Order deny,allow
      <</Limit>>
    <</Policy>>
    
    # Set the authenticated printer/job policies...
    <<Policy authenticated>>
      # Job/subscription privacy...
      JobPrivateAccess default
      JobPrivateValues default
      SubscriptionPrivateAccess default
      SubscriptionPrivateValues default
    
      # Job-related operations must be done by the owner or an administrator...
      <<Limit Create-Job Print-Job Print-URI Validate-Job>>
        AuthType Default
        Order deny,allow
      <</Limit>>
    
      <<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
    Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
    Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
    Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job
    CUPS-Get-Document>>
        AuthType Default
        Require user @OWNER @SYSTEM
        Order deny,allow
      <</Limit>>
    
      # All administration operations require an administrator to authenticate...
      <<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
    CUPS-Delete-Class CUPS-Set-Default>>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      <</Limit>>
    
      # All printer operations require a printer operator to authenticate...
      <<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
    Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
    Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
    Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs
    CUPS-Accept-Jobs CUPS-Reject-Jobs>>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      <</Limit>>
    
      # Only the owner or an administrator can cancel or authenticate a job...
      <<Limit Cancel-Job CUPS-Authenticate-Job>>
        AuthType Default
        Require user @OWNER @SYSTEM
        Order deny,allow
      <</Limit>>
    
      <<Limit All>>
        Order deny,allow
      <</Limit>>
    <</Policy>>
    
    #
    #
    root@debian:/etc/cups# cat printers.conf
    # Printer configuration file for CUPS v1.7.5
    # Written by cupsd
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <<DefaultPrinter HP_LaserJet_1018>>
    UUID urn:uuid:3bb673dd-a2a3-3d00-786f-1896bfe4faf8
    Info HP_LaserJet_1018
    DeviceURI hp:/usb/HP_LaserJet_1018?serial=KP2RCBW
    State Idle
    StateTime 1430763212
    Type 36892
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    <</Printer>>
    
    Ako môžem prosím nastaviť,

    1.)aby nežiadalo root a heslo?, prípadne ešte lepšie,

    2.)aby sa tlačiareň zapla pri spustení PC?

    Ďakujem za info

    Na otázku zatím nikdo bohužel neodpověděl.

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.