Download Debian Reference - classicistranieri.com

Transcript
Chapter 3. Debian System installation hints
38
$su -c "smbpasswd -a username"
Make sure to use encrypted passwords for optimum compatibility.
Set os level according to the following system equivalences (the larger the number, the higher
the priority as server):
0:
1:
16:
17:
32:
33:
255:
Samba with a loose attitude (will never become a master browser)
Wfw 3.1, Win95, Win98, Win/me?
Win NT WS 3.51
Win NT WS 4.0
Win NT SVR 3.51
Win NT SVR 4.0
Samba with mighty power
Make sure that users are members of the group owning the directory that gives shared access and
that the directory path has its execution bit set to access.
3.6
Printer configuration
The traditional method is lpr/lpd. There is a new CUPS™ system (Common UNIX Printing
System). PDQ is another approach. See the Linux Printing HOWTO (http://www.tldp.org/
HOWTO/Printing-HOWTO.html) for more information.
3.6.1
lpr/lpd
For the lpr/lpd type spoolers (lpr, lprng, and gnulpr), set up /etc/printcap as follows if
they are connected to a PostScript or text-only printer (the basics):
lp|alias:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:
Meaning of the above lines:
• Head line: lp — name of spool, alias = alias
• mx#0 — max file size unlimited
• sh — suppress printing of burst page header