The files created by users from the same group should also be the admin group

CORRECT TEXT
Create a catalog under /home named admins. Its respective group is requested to be the admin
group. The group users could read and write, while other users are not allowed to access it. The
files created by users from the same group should also be the admin group.

CORRECT TEXT
Create a catalog under /home named admins. Its respective group is requested to be the admin
group. The group users could read and write, while other users are not allowed to access it. The
files created by users from the same group should also be the admin group.

Answer: A

Explanation:
# cd /home/
# mkdir admins /
# chown .admin admins/
# chmod 770 admins/
# chmod g+s admins/



Leave a Reply 2

Your email address will not be published. Required fields are marked *


steven kunjachan

steven kunjachan

mkdir /home/admins
chown /home/admins admin
chmod 770 /home/admins
chmod g+s /home/admins

Steven Kunjachan

Steven Kunjachan

What was I thinking…

I am not sure what catalog means and assuming just a directory.

mkdir/home/admins
gpasswd -A user(s)/group /home/admins
setfacl d:m:rwx /home/admins
setfacl u/g:rwx /home/admins
setfacl o:— /home/admins