<?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>The Zoltan Blog &#187; linux</title>
	<atom:link href="http://www.zoltanfagyal.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zoltanfagyal.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 07 Jan 2010 03:37:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Changing files and folders so they are accessable by user and apache as well</title>
		<link>http://www.zoltanfagyal.com/blog/2009/12/16/changing-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=changing-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well</link>
		<comments>http://www.zoltanfagyal.com/blog/2009/12/16/changing-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 22:52:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[priviliges]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2009/12/16/changing-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well/</guid>
		<description><![CDATA[Follow the commands below to change files and folders so they are accessible to users and the apache group as well by adding the user to the apache group and assigning full read, write, execute privileges to user and apache group.
cd /var/www
find . -type d &#124; xargs chmod 775
find . -type f &#124; xargs chmod [...]
<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "Changing files and folders so they are accessable by user and apache as well",
	url: "http://www.zoltanfagyal.com/blog/2009/12/16/changing-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Follow the commands below to change files and folders so they are accessible to users and the apache group as well by adding the user to the apache group and assigning full read, write, execute privileges to user and apache group.<br />
<code>cd /var/www<br />
find . -type d | xargs chmod 775<br />
find . -type f | xargs chmod 664<br />
chown -R paul.apache *</code></p>
<p>I assume paul is the user</p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=Changing+files+and+folders+so+they+are+accessable+by+user+and+apache+as+well&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2009%2F12%2F16%2Fchanging-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2009/12/16/changing-files-and-folders-so-they-are-accessable-by-user-and-apache-as-well/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change owner of files or directories recursively in Linux?</title>
		<link>http://www.zoltanfagyal.com/blog/2009/12/14/how-to-change-owner-of-files-or-directories-recursively-in-linux/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-change-owner-of-files-or-directories-recursively-in-linux</link>
		<comments>http://www.zoltanfagyal.com/blog/2009/12/14/how-to-change-owner-of-files-or-directories-recursively-in-linux/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 23:21:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2009/12/14/how-to-change-owner-of-files-or-directories-recursively-in-linux/</guid>
		<description><![CDATA[To change owner of files or directories recursively in Linux use the following command: (MAKE SURE YU ARE IN THE DIRECTORY YOU WANT TO CHANGE THE FILES/FOLDERS WITHIN)
chown -R user/group   &#8212; (substitute user/group with the user name and group name. 
For example:
chown -R paul/administrator  &#8212; (paul is the name of the user [...]
<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "How to change owner of files or directories recursively in Linux?",
	url: "http://www.zoltanfagyal.com/blog/2009/12/14/how-to-change-owner-of-files-or-directories-recursively-in-linux/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>To change owner of files or directories recursively in Linux use the following command: (MAKE SURE YU ARE IN THE DIRECTORY YOU WANT TO CHANGE THE FILES/FOLDERS WITHIN)<br />
chown -R user/group   &#8212; (substitute user/group with the user name and group name. </p>
<p>For example:<br />
chown -R paul/administrator  &#8212; (paul is the name of the user and administrator is the name of the group)</p>
<p>For future reference, &#8220;-R&#8221; is used by nearly all programs to specify a recursive action.</p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=How+to+change+owner+of+files+or+directories+recursively+in+Linux%3F&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2009%2F12%2F14%2Fhow-to-change-owner-of-files-or-directories-recursively-in-linux%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2009/12/14/how-to-change-owner-of-files-or-directories-recursively-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get/find out the owner of a file or directory in Linux</title>
		<link>http://www.zoltanfagyal.com/blog/2009/12/14/how-to-getfind-out-the-owner-of-a-file-or-directory-in-linux/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-getfind-out-the-owner-of-a-file-or-directory-in-linux</link>
		<comments>http://www.zoltanfagyal.com/blog/2009/12/14/how-to-getfind-out-the-owner-of-a-file-or-directory-in-linux/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 23:16:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2009/12/14/how-to-getfind-out-the-owner-of-a-file-or-directory-in-linux/</guid>
		<description><![CDATA[You can use ls -l command (list information about the FILEs) to find our the file / directory owner and group names. 
More information: http://www.cyberciti.biz/faq/unix-linux-find-file-owner-name/

<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "How to get/find out the owner of a file or directory in Linux",
	url: "http://www.zoltanfagyal.com/blog/2009/12/14/how-to-getfind-out-the-owner-of-a-file-or-directory-in-linux/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>You can use <strong>ls -l</strong> command (list information about the FILEs) to find our the file / directory owner and group names. </p>
<p>More information: <a href="http://www.cyberciti.biz/faq/unix-linux-find-file-owner-name/">http://www.cyberciti.biz/faq/unix-linux-find-file-owner-name/</a></p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=How+to+get%2Ffind+out+the+owner+of+a+file+or+directory+in+Linux&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2009%2F12%2F14%2Fhow-to-getfind-out-the-owner-of-a-file-or-directory-in-linux%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2009/12/14/how-to-getfind-out-the-owner-of-a-file-or-directory-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listing and Editing Cron via Crontab</title>
		<link>http://www.zoltanfagyal.com/blog/2009/05/26/listing-and-editing-cron-via-crontab/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=listing-and-editing-cron-via-crontab</link>
		<comments>http://www.zoltanfagyal.com/blog/2009/05/26/listing-and-editing-cron-via-crontab/#comments</comments>
		<pubDate>Tue, 26 May 2009 18:54:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[crontab]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2009/05/26/listing-and-editing-cron-via-crontab/</guid>
		<description><![CDATA[To list and edit crons, log in via SSH and use the following commands:
crontab -l   to list crontabs
crontab -e  to edit crontabs
editing is done in VI. Basic VI commands: http://www.cs.colostate.edu/helpdocs/vi.html

<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "Listing and Editing Cron via Crontab",
	url: "http://www.zoltanfagyal.com/blog/2009/05/26/listing-and-editing-cron-via-crontab/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>To list and edit crons, log in via SSH and use the following commands:</p>
<p><code>crontab -l</code>   to list crontabs<br />
<code>crontab -e</code>  to edit crontabs</p>
<p>editing is done in VI. Basic VI commands: <a href="http://www.cs.colostate.edu/helpdocs/vi.html">http://www.cs.colostate.edu/helpdocs/vi.html</a></p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=Listing+and+Editing+Cron+via+Crontab&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2009%2F05%2F26%2Flisting-and-editing-cron-via-crontab%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2009/05/26/listing-and-editing-cron-via-crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Midnight Commander 4.6.1</title>
		<link>http://www.zoltanfagyal.com/blog/2008/08/25/how-to-install-midnight-commander-461/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-install-midnight-commander-461</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/08/25/how-to-install-midnight-commander-461/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 23:29:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mc]]></category>
		<category><![CDATA[midnight commander]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/08/25/how-to-install-midnight-commander-461/</guid>
		<description><![CDATA[Midnight Commander is a very useful file manager.
Install Midnight Commander
# wget http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz
# tar zxvf mc-4.6.1.tar.gz
# cd mc-4.6.1
# ./configure
# make
# make install
To run Midnight commander use 

<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "How to install Midnight Commander 4.6.1",
	url: "http://www.zoltanfagyal.com/blog/2008/08/25/how-to-install-midnight-commander-461/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Midnight Commander is a very useful file manager.</p>
<p>Install Midnight Commander<br />
# wget http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz<br />
# tar zxvf mc-4.6.1.tar.gz<br />
# cd mc-4.6.1<br />
# ./configure<br />
# make<br />
# make install</p>
<p>To run Midnight commander use </p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=How+to+install+Midnight+Commander+4.6.1&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2008%2F08%2F25%2Fhow-to-install-midnight-commander-461%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/08/25/how-to-install-midnight-commander-461/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add users in &#8216;AllowUsers&#8217; of SSH for SSH access</title>
		<link>http://www.zoltanfagyal.com/blog/2008/05/22/add-users-in-allowusers-of-ssh-for-ssh-access/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=add-users-in-allowusers-of-ssh-for-ssh-access</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/05/22/add-users-in-allowusers-of-ssh-for-ssh-access/#comments</comments>
		<pubDate>Thu, 22 May 2008 13:35:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/05/22/add-users-in-allowusers-of-ssh-for-ssh-access/</guid>
		<description><![CDATA[<p></p>

<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "Add users in &#8216;AllowUsers&#8217; of SSH for SSH access",
	url: "http://www.zoltanfagyal.com/blog/2008/05/22/add-users-in-allowusers-of-ssh-for-ssh-access/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>If users are not listed in &#8216;AllowUsers&#8217; list for SSH, these users will be blocked from accessing the server via SSH.<br />
Users will need to be added to the /etc/ssh/sshd_config file. </p>
<p>add this line at the end of the file: AllowUsers username1</p>
<p>Don&#8217;t forget to <a href="http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/">restart the server</a>.</p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=Add+users+in+%26%238216%3BAllowUsers%26%238217%3B+of+SSH+for+SSH+access&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2008%2F05%2F22%2Fadd-users-in-allowusers-of-ssh-for-ssh-access%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/05/22/add-users-in-allowusers-of-ssh-for-ssh-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit Sudoers File &#8211; visudo</title>
		<link>http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=edit-sudoers-file-visudo</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/#comments</comments>
		<pubDate>Tue, 06 May 2008 02:52:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[visudo sudo sudoers]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/</guid>
		<description><![CDATA[1) Open the sudoers file safely:
visudo command edits the sudoers file in a safe fashion.
Attention: you can only run visudo as root
This is a vi editor. Here are some basic vi commands:
	To enter vi insert mode: i
	To enter vi command mode: [esc]
	To exit vi and save changes: ZZ   or  :wq
	To exit vi [...]
<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "Edit Sudoers File &#8211; visudo",
	url: "http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p><strong>1) Open the sudoers file safely:</strong><br />
visudo command edits the sudoers file in a safe fashion.<br />
<strong>Attention: you can only run visudo as root</strong></p>
<p>This is a <a href="http://en.wikipedia.org/wiki/Vi">vi editor</a>. Here are some <a href="http://www.cs.rit.edu/~cslab/vi.html">basic vi commands:</a></p>
<p>	To enter vi insert mode: i<br />
	To enter vi command mode: [esc]<br />
	To exit vi and save changes: ZZ   or  :wq<br />
	To exit vi without saving changes: :q!</p>
<p><strong>2) Update the sudoers file</strong><br />
Update the part where you see:<br />
<code>## Allow root to run any commands anywhere<br />
root    ALL=(ALL)       ALL</code></p>
<p>Add the desired user name and ALL=(ALL)       ALL. For example:<br />
user1    ALL=(ALL)       ALL</p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=Edit+Sudoers+File+%26%238211%3B+visudo&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2008%2F05%2F05%2Fedit-sudoers-file-visudo%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to restart SSH (restarting SSHD) remotely?</title>
		<link>http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-restart-ssh-restarting-sshd-remotely</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:33:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/</guid>
		<description><![CDATA[There are a few different ways to restart SSHD remotely.
You will need root access in order to do this.
1) /etc/init.d/sshd restart
2) kill `cat /var/run/sshd.pid` &#038;&#038; /usr/sbin/sshd

<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "How to restart SSH (restarting SSHD) remotely?",
	url: "http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>There are a few different ways to restart SSHD remotely.<br />
You will need root access in order to do this.</p>
<p>1) /etc/init.d/sshd restart</p>
<p>2) kill `cat /var/run/sshd.pid` &#038;&#038; /usr/sbin/sshd</p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=How+to+restart+SSH+%28restarting+SSHD%29+remotely%3F&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2008%2F03%2F01%2Fhow-to-restart-ssh-restarting-sshd-remotely%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to disable root login in Linux</title>
		<link>http://www.zoltanfagyal.com/blog/2008/03/01/how-to-disable-root-login-in-linux/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-disable-root-login-in-linux</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/03/01/how-to-disable-root-login-in-linux/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:28:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[disable root]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/03/01/how-to-disable-root-login-in-linux/</guid>
		<description><![CDATA[It is a good idea to disable root login for security purposes and use your login name and use sudo to get root privileges.
First of all, make sure you have your own login name and you can get root privileges by using sudo.
So, open up /etc/ssh/sshd_config and comment out
AllowUsers root
so it will look like:
#AllowUsers admin
You [...]
<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "How to disable root login in Linux",
	url: "http://www.zoltanfagyal.com/blog/2008/03/01/how-to-disable-root-login-in-linux/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>It is a good idea to disable root login for security purposes and use your login name and use sudo to get root privileges.</p>
<p>First of all, make sure you have your own login name and you can get root privileges by using sudo.</p>
<p>So, open up /etc/ssh/sshd_config and comment out<br />
<code>AllowUsers root</code></p>
<p>so it will look like:</p>
<p><code>#AllowUsers admin</code></p>
<p>You will need to <a href="http://www.zoltanfagyal.com/blog/2008/03/01/how-to-restart-ssh-restarting-sshd-remotely/">restart sshd</a> in order to have this setting take effect.</p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=How+to+disable+root+login+in+Linux&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2008%2F03%2F01%2Fhow-to-disable-root-login-in-linux%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/03/01/how-to-disable-root-login-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux shell restricting access</title>
		<link>http://www.zoltanfagyal.com/blog/2007/11/14/linux-shell-restricting-access/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=linux-shell-restricting-access</link>
		<comments>http://www.zoltanfagyal.com/blog/2007/11/14/linux-shell-restricting-access/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 02:23:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2007/11/14/linux-shell-restricting-access/</guid>
		<description><![CDATA[<br />

<script type="text/javascript">
SHARETHIS.addEntry(
	{
	title: "Linux shell restricting access",
	url: "http://www.zoltanfagyal.com/blog/2007/11/14/linux-shell-restricting-access/"
	}
	
	
);
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Block shell access for user vivek (vivek user account must exits):</p>
<p>Example: # usermod -s /usr/sbin/nologin vivek</p>
<p>Resource: <a href="http://www.cyberciti.biz/tips/howto-linux-shell-restricting-access.html">http://www.cyberciti.biz/tips/howto-linux-shell-restricting-access.html</a></p>
<p><a href="http://sharethis.com/item?&wp=2.9.1&amp;publisher=ffb9ede2-c4cf-4886-be36-31f3bd513e64&amp;title=Linux+shell+restricting+access&amp;url=http%3A%2F%2Fwww.zoltanfagyal.com%2Fblog%2F2007%2F11%2F14%2Flinux-shell-restricting-access%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2007/11/14/linux-shell-restricting-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
