plz explain about chown..
hi..
today i tried to install samba file server.. emm..that work thanks for the tutorial..:) but i not understand about commands chown,nobody,nogroup,means...? the commands is sudo chown nobody.nogroup /home/sambaLab/share<----:( thanks |
Each file in Unix-like systems is supposed to be owned by one of the users; it is also supposed to be ascribed to some user group containing owner. The owner has special rights like changing file access permissions.
chown command allowsto change file owner and group. Nobody and nogroup are the virtual user and user group supposed to have very little rights in some modern Unix-like systems, including most GNU/Linux distributions. So samba server runs some code under this account to maximize hassle for any intruder. But as it still needs access to some files, the files are chown'ed to nobody. |
Hi,
The chown command changes the owner of a file or directory. There is a special way of changing both owner (chown's command primary function) and group: nobody.nogroup (or better nobody:nogroup). The owner is before the . or :, the group after. This command: chown nobody.nogroup /home/sambaLab/share changes the owner and group of share (probably a directory, but it could also be a file) to owner nobody and group nogroup. The part in front of share (/home/sambaLab/) tells chown where share is located. Hope this clears things up a bit. |
thank you so much..druuna n raskin
|
All times are GMT -5. The time now is 09:08 AM. |