I need help in this question please I have tried several times. Create a file, /home/jack/secretf7b079, containing the string secret5cd51b. Make sure the file is owned by jack. Use a group to enable cedric to also read the file, but not write to it. Make sure pedri can't access the file.
The code I have used by jack user:
cat > /home/jack/secret7b079 and include the string secret5cd51b.
sudo adduser cedric jack, to add the user cedric to jack group.
chmod 640 /home/jack/secret7b079
Thanks!