1, create group, add user belong to the group, and create password, create the group ‘admin’ groupadd admin add user to the group, useradd -G admin mary useradd -G admin alice useradd -s /sbin/nologin bobby user bobby added, but does not belong to group admin, and dose not have access to an interactive shell on the system. […]