<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Managing Users &#038; Groups, File Permissions &#038; Attributes and Enabling sudo Access on Accounts &#8211; Part 8	</title>
	<atom:link href="https://www.tecmint.com/manage-users-and-groups-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/manage-users-and-groups-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Sat, 27 Sep 2025 05:50:01 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Geoff Gates		</title>
		<link>https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-1423446</link>

		<dc:creator><![CDATA[Geoff Gates]]></dc:creator>
		<pubDate>Wed, 27 Jan 2021 14:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=9519#comment-1423446</guid>

					<description><![CDATA[Hi Gabriel, nice tutorial, enjoyed it. Can you clarify and state best practices, please. I have 2 directories, ACCOUNTS, and OFFICE, both set to 2770 and ACCOUNTS is owned by group &quot;department1&quot;, and OFFICE is owned by group &quot; department 2&quot;  both groups users can only use and see their own directories.

This all works fine but a new user &quot;JOHN&quot; wants to be able to access and modify BOTH directories, can you tell me how to make this happen, whats best practice?]]></description>
			<content:encoded><![CDATA[<p>Hi Gabriel, nice tutorial, enjoyed it. Can you clarify and state best practices, please. I have 2 directories, ACCOUNTS, and OFFICE, both set to 2770 and ACCOUNTS is owned by group &#8220;department1&#8243;, and OFFICE is owned by group &#8221; department 2&#8243;  both groups users can only use and see their own directories.</p>
<p>This all works fine but a new user &#8220;JOHN&#8221; wants to be able to access and modify BOTH directories, can you tell me how to make this happen, whats best practice?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-1294801</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 25 Nov 2019 04:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=9519#comment-1294801</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-1294052&quot;&gt;kiran&lt;/a&gt;.

@Kiran,

To delete multiple users at a time in Linux, use the following command.
&lt;pre&gt;
# for u in user1 user2 user3 user4; do echo &quot;$u&quot;; userdel -r &quot;$u&quot;; done
&lt;/pre&gt;
Alternatively, use the following command to delete multiple system users in Linux.
&lt;pre&gt;
# for user in `cat del.user`;do userdel $user;done
&lt;/pre&gt;
explanation of the above command.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;user&lt;/strong&gt; - It is the variable used to store values from &lt;strong&gt;del.user&lt;/strong&gt; file.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;del.user&lt;/strong&gt; - It is the file with all user names that you want to delete.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;userdel&lt;/strong&gt; - A command used to delete the user.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;userdel -r&lt;/strong&gt; - This command used to delete user&#039;s with home directory.&lt;/li&gt;
&lt;/ul&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-1294052">kiran</a>.</p>
<p>@Kiran,</p>
<p>To delete multiple users at a time in Linux, use the following command.</p>
<pre>
# for u in user1 user2 user3 user4; do echo "$u"; userdel -r "$u"; done
</pre>
<p>Alternatively, use the following command to delete multiple system users in Linux.</p>
<pre>
# for user in `cat del.user`;do userdel $user;done
</pre>
<p>explanation of the above command.</p>
<ul>
<li><strong>user</strong> &#8211; It is the variable used to store values from <strong>del.user</strong> file.</li>
<li><strong>del.user</strong> &#8211; It is the file with all user names that you want to delete.</li>
<li><strong>userdel</strong> &#8211; A command used to delete the user.</li>
<li><strong>userdel -r</strong> &#8211; This command used to delete user&#8217;s with home directory.</li>
</ul>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kiran		</title>
		<link>https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-1294052</link>

		<dc:creator><![CDATA[kiran]]></dc:creator>
		<pubDate>Sat, 23 Nov 2019 06:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=9519#comment-1294052</guid>

					<description><![CDATA[How to delete multiple users at a time?]]></description>
			<content:encoded><![CDATA[<p>How to delete multiple users at a time?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amit Kumar Rai		</title>
		<link>https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-1043592</link>

		<dc:creator><![CDATA[Amit Kumar Rai]]></dc:creator>
		<pubDate>Fri, 05 Oct 2018 05:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=9519#comment-1043592</guid>

					<description><![CDATA[Nice article appreciate your work. But make one correction here for unlocking a user you have to use &quot;&lt;strong&gt;usermod -U username&lt;/strong&gt;&quot; instead of using small &quot;&lt;strong&gt;u&lt;/strong&gt;&quot;, use capital &lt;strong&gt;U&lt;/strong&gt;. Because with small &lt;strong&gt;u&lt;/strong&gt; we can assign new UID for the user. its not for Unlocking a user.]]></description>
			<content:encoded><![CDATA[<p>Nice article appreciate your work. But make one correction here for unlocking a user you have to use &#8220;<strong>usermod -U username</strong>&#8221; instead of using small &#8220;<strong>u</strong>&#8220;, use capital <strong>U</strong>. Because with small <strong>u</strong> we can assign new UID for the user. its not for Unlocking a user.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Akash		</title>
		<link>https://www.tecmint.com/manage-users-and-groups-in-linux/comment-page-1/#comment-905389</link>

		<dc:creator><![CDATA[Akash]]></dc:creator>
		<pubDate>Sat, 05 Aug 2017 07:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=9519#comment-905389</guid>

					<description><![CDATA[Create a bash script to perform user management tasks like creating a new group. The script must check to ensure that no duplicate group names exist on the system.  If a duplicate is found, an error needs to be reported, and the administrator must try another group name.]]></description>
			<content:encoded><![CDATA[<p>Create a bash script to perform user management tasks like creating a new group. The script must check to ensure that no duplicate group names exist on the system.  If a duplicate is found, an error needs to be reported, and the administrator must try another group name.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
