On Sun, Jun 02, 2002, Alon Kadury wrote about "some questions":
> 1. i have a lan with a linux and windows 2000. can i access the windows 
> file system from the linux? if so how?

The thing to search for is "samba". It is already included in most Linux
distributions, so you can simply "mount" a Windows share, for example
by adding a line like (change the parameters to suit your needs):

//10.1.2.3/C$ /mnt/disks smbfs 
noauto,uid=nyh,gid=nyh,username=administrator,password=QwERTY 0 0 

to your /etc/fstab and running mount -a (see the mount(8) and smbmount(8)
manuals).

> 2. can i allow logins (telnet logins) only from know ip's, without 
> installing a firewall?

Yes, by editing the /etc/hosts.deny and /etc/hosts.allow file. Check out
the hosts_access(5) manual. Of course you should know that telnet's
security is really crappy, because it passes passwords unencrypted over
the line...

[by the way, this is assuming your telnet goes through the tcp wrappers
(tcpd). It did, under most inetd setups. I'm not sure about xinetd]

-- 
Nadav Har'El                        |        Sunday, Jun 2 2002, 22 Sivan 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |All those who believe in psychokinesis,
http://nadav.harel.org.il           |raise my hand.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to