<?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>lock | /var/logs/paulooi.log</title>
	<atom:link href="https://logs.paulooi.com/tag/lock/feed" rel="self" type="application/rss+xml" />
	<link>https://logs.paulooi.com</link>
	<description>Systems Admin, Web Development and etc</description>
	<lastBuildDate>Fri, 24 Sep 2010 01:21:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to Lock Your Machine and Display Application Screen</title>
		<link>https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php</link>
					<comments>https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php#comments</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Fri, 24 Sep 2010 01:20:13 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[keyboard shortcuts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[screensaver]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xlock]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1069</guid>

					<description><![CDATA[<p>We have a couple monitoring applications running on our Linux desktop. To monitor server health, graph utilization through various network monitoring systems. Usually monitoring application required authentication and it will be a security issue if you left your Linux desktop...</p>
The post <a href="https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php">How to Lock Your Machine and Display Application Screen</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="https://logs.paulooi.com/wp-content/uploads/2010/09/0.jpg"><img fetchpriority="high" decoding="async" src="https://logs.paulooi.com/wp-content/uploads/2010/09/0-200x300.jpg" alt="" title="0" width="200" height="300" class="alignleft size-medium wp-image-1070" srcset="https://logs.paulooi.com/wp-content/uploads/2010/09/0-200x300.jpg 200w, https://logs.paulooi.com/wp-content/uploads/2010/09/0.jpg 320w" sizes="(max-width: 200px) 100vw, 200px" /></a>We have a couple monitoring applications running on our Linux desktop. To monitor server health, graph utilization through various network monitoring systems. Usually monitoring application required authentication and it will be a security issue if you left your Linux desktop unlock. </p>
<p>But if you lock your Linux desktop, the screen will goes blank and you can&#8217;t monitor what is projected on your screen. There is a way to do it with screen saver lock, where you can lock your Linux desktop and at the same time to display when application is running on your monitoring screen. </p>
<p><strong>Lock Your Machine with xlock</strong></p>
<p>First, install xlock in your Linux desktop</p>
<pre>
<code>
shell> sudo apt-get install xlock
</code>
</pre>
<p>After xlock has been install, create a file name lockscreen, chmod to 777 and paste the line below in the file </p>
<pre>
<code>
# /usr/bin/xlock -mode image -geometry 0x0 -timeout 1
shell> vi lockscreen
shell> chmod 755 lockscreen
</code>
</pre>
<p>xlock is screen saver lock, but it can disable the screen saver screen by setting display with &#8220;-geometry 0x0&#8221;. </p>
<p>You can also bind your keyboard short cut key to launch the lockscreen script through System > Preferences > Keyboard Shortcuts.</p>The post <a href="https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php">How to Lock Your Machine and Display Application Screen</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create User with useradd in FreeBSD</title>
		<link>https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php</link>
					<comments>https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 01:53:55 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[adduser]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[groupadd]]></category>
		<category><![CDATA[groupdel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[pw]]></category>
		<category><![CDATA[systems]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[unlock]]></category>
		<category><![CDATA[useradd]]></category>
		<category><![CDATA[userdel]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1019</guid>

					<description><![CDATA[<p>You can invoke &#8220;adduser&#8221; command in FreeBSD in order to create new user. Adduser will prompt you for user info like name, uid, gid, shell environment and etc. But sometime we would like to create user access through Bash script....</p>
The post <a href="https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php">How to Create User with useradd in FreeBSD</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>You can invoke &#8220;adduser&#8221; command in FreeBSD in order to create new user. Adduser will prompt you for user info like name, uid, gid, shell environment and etc. But sometime we would like to create user access through Bash script. &#8220;useradd&#8221; command is the good way to do it. </p>
<p>In Linux, using &#8220;useradd&#8221; is pretty common for creating new user access. You can also use &#8220;useradd&#8221; in FreeBSD, but not directly invoke &#8220;useradd&#8221; command. Below is the sample of creating new user in FreeBSD with &#8220;useradd&#8221;.</p>
<pre>
<code>
shell> pw useradd cheryl -c 'Cheryl Windows Admin' -d /home/cheryl -s /usr/local/bin/bash
</code>
</pre>
<p>New user account is created, but don&#8217;t forgot to set password for the account </p>
<pre>
<code>
shell> passwd cheryl
</code>
</pre>
<p>You can run other command like &#8220;userdel&#8221;, &#8220;usermod&#8221;, &#8220;usershow&#8221;, &#8220;groupadd&#8221;, &#8220;groupdel&#8221;, &#8220;groupmod&#8221;, &#8220;lock&#8221;, &#8220;unlock&#8221; on FreeBSD by using the &#8220;pw&#8221; command.  </p>The post <a href="https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php">How to Create User with useradd in FreeBSD</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
