<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.196.206.1&amp;*</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.196.206.1&amp;*"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/87.196.206.1"/>
		<updated>2026-04-05T01:01:37Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Openvpn&amp;diff=743</id>
		<title>Openvpn</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Openvpn&amp;diff=743"/>
				<updated>2007-05-21T21:44:11Z</updated>
		
		<summary type="html">&lt;p&gt;87.196.206.1: /* Sample Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Openvpn]] allows to establish a [http://en.wikipedia.org/wiki/VPN vpn] connection to a remote network.&lt;br /&gt;
&lt;br /&gt;
==Openvpn client==&lt;br /&gt;
&lt;br /&gt;
From the client perspective, it requires the openvpn client to be installed. It also requires a configuration file, some certificates, a key file and a personal user-defined password:&lt;br /&gt;
&lt;br /&gt;
*'''maretec_ist.ovpn'''&lt;br /&gt;
*'''MARETEC_VPN_CA.crt'''&lt;br /&gt;
*'''usr.MARETEC.crt'''&lt;br /&gt;
*'''usr.MARETEC.key'''&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
Here's how to establish a vpn connection to a remote network with openvpn client: &lt;br /&gt;
 root&amp;gt; openvpn --config maretec_ist.ovpn&lt;br /&gt;
&lt;br /&gt;
==Sample Configuration File==&lt;br /&gt;
&lt;br /&gt;
Here's a typical configuration ''.ovpn'' file:&lt;br /&gt;
&lt;br /&gt;
 remote 193.13?.12?.2?5&lt;br /&gt;
 rport 1?35?&lt;br /&gt;
 proto udp&lt;br /&gt;
 dev tap&lt;br /&gt;
 pull&lt;br /&gt;
 tls-client&lt;br /&gt;
 &lt;br /&gt;
 ##Uncomment this line in Windows XP&lt;br /&gt;
 ##Comment this line in Linux&lt;br /&gt;
 #show-net-up &lt;br /&gt;
 &lt;br /&gt;
 ca MARETEC_VPN_CA.crt&lt;br /&gt;
 cert usr.MARETEC.crt&lt;br /&gt;
 key usr.MARETEC.key&lt;br /&gt;
 &lt;br /&gt;
 # enable LZO compression&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 verb 4&lt;br /&gt;
&lt;br /&gt;
==External references==&lt;br /&gt;
*[http://en.wikipedia.org/wiki/OpenVPN Openvpn],&lt;br /&gt;
*[http://en.wikipedia.org/wiki/VPN Vpn]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>87.196.206.1</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Su&amp;diff=873</id>
		<title>Su</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Su&amp;diff=873"/>
				<updated>2007-05-21T21:01:05Z</updated>
		
		<summary type="html">&lt;p&gt;87.196.206.1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Su]] is the linux command that invokes the super-user login. It allows root access to the system.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Sudo]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>87.196.206.1</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Sudo&amp;diff=875</id>
		<title>Sudo</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Sudo&amp;diff=875"/>
				<updated>2007-05-21T20:59:22Z</updated>
		
		<summary type="html">&lt;p&gt;87.196.206.1: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Sudo]] is the linux command that allows users to perform [[su]] commands.&lt;br /&gt;
&lt;br /&gt;
==Sudoers list==&lt;br /&gt;
Only registered users in ''/etc/sudoers'' can [[sudo]].&lt;br /&gt;
&lt;br /&gt;
Here's a sample snippet from a sudoers file:&lt;br /&gt;
&lt;br /&gt;
 # User privilege specification&lt;br /&gt;
 root    ALL=(ALL) ALL&lt;br /&gt;
 guillaume       ALL = NOPASSWD : ALL&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 &amp;gt; sudo cat /etc/fstab&lt;br /&gt;
shows the permanently [[mount|mounted]] partitions.&lt;br /&gt;
&lt;br /&gt;
==External References==&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Sudo Wikipedia sudo]&lt;br /&gt;
*[http://www.gratisoft.us/sudo/sample.sudoers sudoers]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>87.196.206.1</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Samba&amp;diff=831</id>
		<title>Samba</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Samba&amp;diff=831"/>
				<updated>2007-05-21T20:10:31Z</updated>
		
		<summary type="html">&lt;p&gt;87.196.206.1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How to [[mount]] a samba drive in a [[*NIX platforms]]:&lt;br /&gt;
&lt;br /&gt;
from /mnt/:&lt;br /&gt;
&lt;br /&gt;
 mount -t smbfs -o username=USER,password=PASSW &lt;br /&gt;
 //mandriva/cgi-bin/nph-dods/dods-data /var/www/html/dods-data&lt;br /&gt;
&lt;br /&gt;
==Managing the samba service==&lt;br /&gt;
 &amp;gt;service smb restart&lt;br /&gt;
 &amp;gt;service smb start&lt;br /&gt;
 &amp;gt;service smb stop&lt;br /&gt;
&lt;br /&gt;
==Configuring samba==&lt;br /&gt;
Edit the &amp;lt;code&amp;gt;/etc/samba/smb.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
 #/etc/samba/smb.conf&lt;br /&gt;
 &lt;br /&gt;
 [global]&lt;br /&gt;
        workgroup = MARETEC&lt;br /&gt;
        server string = Samba Server&lt;br /&gt;
        log file = /var/log/samba/%m.log&lt;br /&gt;
        max log size = 50&lt;br /&gt;
        dns proxy = No&lt;br /&gt;
        hosts allow = 192.168.20. 192.168.23.&lt;br /&gt;
        cups options = raw&lt;br /&gt;
 &lt;br /&gt;
 [homes]&lt;br /&gt;
        comment = Home Directories&lt;br /&gt;
        read only = No&lt;br /&gt;
 &lt;br /&gt;
 [printers]&lt;br /&gt;
        comment = All Printers&lt;br /&gt;
        path = /usr/spool/samba&lt;br /&gt;
        printable = Yes&lt;br /&gt;
        browseable = No&lt;br /&gt;
 &lt;br /&gt;
 [public]&lt;br /&gt;
        path = /home/samba/public&lt;br /&gt;
        read only = No&lt;br /&gt;
        guest only = Yes&lt;br /&gt;
        guest ok = Yes&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
&lt;br /&gt;
==Adding samba users==&lt;br /&gt;
To add a samba password:&lt;br /&gt;
 root@dual_64# smbpasswd -a fedora&lt;br /&gt;
&lt;br /&gt;
Henceforth, the \\Dual_64 share is available from a windows NT environment to user ''fedora''.&lt;br /&gt;
&lt;br /&gt;
==Accessing windows shares==&lt;br /&gt;
This command will display NT domain available hosts:&lt;br /&gt;
 user@dual_64# smbclient -U guillaume -W MARETEC -L maretec.ist.utl.pt&lt;br /&gt;
&lt;br /&gt;
This command allows to access NT hosts machines:&lt;br /&gt;
 user@dual_64# smbclient //GUILLAUME/Aplica -U guillaume -W MARETEC&lt;br /&gt;
&lt;br /&gt;
==External references==&lt;br /&gt;
*[http://yolinux.com/TUTORIALS/LinuxTutorialMicrosoftWindowsNetworkIntegration.html#SMB4K Tutorial]&lt;/div&gt;</summary>
		<author><name>87.196.206.1</name></author>	</entry>

	</feed>