What is the effect of "chown nobody:nogroup"?

30,169

chown is used to change the ownership of files and folders.

Your command just changes the owner user and group to nobody and nogroup. Both of these entities are normal objects within the system.

You can verify this by running cat /etc/group | grep nogroup and cat /etc/passwd | grep nobody respectively.

It probably doesn't make a lot of sense without also using chmod to change the actual permissions.

Share:
30,169

Related videos on Youtube

user727522
Author by

user727522

Updated on September 18, 2022

Comments

  • user727522
    user727522 almost 2 years

    What is the effect of chown nobody:nogroup on a single file or directory and what is the effect on files within a directory?