[ask]Kemana file /etc/cups/cupsd.conf ?

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

[ask]Kemana file /etc/cups/cupsd.conf ?

Postby q_p » 19 Dec 2012, 23:01

Iseng2 saya check file konfigurasi cupsd.conf, saya kaget kok bisa berubah. Saya ingat betul, file konfigurasi /etc/cups/cupsd.conf
Tampilkan

Code: Select all

# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing on
BrowseOrder allow,deny
BrowseAllow all
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow 192.168.0.100
Allow 192.168.0.111
Allow 192.168.0.113
</Location>
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
Allow localhost
Allow 192.168.0.100
Allow 192.168.0.111
Allow 192.168.0.113
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 192.168.0.100
Allow 192.168.0.111
Allow 192.168.0.113
</Location>
# Set the default printer/job policies...
<Policy default>
...
...
...
</Policy>
#
#
#
Setelah cups saya restart, file tsb berubah menjadi

Code: Select all

LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
  # Allow shared printing and remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin>
  Encryption Required
  # Allow remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin/conf>
 AuthType Default
  Require user @SYSTEM
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow @LOCAL
</Location>
# Set the default printer/job policies...
<Policy default>
...
...
...
</Policy>
Kok bisa berubah ya ?
User avatar
pamz
Posts: 36
Joined: 20 Nov 2012, 17:22

Re: [ask]Kemana file /etc/cups/cupsd.conf ?

Postby pamz » 19 Dec 2012, 23:11

emnk ini buat configurasi apaan om pragolpati ??

kasihlah saya ini pencerahan heheheheheheheh
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ask]Kemana file /etc/cups/cupsd.conf ?

Postby q_p » 19 Dec 2012, 23:33

Printer Sharing di Ubuntu Server 10.04 dengan client windows mas.
User avatar
pamz
Posts: 36
Joined: 20 Nov 2012, 17:22

Re: [ask]Kemana file /etc/cups/cupsd.conf ?

Postby pamz » 20 Dec 2012, 00:25

ohh jadi kalo mau ng sharing printer di cupsd.conf ya konfigurasinya, baru tau hehehe makasih mas
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ask]Kemana file /etc/cups/cupsd.conf ?

Postby q_p » 20 Dec 2012, 03:14

Ternyata, jika kita melakukan modifikasi file konfigurasi cups melalui web-interfaces, secara otomatis me-restart service-nya cups dan akan merubah /etc/cups/cupsd.conf. Yang demikian tidak terjadi jika melakukan start-restart melalui /etc/init.d/cups. Ubuntu Server 10.0.4 menggunakan CUPS 1.4.3 dan intinya jangan klik "Cange Settings" di menu "Administration" pada web-interface -nya.

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 3 guests