Dawno mówią: gdzie Bóg, tam zgoda. Orzechowski

[ Pobierz całość w formacie PDF ]

there, and underneath you should see the shared directories and printers that you chose to share in the file
/etc/smb.conf.
If you can't see or use the public directories, make sure that you created them and set the proper read/write
permissions for all users.
Part 4: Linux Newbie Administrator FAQ 91
Linux Newbie Guide by Stan, Peter and Marie Klimas 01/08/2003
MS Windows 95b and above (95c, 98, and newer NTs) may use password encryption. This will make your logins
from the Window's machine fail, and you may need to enable this option in the /etc/smb.conf file:
encrypt passwords = yes
On the Linux server, you can start, stop, restart and check the Samba status using these commands (as root):
samba start
samba status
samba restart
samba stop
You need to re-start samba after making changes to your /etc/smb.conf file.
You can browse the net using your Netscape for Windows if you are connected to your Linux computer through
Samba and the Linux machine is currently connected to the Internet. To do this, the IP masquerading must be set
up on the Linux machine with the modem (described here) and you must enable the Samba dns name resolution in
/etc/smb.conf :
dns proxy = yes
and then tell Windows to enable the dns server, specify the Linux server name and IP address (in
ControlPanel-Network-TCP/IP).
You can also mount a remote Windows directory onto your Linux filesystem. Look here to see how.
The above described just a minimal Samba setup. You can get more information from:
man samba; man smb.conf; man smbclient; man smbmount
less /usr/doc/HOWTO/SMB-HOWTO (under RH5.2)
documentation in /usr/doc/samba-2.0.3/doc (under RH6.0)
http://www.sfu.ca/~yzhang/linux/samba/ (samba minihowto)
http://www.germanynet.de/teilnehmer/101,69082/samba.html
and also by studying the file /etc/smb.conf .
4.5.6 Sendmail
Sendmail is the Internet standard mail-transport system and the default mail-transport on RedHat Linux
(Mandrake uses PostFix instead). As a user, you don't use sendmail directly--sendmail is the underlying server
engine that manages the mail on your machine in the background, for all users. To read/send mail in the text mode,
you probably want to use pine or elm (choose one and stay with it--it can be inconvenient to manage two separate
mail boxes). In KDE, you may choose to use the "mail client"(kmail) available from the K-menu. To
communicate with the outside world through your ppp dial-out, you probably would like to use the mailer that is
built into your Netscape and which communicates directly with your remote Internet-Service-Provider-based
mailbox (bypassing the mail server facility on your local computer).
Sendmail is very flexible and robust, but also notoriously difficult to manage if you needed to customize it to your
specific needs. Luckily, Red Hat (5.2 or 6.x) comes with the sendmail that runs out-of-box (with some limitations
though).
On my home system (default Red Hat setup), I can send mail to another user on the same machine with no
problem (e.g. using pine). I can send mail locally or anywhere in the world from any mailer once I am connected
to my Internet Service Provider through the modem (IP masquerading enabled). But when I am not connected,
the mail sits in the queue and waits for the Internet connection, even if the mail is to be sent to another computer
on my home network (a minor annoyance). It gets sent once I connect. (It happens because sendmail is trying to
do a DNS lookup and this is not available on my system--RedHat default DNS is cache-only.) If you really want
to avoid this on RH6.x, you may use netconf (as root) and specify that sendmail is not to use DNS at all
(Linuxconf that comes with RH5.2 does not give you the choice). I do use DNS.
Under RedHat 6.x, you may also want to use netconf to configure other sendmail options using (as root). I
entered the name of my Internet Service Provider and the names of other machines on my home network under
"mail deliver system"-"relay to hosts". I also added the names of my home network machines under "relay for by
Part 4: Linux Newbie Administrator FAQ 92
Linux Newbie Guide by Stan, Peter and Marie Klimas 01/08/2003
name".
You should also be aware of the limitation of your simple setup that arises if you send e-mail from your home
network (for example using pine), to the world beyond your network. If you invented the IP address and your
domain name is unregistered, there is no chance you will receive a reply. Your outgoing mail is given a "reply"
address in the form: "user_login_name@machine.domain". This is NOT ok since your domain name does not
exist, according to any DNS in the outside world, hence no way for any reply to ever get to you. To overcome [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • jungheinrich.pev.pl
  • Wątki

    Cytat


    Ibi patria, ibi bene. - tam (jest) ojczyzna, gdzie (jest) dobrze
    Dla cierpiącego fizycznie potrzebny jest lekarz, dla cierpiącego psychicznie - przyjaciel. Menander
    Jak gore, to już nie trza dmuchać. Prymus
    De nihilo nihil fit - z niczego nic nie powstaje.
    Dies diem doces - dzień uczy dzień.