Changes

Jump to: navigation, search

OPS235 Lab 4

18 bytes added, 11:20, 28 September 2016
no edit summary
#Issue the command <b><code><span style="color:#3366CC;font-size:1.2em;">su -</span></code></b> to login to your root account.
#Issue the following command to create a group called '''welcome''': <b><code><span style="color:#3366CC;font-size:1.2em;">groupadd welcome</span></code></b>
#Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">grep welcome /etc/group</span></code></b> file to confirm that the group '''welcome''' was created.
# Read the man page for the <b><code><span style="color:#3366CC;font-size:1.2em;">usermod</span></code></b> command. Which option allow you to set the Group ID number ('''GID''') when you create a new group? Which options allow you to both append and assign users to an existing group name?
# Issue the '''usermod''' command to add both '''ops235_1''' and '''ops235_2''' to the newly-created welcome group.
13,420
edits

Navigation menu