<?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>maximum number &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/maximum-number/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Wed, 25 May 2011 02:35:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Display Failed Login Attempt ?</title>
		<link>https://lifelinux.com/how-to-display-failed-login-attempt/</link>
					<comments>https://lifelinux.com/how-to-display-failed-login-attempt/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 25 May 2011 02:12:19 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[binary format]]></category>
		<category><![CDATA[check the failed login attempts in log file]]></category>
		<category><![CDATA[faillog command]]></category>
		<category><![CDATA[how to get information about failure logs in linux]]></category>
		<category><![CDATA[linux login log]]></category>
		<category><![CDATA[login attempts]]></category>
		<category><![CDATA[login failure]]></category>
		<category><![CDATA[maximum number]]></category>
		<category><![CDATA[pam track failed logins]]></category>
		<category><![CDATA[ssh login]]></category>
		<category><![CDATA[suse login attempts logfile]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=773</guid>

					<description><![CDATA[<p>Under Linux operating system you can use the faillog command to display faillog records or to set login failure limits. faillog command displays the contents of the failure log from /var/log/faillog database file. It also can be used for maintains failure counters and limits. If you run faillog command without arguments, it will display only [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-display-failed-login-attempt/">How To Display Failed Login Attempt ?</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Under Linux operating system you can use the <strong>faillog</strong> command to display faillog records or to set login failure limits. faillog command displays the contents of the failure log from <strong>/var/log/faillog</strong> database file. It also can be used for maintains failure counters and limits. If you run faillog command without arguments, it will display only list of user faillog records who have ever had a login failure.<span id="more-773"></span></p>
<h3>Synopsis</h3>
<pre>faillog [options]</pre>
<h3>Options</h3>
<pre>The options which apply to the faillog command are:
-a, --all
Display faillog records for all users.
-h, --help
Display help message and exit.
-l, --lock-time SEC
Lock account to SEC seconds after failed login.
-m, --maximum MAX
Set maximum number of login failures after the account is disabled to MAX. Selecting MAX value of 0 has the effect of not placing a limit on the number of failed logins. The maximum failure count should always be 0 for root to prevent a denial of services attack against the system.
-r, --reset
Reset the counters of login failures or one record if used with the -u LOGIN option. Write access to /var/log/faillog is required for this option.
-t, --time DAYS
Display faillog records more recent than DAYS. The -t flag overrides the use of -u.
-u, --user LOGIN
Display faillog record or maintains failure counters and limits (if used with -l, -m or -r options) only for user with LOGIN.</pre>
<h3>Examples</h3>
<p>To display all failed login attempt with following command:</p>
<pre># faillog -a</pre>
<p>Sample outputs</p>
<pre>Login       Failures Maximum Latest                   On

root            0        0   01/01/70 07:00:00 +0700
bin             0        0   01/01/70 07:00:00 +0700
daemon          0        0   01/01/70 07:00:00 +0700
adm             0        0   01/01/70 07:00:00 +0700
lp              0        0   01/01/70 07:00:00 +0700
sync            0        0   01/01/70 07:00:00 +0700
shutdown        0        0   01/01/70 07:00:00 +0700
halt            0        0   01/01/70 07:00:00 +0700
mail            0        0   01/01/70 07:00:00 +0700
news            0        0   01/01/70 07:00:00 +0700
uucp            0        0   01/01/70 07:00:00 +0700
operator        0        0   01/01/70 07:00:00 +0700</pre>
<p>To display failed login attempt for user root with following command:</p>
<pre># faillog -u root</pre>
<p>Sample outputs</p>
<pre>Login       Failures Maximum Latest                   On

root            0        0   01/01/70 07:00:00 +0700</pre>
<g:plusone href="https://lifelinux.com/how-to-display-failed-login-attempt/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-display-failed-login-attempt/">How To Display Failed Login Attempt ?</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-display-failed-login-attempt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Increase The Number Of PTY (Pseudo-Terminal Driver)</title>
		<link>https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/</link>
					<comments>https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sat, 14 May 2011 10:27:31 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[cat command]]></category>
		<category><![CDATA[character devices]]></category>
		<category><![CDATA[communication channel]]></category>
		<category><![CDATA[kernel configuration]]></category>
		<category><![CDATA[linux installation]]></category>
		<category><![CDATA[login sessions]]></category>
		<category><![CDATA[master slave]]></category>
		<category><![CDATA[maximum number]]></category>
		<category><![CDATA[pseudo terminal]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sysctl command]]></category>
		<category><![CDATA[vi command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=488</guid>

					<description><![CDATA[<p>What is PTY? A pseudo-terminal (PTY) is a pair of virtual character devices that provide a bidirectional communication channel. One end of the channel is called the master; the other end is called the slave. The slave end of the pseudo-terminal provides an interface that behaves exactly like a classical terminal. A process that expects [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/">How To Increase The Number Of PTY (Pseudo-Terminal Driver)</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>What is PTY?</h3>
<p>A <strong>pseudo-terminal</strong> (PTY) is a pair of virtual character devices that provide a bidirectional communication channel. One end of the channel is called the master; the other end is called the slave. The slave end of the pseudo-terminal provides an interface that behaves exactly like a classical terminal. A process that expects to be connected to a terminal, can open the slave end of a pseudo-terminal and then be driven by a program that has opened the master end. Anything that is written on the master end is provided to the process on the slave end as though it was input typed on a terminal.<span id="more-488"></span></p>
<h3>Check maximum number of PTY</h3>
<p>Login as root and type the following command</p>
<pre>
[root@lifelinux ~]# cat /proc/sys/kernel/pty/max
</pre>
<p>Sample output</p>
<pre>
4096
</pre>
<h3>Increase the maximum number of PTY temporarily</h3>
<p>If you need to increase the PTYs to allow more sessions temporarily. Type the following command</p>
<pre>
[root@lifelinux ~]# echo 5000 > /proc/sys/kernel/pty/max
</pre>
<p>The setting is changed instantly but this setting will be erased after the reboot.</p>
<h3>Increase the maximum number of PTY permanently</h3>
<p>Edit kernel configuration file at /etc/sysctl.conf, enter</p>
<pre>
[root@lifelinux ~]# vi /etc/sysctl.conf
</pre>
<p>Add or edit following config directive</p>
<pre>
kernel.pty.max = 5000
</pre>
<p>To enable the changes made in sysctl.conf you will need to run the command</p>
<pre>
[root@lifelinux ~]# sysctl -p
</pre>
<g:plusone href="https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/">How To Increase The Number Of PTY (Pseudo-Terminal Driver)</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
