<?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>userdel | /var/logs/paulooi.log</title>
	<atom:link href="https://logs.paulooi.com/tag/userdel/feed" rel="self" type="application/rss+xml" />
	<link>https://logs.paulooi.com</link>
	<description>Systems Admin, Web Development and etc</description>
	<lastBuildDate>Fri, 09 Jul 2010 01:53:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<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>
