{"id":479,"date":"2025-10-14T09:26:36","date_gmt":"2025-10-14T09:26:36","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/dhill036\/?page_id=479"},"modified":"2025-11-29T10:30:44","modified_gmt":"2025-11-29T10:30:44","slug":"lab-4-user-and-group-accounts","status":"publish","type":"page","link":"https:\/\/sites.wp.odu.edu\/dhill036\/lab-4-user-and-group-accounts\/","title":{"rendered":"Lab 4 \u2013 User and Group Accounts."},"content":{"rendered":"\n<p><strong>My Experience on This Lab.<\/strong><\/p>\n\n\n\n<p>In this lab, I practiced managing user and group accounts in Linux. I used commands like <code>grep<\/code>, <code><strong>useradd<\/strong><\/code>, <code><strong>passwd<\/strong><\/code>, and <strong><code>usermod<\/code> <\/strong>to create and configure a new user with a home directory and bash shell. I also switched users, viewed password information, and added my account to the <code>sudo<\/code> group. In the second part, I worked with groups by creating, renaming, and deleting them, as well as modifying file ownership and verifying permissions.<\/p>\n\n\n\n<p><strong>Key Concepts I Learned<\/strong><\/p>\n\n\n\n<p>This lab reinforced how Linux manages user data through the<strong> <code>\/etc\/passwd<\/code>, <code>\/etc\/shadow<\/code><\/strong>, and <code><strong>\/etc\/group<\/strong><\/code> files. I learned the importance of correct syntax when using administrative commands and how group memberships affect permissions and access control.<\/p>\n\n\n\n<p><strong>Challenges<\/strong><\/p>\n\n\n\n<p>A challenge I faced was using the correct flags when adding a user to a group without overwriting existing memberships. Verifying shell assignments and ownership changes also required attention to detail. Executing <code><strong>grep<\/strong><\/code>, <code><strong>id<\/strong><\/code>, and <code><strong>ls -l<\/strong><\/code> helped confirm that each step was done correctly.<\/p>\n\n\n<b>PDF Embedder requires a url attribute<\/b>\n\n\n<div data-wp-interactive=\"\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!selectors.core.file.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/sites.wp.odu.edu\/dhill036\/wp-content\/uploads\/sites\/38343\/2025\/10\/annotated-CYSE2027020Lab20234.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of annotated-CYSE2027020Lab20234.\"><\/object><a id=\"wp-block-file--media-76e5ceb8-0c92-44d5-acae-1cf9e06e0ad7\" href=\"https:\/\/sites.wp.odu.edu\/dhill036\/wp-content\/uploads\/sites\/38343\/2025\/10\/annotated-CYSE2027020Lab20234.pdf\">annotated-CYSE2027020Lab20234<\/a><a href=\"https:\/\/sites.wp.odu.edu\/dhill036\/wp-content\/uploads\/sites\/38343\/2025\/10\/annotated-CYSE2027020Lab20234.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-76e5ceb8-0c92-44d5-acae-1cf9e06e0ad7\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>My Experience on This Lab. In this lab, I practiced managing user and group accounts in Linux. I used commands like grep, useradd, passwd, and usermod to create and configure a new user with a home directory and bash shell. I also switched users, viewed password information, and added my account to the sudo group&#8230;. <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/sites.wp.odu.edu\/dhill036\/lab-4-user-and-group-accounts\/\">Read More<\/a><\/div>\n","protected":false},"author":30353,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages\/479"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/users\/30353"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":4,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages\/479\/revisions"}],"predecessor-version":[{"id":575,"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/pages\/479\/revisions\/575"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/dhill036\/wp-json\/wp\/v2\/media?parent=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}