<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Diadem Tech Weblogs &#187; Linux</title>
	<atom:link href="http://www.diademblogs.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.diademblogs.com</link>
	<description>Our take on web hosting, web development, web marketing and everything in between.</description>
	<lastBuildDate>Sun, 05 Sep 2010 07:27:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>64 bit Linux Hosting – Now Available</title>
		<link>http://www.diademblogs.com/linux/64-bit-linux-hosting</link>
		<comments>http://www.diademblogs.com/linux/64-bit-linux-hosting#comments</comments>
		<pubDate>Wed, 02 Jun 2010 09:16:31 +0000</pubDate>
		<dc:creator>hriday</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=950</guid>
		<description><![CDATA[Keeping in view the ever growing needs of our clients for faster and higher performance web hosting servers, we have recently provisioned our first 64 bit Linux Web Hosting Server which is deployed with the 64-bit RHEL 5 Enterprise OS. 64 bit web servers are a significant step up in computer architecture and deliver higher [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.diademblogs.com/wp-content/uploads/2010/06/64-bit-linux-hosting.jpg"><img class="alignleft size-full wp-image-955" title="64 bit linux hosting" src="http://www.diademblogs.com/wp-content/uploads/2010/06/64-bit-linux-hosting.jpg" alt="" width="296" height="199" /></a>Keeping in view the ever growing needs of our clients for faster and higher performance web hosting servers, we have recently provisioned our first 64 bit Linux Web Hosting Server which is deployed with the <strong><a title="64 bit rhel 5" href="http://www.redhat.com/rhel/server/" target="_blank">64-bit RHEL 5 Enterprise OS</a>. </strong></p>
<p>64 bit web servers are a significant step up in computer architecture and deliver higher performance, security and reliability of hosted web applications on such servers.  Here is the hardware configuration of our new 64 bit Linux (RHEL 5) server:</p>
<ul>
<li>Quad Core Intel Xeon 5520 Processor</li>
<li>6 GB DDR 1333 Registered RAM</li>
<li>64 bit RHEL 5 OS and applications</li>
<li>Raptor 300 GB 10K RPM HDDs</li>
<li>RAID 10 Disk Array</li>
<li>Plesk 9.5 Control Panel</li>
</ul>
<p>This shiny new 64 bit server is ready to host your website and unleash the power of the 64 bit computing platform for your website, email and hosted apps. You can view our <strong><a title="64 bit linux hosting" href="http://www.diadem.co.in/linux-hosting/compare-linux-hosting-plans.html" target="_self">64-bit Linux Hosting Plans</a></strong> online get in touch with us for any queries on our plan features.</p>
<p><em>Reference: <a title="learn more about 64 bit " href="http://en.wikipedia.org/wiki/64-bit" target="_blank">Wikipedia – 64 bit</a></em></p>
<p>Note: There is a rating embedded within this post, please visit this post to rate it.<em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/64-bit-linux-hosting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>http port 80 redirection</title>
		<link>http://www.diademblogs.com/linux/http-port-80-redirection</link>
		<comments>http://www.diademblogs.com/linux/http-port-80-redirection#comments</comments>
		<pubDate>Sat, 20 Mar 2010 05:43:59 +0000</pubDate>
		<dc:creator>ankur</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[http port 80 redirection]]></category>
		<category><![CDATA[http redirection]]></category>
		<category><![CDATA[port 80 redirection]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=839</guid>
		<description><![CDATA[If you want to redirect all incoming TCP traffic on port 80 to a custom port say 8089 on the local machine, then xinetd is a good option. Xinetd, the Extended Internet Daemon, is an open-source super-server  daemon which runs on many Unix-like  systems and manages Internet-based connectivity. Follow the below steps redirect to the [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to redirect all incoming TCP traffic on port 80 to a custom port say 8089 on the local machine, then xinetd is a good option. Xinetd, the <em><strong>Extended Internet Daemon</strong></em>, is an open-source super-server  daemon which runs on many Unix-like  systems and manages Internet-based connectivity.</p>
<p>Follow the below steps redirect to the 80 port.</p>
<p>Login to your Linux server as super user i.e. &#8216;root&#8217;.</p>
<p>Create a file under <em>/etc/xinetd.d/</em> folder as <em>http_redirector</em></p>
<blockquote><p># vi /etc/xinetd.d/http_redirector</p></blockquote>
<p>Now add the following entries in the files.</p>
<blockquote><p>service http_redirector<br />
{<br />
type = UNLISTED<br />
disable = no<br />
socket_type = stream<br />
protocol = tcp<br />
user = root<br />
wait = no<br />
port = 80<br />
redirect = 127.0.0.1 8089<br />
log_type = FILE /tmp/httpredirector.log<br />
}</p></blockquote>
<p>Restart the <em>xinetd </em>service.</p>
<blockquote><p># service xinetd restart</p></blockquote>
<p>That&#8217;s all you are done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/http-port-80-redirection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to hide Apache and PHP Versions from remote users</title>
		<link>http://www.diademblogs.com/linux/how-to-hide-apache-and-php-versions-from-remote-users</link>
		<comments>http://www.diademblogs.com/linux/how-to-hide-apache-and-php-versions-from-remote-users#comments</comments>
		<pubDate>Sun, 01 Nov 2009 10:22:28 +0000</pubDate>
		<dc:creator>ankur</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Apache Web Server]]></category>
		<category><![CDATA[Hide Apache Information]]></category>
		<category><![CDATA[Hide PHP Version]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=595</guid>
		<description><![CDATA[Hide Apache Information To hide the information, add/change the following two apache directives in Apache configuration file /etc/httpd/conf/httpd.conf ServerTokens ProductOnly ServerSignature Off Now you need to restart your web server using the following command # service httpd restart Now the output for apache header looks like below Server: Apache Hide PHP Version in Apache from [...]]]></description>
			<content:encoded><![CDATA[<h4><em>Hide Apache Information</em></h4>
<p>To hide the information, add/change the following two apache directives in Apache configuration file /etc/httpd/conf/httpd.conf</p>
<blockquote><p><strong>ServerTokens ProductOnly<br />
ServerSignature Off</strong></p></blockquote>
<p>Now you need to restart your web server using the following command</p>
<blockquote><p><strong># service httpd restart</strong></p></blockquote>
<p>Now the output for apache header looks like below</p>
<blockquote><p><em><strong>Server: Apache</strong></em></p></blockquote>
<h4><em>Hide PHP Version in Apache from remote user’s requests</em></h4>
<p>In your <em><strong>php.ini</strong></em> (the typical path is <em><strong>/etc/php.ini)</strong></em> locate the line containing “expose_php = On” and set it to Off:</p>
<blockquote><p><strong>expose_php = Off</strong></p></blockquote>
<p>Now you need to restart your web server using the following command</p>
<blockquote><p><strong># service httpd restart</strong></p></blockquote>
<p>After making this change PHP will no longer add its signature to the web server header. Though, this step in itself will not make your server more secure, it will prevent remote hosts to easily see that you have PHP installed on the system and what version of Apache you are running on your web server.</p>
Note: There is a rating embedded within this post, please visit this post to rate it.
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/how-to-hide-apache-and-php-versions-from-remote-users/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email and server security features on Diadem servers</title>
		<link>http://www.diademblogs.com/linux/email-and-server-security-features-with-diadem-servers</link>
		<comments>http://www.diademblogs.com/linux/email-and-server-security-features-with-diadem-servers#comments</comments>
		<pubDate>Wed, 14 Oct 2009 05:14:58 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[email security]]></category>
		<category><![CDATA[server security]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=730</guid>
		<description><![CDATA[At Diadem, We have all our servers located in the world's leading datacenter which has a very secure environment with various levels of physical and hardware based protection to keep your data safe from different attacks and vulnerabilities.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><strong>Diagram of Various Tiers of security in datacenter network and at server level </strong></p>
<p style="text-align: center">
<p style="text-align: center"><img class="size-full wp-image-750 alignnone" src="http://www.diademblogs.com/wp-content/uploads/2009/09/security.png" alt="security" width="539" height="686" /></p>
<p style="text-align: center"><strong><br />
</strong>
</p>
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: justify;padding-left: 30px">At Diadem Technologies we take extreme precaution and safeguard of our mailing services to ensure continuous and reliable availability of our mailing services to our clients. We have all our servers located in the world&#8217;s leading datacenter which has a very secure environment with various levels of physical and hardware based protection to keep your data safe from different attacks and vulnerabilities. The servers have multi core Xeon processers and have <a title="Raid 10" href="http://www.diadem.co.in/web-hosting/raid-hosting-services.html" target="_blank"><span style="text-decoration: underline;">RAID10</span></a> array of HDDs for complete  data redundancy so that a hard disk crash would not affect the server operations and would not result in any loss of data on the server.</p>
<p style="text-align: justify;padding-left: 30px">The servers are restricted to be accessed via the Public network so that no unauthorized access to the servers can be made. We use a secure encrypted <span style="text-decoration: underline;"><a href="http://compnetworking.about.com/od/vpn/a/what_is_a_vpn.htm" target="_blank">VPN</a> </span>(virtual private network) connection that connects to the private backend network and hence the servers are only accessible to the legitimate admin users at our end.</p>
<p style="text-align: justify;padding-left: 30px">For network level protection we have in place perimeter hardware firewalls by CISCO systems to block external threats along with CISCO GUARD DDOS (<a href="http://www.cert.org/homeusers/ddos.html" target="_blank"><span style="text-decoration: underline;">Distributed Denial of service</span></a>) and <a href="http://www.cisco.com/en/US/products/sw/secursw/ps2113/index.html" target="_blank"><span style="text-decoration: underline;">CISCO Tipping point IPS </span></a>(Intrusion prevention system). <span style="text-decoration: underline;"><a href="http://www.cisco.com/en/US/products/ps5888/index.html" target="_blank">CISCO GUARD</a> </span>DDOS protects from requests that make a computer resource unavailable to its intended users and brings down the server to halt. CISCO Tipping point IPS is an advanced Intrusion prevention system that is used extensively in critical networks to monitor network and/or system activities for malicious or unwanted behavior and can react, in real-time, to block or prevent those activities. Network-based IPS, for example, will operate in-line to monitor all network traffic for malicious code or attacks. When an attack is detected, it can drop the offending packets while still allowing all other traffic to pass.</p>
<p style="text-align: justify;padding-left: 30px">After passing through the various levels of security mentioned above we have more additional security features on the physical server for protecting the server /server applications and the inbound and outbound mails.</p>
<ul>
<li>At the server we have robust software based firewalls that have been customized to add another level of security in the server.</li>
<li>We have SMTP connection tracking system to check all the connections that are being made to the server for sending or receiving mails. At this level various parameters of a mail are checked like if the IP of the sender is blacklisted in any third party Anti SPAM website, if the sender has a valid mail server, if the reverse DNS of the sender email server is valid.</li>
<li>We have enabled <a href="http://projects.puremagic.com/greylisting/" target="_blank"><span style="text-decoration: underline;">greylisting</span></a> on the server to cut down on SPAM mails before they can enter the server. We have advanced content filtering along with anti spam software, antivirus, malware and anti root kit signatures that are updated regularly to block emerging threats immediately.</li>
<li>Once the mail is scanned with the above filters, we implement a new and unique technique to authorize defined servers only to server your emails through the use of SPF records. Any other servers would not be able to send or receive any mail on behalf of your domain. This will cut down spoofing of your emails.</li>
<li>At the last stage we have SMTP authentication enabled that allows mails to be relayed through our servers only for those who are intended to send mails hence reducing the unwanted relaying of mails.</li>
</ul>
<p><strong>The above illustration highlights our commitment to ensure that we provide our clients with the best of breed technologies to ensure spam free, virus free, efficient and continuous availability of our mailing services for their operations.</strong></p>
<p><em>If you are interested in knowing more about our web hosting services and plan details, you can look us up at <a href="http://www.diadem.co.in" target="_self"> www.diadem.co.in</a>. </em></p>
Note: There is a rating embedded within this post, please visit this post to rate it.
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
<p style="text-align: center">
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/email-and-server-security-features-with-diadem-servers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternate SMTP port through Plesk for Linux</title>
		<link>http://www.diademblogs.com/linux/alternate-smtp-port</link>
		<comments>http://www.diademblogs.com/linux/alternate-smtp-port#comments</comments>
		<pubDate>Sat, 12 Sep 2009 04:20:58 +0000</pubDate>
		<dc:creator>ankur</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk Control Panel]]></category>
		<category><![CDATA[Alternative port in qmail]]></category>
		<category><![CDATA[Alternative SMTP port in Linux Plesk]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=518</guid>
		<description><![CDATA[Nowadays, quite a few ISPs block port# 25 which is the default SMTP port for relaying email for security purposes, so you need to configure an alternative port for SMTP connection. Use instructions below to configure an additional alternate SMTP port in a Plesk Server running in Redhat Enterprise Linux Version 4/5 or CentOS version [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays, quite a few ISPs block port# 25 which is the default SMTP port for relaying email for security purposes, so you need to configure an alternative port for SMTP connection.</p>
<p>Use instructions below to configure an additional alternate SMTP port in a Plesk Server running in Redhat Enterprise Linux Version 4/5 or CentOS version 5 in Qmail  Server.</p>
<p>Choose any unused port and add it to the /etc/services file, for example:</p>
<blockquote><p>smtp_alt        8425/tcp        mail            # Alternate SMTP Port<br />
smtp_alt        8425/udp        mail            # Alternate SMTP Port (optional)</p></blockquote>
<p>Make a copy of /etc/xinetd.d/smtp_psa to /etc/xinetd.d/smtp_psa_alt and correct service line within new file:</p>
<blockquote><p>service smtp_alt</p></blockquote>
<p>Below is a sample of smtp_psa_alt file.</p>
<blockquote><p><span style="color: #333399;">service smtp_alt<br />
{<br />
socket_type     = stream<br />
protocol        = tcp<br />
wait            = no<br />
disable         = no<br />
user            = root<br />
instances       = UNLIMITED<br />
server          = /var/qmail/bin/tcp-env<br />
server_args     = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var<br />
/qmail/bin/cmd5checkpw /var/qmail/bin/true<br />
}</span></p></blockquote>
<p>Restart xinetd and Qmail</p>
<blockquote><p>service xinetd restart<br />
service qmail restart</p></blockquote>
<p>SMTP connections will be accepted on the both standard and 8025 ports. You may also need to reconfigure Horde IMP (webmail) settings so it uses the alternative SMTP port too. This can be done editing the following file in Horde webmail:</p>
<p><strong><em>/etc/psa-horde/imp/servers.php</em></strong> file under <strong><em>smtpport </em></strong>parameter for both IMAP and POP3 servers.</p>
Note: There is a rating embedded within this post, please visit this post to rate it.
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/alternate-smtp-port/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greylisting &#8211; A great way to block incoming spam emails</title>
		<link>http://www.diademblogs.com/linux/greylisting-a-great-way-to-block-incoming-spam-emails</link>
		<comments>http://www.diademblogs.com/linux/greylisting-a-great-way-to-block-incoming-spam-emails#comments</comments>
		<pubDate>Mon, 18 May 2009 05:53:37 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[antispam methods]]></category>
		<category><![CDATA[Block spammers]]></category>
		<category><![CDATA[grelylisting]]></category>
		<category><![CDATA[Greylisting]]></category>
		<category><![CDATA[spam blocking]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=482</guid>
		<description><![CDATA[Greylisting is a new weapon to use against spam. With this new shielding method, by which you may block out huge amounts of spam, you are sure to please your email users! In name, as well as operation, greylisting is related to whitelisting and blacklisting. What happens is that each time a given mailbox receives [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Greylisting is a new weapon to use against spam. With this new shielding method, by which you may block out huge amounts of spam, you are sure to please your email users!</p>
<p style="text-align: justify;">In name, as well as operation, greylisting is related to whitelisting and blacklisting. What happens is that each time a given mailbox receives an email from an unknown contact (ip), that mail is rejected with a &#8220;421 Envelop failure&#8221;-message (This happens at the SMTP layer and is transparent to the end user). This, in the short run, means that all mail gets delayed at least until the sender tries again &#8211; but this is where spam loses out! Most spam is not sent out using RFC compliant MTAs; the spamming software will not try again later.</p>
<p style="text-align: justify;">Spammers often adapt to this technique but that does not really make greylisting useless. This delay in new sender contacts also gives you a lot of extra power. This may be an hour, but in this hour there is a large chance that the mass mailer/spammer has been identified by the more conventional anti-spam software. Thus, when he retries it, is likely that we will know that the mail is a SPAM mail.</p>
<p style="text-align: justify;">Three pieces of information from a delivery attempt, referred 	to a as a <span class="emphasis"><em>triplet</em></span> are used to uniquely 	identify the relationship between a sender and a receiver:</p>
<ul>
<li>The <em>Envelope Sender</em>.</li>
<li>The <em>sending host&#8217;s IP address</em>.</li>
<li>The <em>Envelope Recipient</em>.</li>
</ul>
<p style="text-align: justify;">Perhaps the most significant disadvantage of greylisting is the fact that, like some other spam mitigation techniques, it destroys the near-instantaneous nature of email people have come to expect. A customer of a greylisting ISP can not always rely on getting every email in a pre-determined amount of time. However, the original specification for email states that it is not a guaranteed delivery mechanism and not an instantaneous delivery mechanism. This means that greylisting is a perfectly legitimate process and does not break any protocols or rules. Traditionally, greylisting is very good at flushing out poorly configured mail servers that cannot maintain state, queue email correctly, or retry delivery within a reasonably short time. Mail servers that are properly configured and fully conform to SMTP generally have no problems with greylisting techniques and delays are very small so as not to be a problem.</p>
<p style="text-align: justify;">Some MTAs, upon encountering the temporary failure message from a greylisting server on the first attempt, will send a warning message back to the original sender of the message.<sup><a href="http://en.wikipedia.org/wiki/Greylisting#cite_note-harris-0"></a></sup> The warning message is not a bounce message, but it is often formatted similarly to one and reads like one. This practice often causes the sender to believe that the message has not been delivered, when in fact the message will be delivered successfully at a later time.</p>
<p style="text-align: justify;">Also, legitimate mail might not get delivered if the retry doesn&#8217;t come within the time window the greylisting software uses, or if the retry comes from a different IP address than the original attempt. When the source of an email is a server farm or goes out through an anti-spam mail relay service, it is likely that on the retry a server other than the original server will make the next attempt. Since the IP addresses will be different, the recipient&#8217;s server will fail to recognize that the two attempts are related and refuse the latest connection as well. This can continue until the message ages out of the queue if the number of servers is large enough. This problem can partially be bypassed by identifying and whitelisting such server farms in advance. However, it is not possible on a distributed network the size of the Internet to maintain a complete list of all such server farms.</p>
<p style="text-align: justify;">It needs to be noted that such SMTP delivery server farming techniques can be construed as breaking RFCs detailed above since the original sending machine has absolved itself of the responsibility of mail delivery by tossing it back into the pool, which breaks the state of the mail delivery process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/greylisting-a-great-way-to-block-incoming-spam-emails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creation of additional FTP users for Plesk Linux</title>
		<link>http://www.diademblogs.com/linux/creation-of-additional-ftp-users-for-plesk-linux</link>
		<comments>http://www.diademblogs.com/linux/creation-of-additional-ftp-users-for-plesk-linux#comments</comments>
		<pubDate>Sun, 15 Mar 2009 10:54:02 +0000</pubDate>
		<dc:creator>ankur</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk Control Panel]]></category>
		<category><![CDATA[Additional FTP User in Plesk (Linux)]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Linux Plesk Control Panel]]></category>
		<category><![CDATA[Plesk Tips]]></category>

		<guid isPermaLink="false">http://diadem.co.in/blog/?p=21</guid>
		<description><![CDATA[Plesk is a great Control Panel in  the shared hosting environment, but there are a few things that are not available in the Control Panel. For example, you cannot create additional FTP user in Plesk Control panel for Linux (this support is enabled in Plesk for windows).  But some time it is required to have [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Plesk is a great Control Panel in  the shared hosting environment, but there are a few things that are not available in the Control Panel. For example, you cannot create additional FTP user in Plesk Control panel for Linux (this support is enabled in Plesk for windows).  But some time it is required to have multiple FTP accounts to upload/download data. You need to have shell access since the Plesk control panel won&#8217;t allow it in the GUI.</p>
<p style="text-align: justify;">Assuming you already have an existing domain (example.com) with the primary FTP user (jack) with password (schmidt) with home directory (/var/www/vhosts/example.com), and you wish to create additional ftp users (jill and bob) with the same access privileges as jack:</p>
<h2>Procedure:</h2>
<p>Login to server via SSH as root.</p>
<p>Issue the shell command:</p>
<blockquote><p><strong>#cat /etc/passwd |grep &#8216;jack&#8217;</strong></p></blockquote>
<p>This will show you a line similar to the following:</p>
<blockquote><p><strong>jack:x:10041:10001::/var/www/vhosts/example.com:/bin/false</strong></p></blockquote>
<p style="text-align: justify;">The first number (after the 2nd colon : ) is 10041, so this is the UID of user jack. You will need this in the &#8216;useradd&#8217; lines since useradd wants a number for the UID.</p>
<p>The second number (after the 3rd colon : ) is 10001, this is the GID (psacln), we won&#8217;t need that right now.</p>
<p>Then run the following shell commands to create the users and passwords:</p>
<blockquote><p><strong>#useradd -u 10041 -o -d /var/www/vhosts/example.com -g psacln -s /bin/false jill<br />
#useradd -u 10041 -o -d /var/www/vhosts/example.com -g psacln -s /bin/false bob<br />
#passwd jill (enter the new password and confirm it, does not have to be the same as jack&#8217;s)<br />
#passwd bob (enter the new password and confirm it, does not have to be the same as jack&#8217;s)</strong></p></blockquote>
<p>You should now be able to use an FTP client to login with that user&#8217;s name and password.</p>
<p style="text-align: justify;">User jill and bob should be able to see the example.com docroot just as user jack can. You should NOT be able to browse above the example.com docroot directory. All 3 users should have the same access to the files since they belong to the same group, so no matter which of the users created or edited the file(s), all should be able to access/edit/whatever the same files.</p>
<p><em><strong>(NOTES:</strong></em> Since these are users defined at the OS level, when connecting with an FTP client, they would login with username &#8216;jill&#8217;, &#8216;bob&#8217;, or &#8216;jack&#8217;. They would NOT use &#8216;jill@example.com&#8217;. This also means that <em>USERNAMES MUST BE UNIQUE</em>.<strong><em>)</em></strong><br />
<span id="more-21"></span></p>
<h2>Subdomain FTP users:</h2>
<p style="text-align: justify;">If you wanted to change their default directory and limit them to a Plesk created subdomain docroot, in the useradd line above, you would change &#8220;/var/www/vhosts/example.com&#8221; to &#8220;/var/www/vhosts/example.com/subdomains/subname&#8221;. So if you wanted to create the same users, but for a subdomain called &#8216;admin&#8217;:</p>
<p>Then do the following shell commands to create the users and passwords:</p>
<blockquote><p><strong>#useradd -u 10041 -o -d /var/www/vhosts/example.com/subdomains/admin -g psacln -s /bin/false jill<br />
#useradd -u 10041 -o -d /var/www/vhosts/example.com/subdomains/admin -g psacln -s /bin/false bob<br />
#passwd jill (enter the new password and confirm it, does not have to be the same as jack&#8217;s)<br />
#passwd bob (enter the new password and confirm it, does not have to be the same as jack&#8217;s)</strong></p></blockquote>
<p>Deleting an FTP user:</p>
<blockquote><p><strong>#userdel jill</strong></p></blockquote>
<p><em><strong>(</strong></em><strong><em>Note: </em></strong>this will not delete any files unless you use the -r option which you probably don&#8217;t want to do if they are sharing files!<strong>)</strong><br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/linux/creation-of-additional-ftp-users-for-plesk-linux/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
