Remove SGID for /usr/bin/wall: `sudo chmod g-s /usr/bin/wall`. Set SUID for /usr/bin/xmms: `sudo chmod u+s /usr/bin/xmms`. Delete "auditors" group: `sudo groupdel auditors`. Remove user "jdonald" and home directory: `sudo userdel -r jdonald`.
To accomplish these tasks, you'll need administrative privileges on the system. Here are the commands you can use:
Remove the SGID bit for the /usr/bin/wall file:
sudo chmod g-s /usr/bin/wall
Set the SUID bit for the /usr/bin/xmms program (without changing other permissions):
sudo chmod u+s /usr/bin/xmms
Delete the auditors group and view the /etc/group file to verify the deletion:
# To delete the group
sudo groupdel auditors
# To view the /etc/group file
cat /etc/group
Make sure you see that the "auditors" group has been removed from the output.
Remove the jdonald user account and its corresponding home directory from the system:
# To delete the user and home directory
sudo userdel -r jdonald
The `-r` option removes the user's home directory along with the user account. Make sure to double-check and confirm the removal, as this action is irreversible.
Please note that these commands assume a Linux environment. If you are using a different operating system, the commands might be different. Additionally, it's crucial to exercise caution when making changes to system files and user accounts, especially with administrative privileges, to avoid unintended consequences.