<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux-for-Sys-Ads%2FC2%2FAssigning-groups-on-user-creation%2FEnglish</id>
		<title>Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux-for-Sys-Ads%2FC2%2FAssigning-groups-on-user-creation%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;action=history"/>
		<updated>2026-04-24T21:03:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;diff=44183&amp;oldid=prev</id>
		<title>Nancyvarkey at 11:22, 31 August 2018</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;diff=44183&amp;oldid=prev"/>
				<updated>2018-08-31T11:22:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:22, 31 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*We can understand '''group''' as a '''collection of users'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*We can understand '''group''' as a '''collection of users'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*In a college system, a '''group '''can be '''different departments''' like '''CSE''', '''Electrical''' etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*In a college system, a '''group '''can be '''different departments''' like '''CSE''', '''Electrical''' etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Groups can also be different clubs like '''music club''',''' sports club, literature club,''' etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;Groups&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;can also be different clubs like '''music club''',''' sports club, literature club,''' etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;diff=44182&amp;oldid=prev</id>
		<title>Nancyvarkey at 11:21, 31 August 2018</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;diff=44182&amp;oldid=prev"/>
				<updated>2018-08-31T11:21:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:21, 31 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 7:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 7:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| *Every '''user''' must belong to one and only one''' primary group'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Every '''user''' must belong to one and only one''' primary group'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*This is the default''' group''' for the '''user''' when the '''user '''logs in. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*This is the default''' group''' for the '''user''' when the '''user '''logs in. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*For example: a student must belong to one and only one '''department'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*For example: a student must belong to one and only one '''department'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 8:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 8:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| *A '''user''' can be a member of more than one '''group'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*A '''user''' can be a member of more than one '''group'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Those '''groups '''are called '''supplementary groups'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Those '''groups '''are called '''supplementary groups'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*These '''groups '''are assigned to the '''user''', to provide him additional '''access''' to resources.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*These '''groups '''are assigned to the '''user''', to provide him additional '''access''' to resources.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 9&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 9&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Let’s take an example.*'''User radha '''belongs to the '''CSE department'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Let’s take an example.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''User radha '''belongs to the '''CSE department'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*She is also a member of the '''music club '''and '''sports club'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*She is also a member of the '''music club '''and '''sports club'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*In this scenario, '''CSE''' is the '''primary group '''for '''radha'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*In this scenario, '''CSE''' is the '''primary group '''for '''radha'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 122:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| *Alternatively, we can mention a '''GID '''of our choice.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Alternatively, we can mention a '''GID '''of our choice.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*For this, we need to use '''hyphen gid''' option along with the '''addgroup command'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*For this, we need to use '''hyphen gid''' option along with the '''addgroup command'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''GIDs''' in the range of''' 0 '''to''' 999''' are '''reserved''' for the '''system users'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''GIDs''' in the range of''' 0 '''to''' 999''' are '''reserved''' for the '''system users'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 288:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 292:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Notice, &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Notice, &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;User &lt;/del&gt;'''radha''' is in group '''cse''' which has '''GID''' 1002&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;User &lt;/ins&gt;radha''' is in group '''cse''' which has '''GID''' 1002&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That is the''' primary group''' for '''radha'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That is the''' primary group''' for '''radha'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next, there is the list of '''groups''',where '''user radha '''is member of.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next, there is the list of '''groups''', where '''user radha '''is member of.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Notice, along with '''primary group cse, radha''' is also a member of two '''supplementary groups music underscore club''' and '''sports underscore club.'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Notice, along with '''primary group cse, radha''' is also a member of two '''supplementary groups music underscore club''' and '''sports underscore club.'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 329:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 333:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 13:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| Slide 13:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| So, remember*'''/etc/passwd''' shows '''primary group ID '''for a '''user'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| So, remember&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''/etc/passwd''' shows '''primary group ID '''for a '''user'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''/etc/group file''' shows list of '''usernames''' who have the''' group '''as a '''supplementary group'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''/etc/group file''' shows list of '''usernames''' who have the''' group '''as a '''supplementary group'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 391:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 396:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| As an assignment-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| As an assignment-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;Create two '''groups: '''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1)&lt;/ins&gt;Create two '''groups: '''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#'''cultural '''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#'''cultural '''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#'''literature'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#'''literature'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 399:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 404:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assignment(Cont.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assignment(Cont.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;Now create a''' user ajay''' with &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#'''Home directory''' as '''/home/ajay underscore dir '''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2)&lt;/ins&gt;Now create a''' user ajay''' with &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#'''User id '''as''' 1090'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#'''Home directory''' as '''/home/ajay underscore dir '''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#'''Primary group '''as '''cultural'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#'''User id '''as''' 1090'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#'''Supplementary group '''as '''literature'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#'''Primary group '''as '''cultural'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;#Add '''comments &amp;quot;Native: Mumbai&amp;quot;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#'''Supplementary group '''as '''literature'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Add '''comments &amp;quot;Native: Mumbai&amp;quot;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;diff=44174&amp;oldid=prev</id>
		<title>Pravin1389: Created page with &quot;'''Title of script: Assigning Groups on User Creation'''  '''Author: Antara Roy Choudhury'''  '''Keywords: group, primary group, supplementary group, assigning group, specify...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux-for-Sys-Ads/C2/Assigning-groups-on-user-creation/English&amp;diff=44174&amp;oldid=prev"/>
				<updated>2018-08-31T09:14:10Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of script: Assigning Groups on User Creation&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Author: Antara Roy Choudhury&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Keywords: group, primary group, supplementary group, assigning group, specify...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of script: Assigning Groups on User Creation'''&lt;br /&gt;
&lt;br /&gt;
'''Author: Antara Roy Choudhury'''&lt;br /&gt;
&lt;br /&gt;
'''Keywords: group, primary group, supplementary group, assigning group, specify GID, /etc/group file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 1: Introduction&lt;br /&gt;
|| Hello and welcome to the spoken tutorial on '''Assigning Groups '''on''' User Creation '''in''' Linux.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 2: Learning Objectives&lt;br /&gt;
|| In this tutorial we will learn about&lt;br /&gt;
&lt;br /&gt;
*Creating a''' user group'''&lt;br /&gt;
*'''/etc/group file'''&lt;br /&gt;
*Assigning''' groups '''to '''users '''at the time of''' account creation'''&lt;br /&gt;
&lt;br /&gt;
We will do this through some examples.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 3: System requirement&lt;br /&gt;
|| To record this tutorial, I am using '''Ubuntu Linux 16.04 OS'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide:4 Prerequisite&lt;br /&gt;
|| To practice this tutorial, &lt;br /&gt;
&lt;br /&gt;
*you should have gone through '''Linux System Administration '''tutorials''' '''on this website.&lt;br /&gt;
*you must have '''root access''' to your computer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 5:&lt;br /&gt;
|| What is a '''group '''in''' Linux'''?&lt;br /&gt;
&lt;br /&gt;
*We can understand '''group''' as a '''collection of users'''.&lt;br /&gt;
*In a college system, a '''group '''can be '''different departments''' like '''CSE''', '''Electrical''' etc.&lt;br /&gt;
*Groups can also be different clubs like '''music club''',''' sports club, literature club,''' etc.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 6:&lt;br /&gt;
|| '''Linux''' supports two types of '''groups'''.&lt;br /&gt;
&lt;br /&gt;
*'''Primary group '''and''' '''&lt;br /&gt;
* '''Supplementary group '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 7:&lt;br /&gt;
|| *Every '''user''' must belong to one and only one''' primary group'''.&lt;br /&gt;
*This is the default''' group''' for the '''user''' when the '''user '''logs in. &lt;br /&gt;
*For example: a student must belong to one and only one '''department'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 8:&lt;br /&gt;
|| *A '''user''' can be a member of more than one '''group'''. &lt;br /&gt;
*Those '''groups '''are called '''supplementary groups'''.&lt;br /&gt;
*These '''groups '''are assigned to the '''user''', to provide him additional '''access''' to resources.&lt;br /&gt;
&lt;br /&gt;
More on '''access''' mechanism or '''permission''' will be discussed in subsequent tutorials. &lt;br /&gt;
|-&lt;br /&gt;
|| Slide 9&lt;br /&gt;
|| Let’s take an example.*'''User radha '''belongs to the '''CSE department'''.&lt;br /&gt;
*She is also a member of the '''music club '''and '''sports club'''.&lt;br /&gt;
*In this scenario, '''CSE''' is the '''primary group '''for '''radha'''.&lt;br /&gt;
*And she is a member of two '''supplementary groups '''- '''music club '''and '''sports club'''.&lt;br /&gt;
&lt;br /&gt;
Let’s create this scenario in our system.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| First, we will create '''group CSE'''.&lt;br /&gt;
&lt;br /&gt;
And we will use '''addgroup command '''in order to create this '''group'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Press Ctrl+Alt+T&lt;br /&gt;
|| Open the '''Terminal '''by pressing '''Ctrl, Alt and T '''keys simultaneously on the keyboard.&lt;br /&gt;
|-&lt;br /&gt;
|| Type &lt;br /&gt;
&lt;br /&gt;
sudo su&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| Now, we should login as '''superuser '''or '''root user'''.&lt;br /&gt;
&lt;br /&gt;
To do so type: '''sudo space su '''and press '''Enter.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
Password of your account&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| Type the admin '''password '''and then press '''Enter'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight # prompt&lt;br /&gt;
|| Notice, our '''login prompt '''has changed to''' '''a '''hash''' symbol.&lt;br /&gt;
&lt;br /&gt;
This indicates that we are in the '''root user '''mode.&lt;br /&gt;
|-&lt;br /&gt;
|| Only narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
addgroup cse [Enter]&lt;br /&gt;
|| Now type '''addgroup space cse'''&lt;br /&gt;
|-&lt;br /&gt;
|| Show the output&lt;br /&gt;
&lt;br /&gt;
{Suppose output is &lt;br /&gt;
&lt;br /&gt;
Adding group cse (GID 1009)}&lt;br /&gt;
|| This will create '''group cse'''.&lt;br /&gt;
&lt;br /&gt;
'''Linux''' automatically allocates a '''Unique ID''' for each '''group''' that is created.&lt;br /&gt;
&lt;br /&gt;
Here, '''GID, '''that is '''Group ID''' is '''1002'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 10&lt;br /&gt;
|| *Alternatively, we can mention a '''GID '''of our choice.&lt;br /&gt;
*For this, we need to use '''hyphen gid''' option along with the '''addgroup command'''.&lt;br /&gt;
*'''GIDs''' in the range of''' 0 '''to''' 999''' are '''reserved''' for the '''system users'''.&lt;br /&gt;
*So, always choose a number greater than or equal to '''1000''' as '''GID'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let’s us create a '''group Music_club''' with the''' GID 1012.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Type:&lt;br /&gt;
&lt;br /&gt;
addgroup -gid 1012 Music_club&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| On the '''terminal '''type:&lt;br /&gt;
&lt;br /&gt;
'''addgroup space hyphen gid 1012 space Music underscore club '''&lt;br /&gt;
&lt;br /&gt;
Here type '''M''' is in '''capital letter.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Show the output&lt;br /&gt;
|| Notice, it is showing some error.&lt;br /&gt;
&lt;br /&gt;
Actually, we should have written '''m '''in '''lowercase '''letter'''.'''&lt;br /&gt;
&lt;br /&gt;
Let’s try that.&lt;br /&gt;
|-&lt;br /&gt;
|| Press Up key&lt;br /&gt;
|| Press the '''Up''' arrow key to get the previously executed command. &lt;br /&gt;
|-&lt;br /&gt;
|| Change Music_club to music_club [Enter]&lt;br /&gt;
|| Change '''capital M''' to '''m''' in '''lowercase''' letter.&lt;br /&gt;
|-&lt;br /&gt;
|| Show the output&lt;br /&gt;
|| The '''command''' is working now.&lt;br /&gt;
&lt;br /&gt;
So, always remember to use '''lowercase '''letters while writing '''group '''names. &lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
addgroup sports_club&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| Similarly let’s create another '''group sports underscore club'''.&lt;br /&gt;
&lt;br /&gt;
This time no need to mention the '''GID'''.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Now we have three groups '''cse, music underscore club '''and''' sports underscore club'''.&lt;br /&gt;
|-&lt;br /&gt;
|| cat /etc/group&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| How can we check the details of the created '''group'''?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type '''cat space /etc/group'''&lt;br /&gt;
|-&lt;br /&gt;
|| Show file opened&lt;br /&gt;
|| There will be an entry in this file for every '''user''' on the '''system.'''&lt;br /&gt;
|-&lt;br /&gt;
|| slide&lt;br /&gt;
&lt;br /&gt;
Highlight on the slide&lt;br /&gt;
&lt;br /&gt;
|| Each line has four '''fields''' separated by a '''colon '''symbol.&lt;br /&gt;
&lt;br /&gt;
The first '''field''' is the name of the '''group.'''&lt;br /&gt;
&lt;br /&gt;
The second '''field''' is the '''encrypted password''' for the '''group'''.&lt;br /&gt;
&lt;br /&gt;
Third '''field''' shows the '''GID '''as a number.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
Highlight on the slide&lt;br /&gt;
|| Fourth '''field''' contains the list of '''users''' that belong to that '''group '''separated by '''commas'''.&lt;br /&gt;
&lt;br /&gt;
This list contains all '''users''' who have this '''group''' as a '''secondary group.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Show file /etc/group&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Highlight groups cse, music_club, sports_club&lt;br /&gt;
|| We can see the entries for '''cse, music underscore club''' and '''sports underscore club groups.'''&lt;br /&gt;
&lt;br /&gt;
Notice, '''music underscore club''' has '''Gid 1012 '''which we mentioned during '''group '''creation.&lt;br /&gt;
&lt;br /&gt;
Here, the fourth '''field '''is empty for all the '''groups'''.&lt;br /&gt;
&lt;br /&gt;
This is because there are no members in these '''groups''', as of now.&lt;br /&gt;
&lt;br /&gt;
The '''password field '''is '''x'''. &lt;br /&gt;
&lt;br /&gt;
We will discuss about the '''password field '''and list of members '''field '''in detail, in a separate tutorial on '''groups'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Retain same screen&lt;br /&gt;
|| Now, how can we specify the '''primary '''and''' supplementary groups''' while creating the '''user'''?&lt;br /&gt;
&lt;br /&gt;
Let us see an example.&lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
adduser -ingroup cse radha &lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| To specify that '''user radha '''belongs to the '''primary group cse''', type:&lt;br /&gt;
&lt;br /&gt;
'''adduser space hyphen ingroup space cse space radha '''&lt;br /&gt;
|-&lt;br /&gt;
|| Type &lt;br /&gt;
&lt;br /&gt;
pass_radha&lt;br /&gt;
&lt;br /&gt;
[enter]&lt;br /&gt;
|| Type the '''password '''as '''pass underscore radha''' and press '''Enter.'''&lt;br /&gt;
&lt;br /&gt;
Retype the same password and press '''Enter.'''&lt;br /&gt;
&lt;br /&gt;
Type name as '''Radha''' with '''capital R'''.&lt;br /&gt;
&lt;br /&gt;
And proceed as we have done before.&lt;br /&gt;
|-&lt;br /&gt;
|| Show output&lt;br /&gt;
|| We have successfully created '''user radha''' with '''primary group cse'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight ingroup &lt;br /&gt;
|| So, you should use '''ingroup option''' to specify''' primary group'''’s name while creating the '''user'''.&lt;br /&gt;
|-&lt;br /&gt;
|| adduser radha music_club&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| As we know, '''radha''' is a member of '''music underscore club'''.&lt;br /&gt;
&lt;br /&gt;
So '''music underscore club''' will be the '''supplementary group''' for the '''user radha.'''&lt;br /&gt;
&lt;br /&gt;
Type '''adduser space radha space music underscore club'''&lt;br /&gt;
|-&lt;br /&gt;
|| Retain same screen&lt;br /&gt;
|| Remember. &lt;br /&gt;
&lt;br /&gt;
To add '''supplementary groups''' using '''adduser command''', you should have an existing '''user'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight &lt;br /&gt;
&lt;br /&gt;
adduser -ingroup cse radha &lt;br /&gt;
&lt;br /&gt;
command executed previously&lt;br /&gt;
|| Here, we have first created the '''user radha.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight&lt;br /&gt;
&lt;br /&gt;
adduser radha music_club&lt;br /&gt;
|| Then added '''radha''' to the '''supplementary group''' using '''adduser command.'''&lt;br /&gt;
|-&lt;br /&gt;
|| adduser radha sports_club&lt;br /&gt;
|| If you need to specify that '''radha''' is also a member of '''sports club '''type: &lt;br /&gt;
&lt;br /&gt;
'''adduser space radha space sports underscore club'''&lt;br /&gt;
|-&lt;br /&gt;
|| id radha&lt;br /&gt;
|| Let’s check '''user radha'''’s details using '''id command'''.&lt;br /&gt;
&lt;br /&gt;
Type '''id space radha'''&lt;br /&gt;
|-&lt;br /&gt;
|| Show the output&lt;br /&gt;
&lt;br /&gt;
|| Notice, &lt;br /&gt;
&lt;br /&gt;
User '''radha''' is in group '''cse''' which has '''GID''' 1002&lt;br /&gt;
&lt;br /&gt;
That is the''' primary group''' for '''radha'''.&lt;br /&gt;
&lt;br /&gt;
Next, there is the list of '''groups''',where '''user radha '''is member of.&lt;br /&gt;
&lt;br /&gt;
Notice, along with '''primary group cse, radha''' is also a member of two '''supplementary groups music underscore club''' and '''sports underscore club.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
grep radha /etc/group&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| Now let’s check our '''/etc/group file''' for the entry of '''radha'''&lt;br /&gt;
&lt;br /&gt;
Type: '''grep space radha space /etc/group'''&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight appropriately in the output&lt;br /&gt;
|| Notice, you can see '''user radha''' is the member of '''groups music underscore club''' and '''sports underscore club'''&lt;br /&gt;
&lt;br /&gt;
But not as a member of the '''primary group''' that is '''cse'''.&lt;br /&gt;
&lt;br /&gt;
So the '''group file''' will list only the''' supplementary groups''' in which the '''user''' is associated.&lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
grep radha /etc/passwd&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| Check the '''/etc/passwd file''' for the details of the '''username radha.'''&lt;br /&gt;
&lt;br /&gt;
Type '''grep space radha space /etc/passwd'''&lt;br /&gt;
|-&lt;br /&gt;
|| Show the output&lt;br /&gt;
|| Notice, the fourth '''field''' is '''1002'''&lt;br /&gt;
&lt;br /&gt;
It is the '''GID''' for the '''group cse'''.&lt;br /&gt;
&lt;br /&gt;
It is the '''primary group''' for '''radha.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 13:&lt;br /&gt;
|| So, remember*'''/etc/passwd''' shows '''primary group ID '''for a '''user'''&lt;br /&gt;
*'''/etc/group file''' shows list of '''usernames''' who have the''' group '''as a '''supplementary group'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 14:&lt;br /&gt;
|| Command '''id space username''' shows the details of both''' primary '''and''' supplementary groups'''&lt;br /&gt;
|-&lt;br /&gt;
|| Retain same screen&lt;br /&gt;
|| You can also specify the '''group id''' instead of''' group'''’s name while creating the '''user'''.&lt;br /&gt;
&lt;br /&gt;
Let us create a '''user suraj''' and assign him to the '''group cse''' using the '''gid'''.&lt;br /&gt;
&lt;br /&gt;
We know''' group cse''' has '''GID 1002''' &lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
adduser -gid 1009 suraj&lt;br /&gt;
&lt;br /&gt;
[Enter]&lt;br /&gt;
|| So type: '''adduser space hyphen gid space 1002 space suraj'''&lt;br /&gt;
&lt;br /&gt;
You should use '''hyphen gid option''' to specify the '''group ID'''.&lt;br /&gt;
&lt;br /&gt;
Use '''pass underscore suraj''' as the '''password'''&lt;br /&gt;
&lt;br /&gt;
Retype the '''password'''&lt;br /&gt;
&lt;br /&gt;
Full Name as '''Suraj''' with '''S''' in capital letter.&lt;br /&gt;
&lt;br /&gt;
Proceed as we have done for the previous '''users'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight the output&lt;br /&gt;
|| We have successfully created '''user suraj '''with '''primary group cse.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Type&lt;br /&gt;
&lt;br /&gt;
exit and press '''Enter'''&lt;br /&gt;
|| To exit from the '''root user access''', type '''exit'''&lt;br /&gt;
|-&lt;br /&gt;
|| Retain same screen&lt;br /&gt;
|| This brings us to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
|| Display Slide 15&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
|| In this tutorial we learnt about-&lt;br /&gt;
&lt;br /&gt;
*Creating''' primary group'''&lt;br /&gt;
*Assigning '''user '''to the '''primary group'''&lt;br /&gt;
*Assigning''' user '''to the '''supplementary group'''&lt;br /&gt;
*'''/etc/group file'''&lt;br /&gt;
*Assigning''' groups '''to''' users '''at the time of''' account creation'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Display Slide 16&lt;br /&gt;
&lt;br /&gt;
Assignment&lt;br /&gt;
&lt;br /&gt;
|| As an assignment-&lt;br /&gt;
&lt;br /&gt;
#Create two '''groups: '''&lt;br /&gt;
##'''cultural '''&lt;br /&gt;
##'''literature'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 17&lt;br /&gt;
&lt;br /&gt;
Assignment(Cont.)&lt;br /&gt;
|| #Now create a''' user ajay''' with &lt;br /&gt;
##'''Home directory''' as '''/home/ajay underscore dir '''&lt;br /&gt;
##'''User id '''as''' 1090'''&lt;br /&gt;
##'''Primary group '''as '''cultural'''&lt;br /&gt;
##'''Supplementary group '''as '''literature'''&lt;br /&gt;
##Add '''comments &amp;quot;Native: Mumbai&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 18&lt;br /&gt;
&lt;br /&gt;
Assignment(Cont.)&lt;br /&gt;
|| 3) Use the '''command id''' to check the '''user '''details&lt;br /&gt;
&lt;br /&gt;
4) Check the details of '''user ajay '''in '''/etc/passwd '''and '''/etc/group files'''&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000001;padding-top:0.106cm;padding-bottom:0.106cm;padding-left:0.071cm;padding-right:0.106cm;&amp;quot;&lt;br /&gt;
|| Slide 19: About Spoken Tutorial project&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000001;padding-top:0.106cm;padding-bottom:0.106cm;padding-left:0.071cm;padding-right:0.106cm;&amp;quot;&lt;br /&gt;
|| Slide 20: Spoken Tutorial workshops&lt;br /&gt;
|| The Spoken Tutorial Project team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 21: Forum for specific questions:&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000001;padding-top:0.106cm;padding-bottom:0.106cm;padding-left:0.071cm;padding-right:0.106cm;&amp;quot;&lt;br /&gt;
|| Slide 22: Acknowledgement&lt;br /&gt;
|| Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.&lt;br /&gt;
&lt;br /&gt;
More information on this mission is available at this link.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 23: Thank You&lt;br /&gt;
|| The script has been contributed by Antara and this is Praveen from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pravin1389</name></author>	</entry>

	</feed>