<?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>Open source blog, linux, php, python, security &#187; user</title>
	<atom:link href="http://www.alonon.net/tag/user/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonon.net</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 07:23:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>

   <image>
    <title>Open source blog, linux, php, python, security</title>
    <url>http://0.gravatar.com/avatar/5152c5736f5f8dd9570ffb2f9068e8ab.png?s=48</url>
    <link>http://www.alonon.net</link>
   </image>
		<item>
		<title>User groups and Users in Ubuntu</title>
		<link>http://www.alonon.net/user-groups-and-users-in-ubuntu/</link>
		<comments>http://www.alonon.net/user-groups-and-users-in-ubuntu/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 20:54:47 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[group]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=202</guid>
		<description><![CDATA[Today, i opened a new user (account) and gave ssh access a user on my linode vps. Opened new group Created new user Changed user group Check user group is true Giving ssh access to user Restarting sshd Lets firstly add a user in Ubuntu sudo adduser USERNAME Create new group in Ubuntu sudo addgroup &#8230; <a href="http://www.alonon.net/user-groups-and-users-in-ubuntu/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, i opened  a new user (account) and gave ssh access a user on my linode vps.</p>
<ul>
<li>Opened new group</li>
<li>Created new user</li>
<li>Changed user group</li>
<li>Check user group is true</li>
<li>Giving ssh access to user</li>
<li>Restarting sshd</li>
<p>Lets firstly add a user in Ubuntu</p>
<blockquote><p>sudo adduser USERNAME</p>
</blockquote>
<p>Create new group in Ubuntu</p>
<blockquote><p>sudo addgroup GROUPNAME</p>
</blockquote>
<p>Change user group, you can do it with two way. You can edit file or delete user and add again with group</p>
<blockquote><p>sudo vi /etc/group</p>
</blockquote>
<p>change</p>
<blockquote><p>GROUPNAME:x:1002:<b>USERNAME</b></p>
</blockquote>
<p>or delete user and add again </p>
<blockquote><p>sudo userdel USERNAME <br />
sudo useradd USERNAME -g GROUPNAME</p>
</blockquote>
<p>Check user group or learn user group in Ubuntu</p>
<blockquote><p>id USERNAME</p>
</blockquote>
<p>Give ssh access to a user in Ubuntu</p>
<blockquote><p>sudo vi /etc/ssh/sshd_config </p>
</blockquote>
<p>change </p>
<blockquote><p>AllowUsers alonon OTHERUSERNAME NEWUSERNAME</p>
</blockquote>
<p>than</p>
<blockquote><p>sudo service ssh restart </p>
</blockquote>
<p>Also you can delete a user in ubuntu with </p>
<blockquote><p>sudo userdel USERNAME</p>
</blockquote>
<p>Group delete in Ubuntu</p>
<blockquote><p>sudo groupdel GROUPNAME</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/user-groups-and-users-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

