Co robi CHOWN użycie. Konsola login name located in /etc/passwd . chown also accepts users in the.

Czy przydatne?

Polecenie chown

Wykonanie, użycie: Change the ownership of one or more files to newowner. newowner is either a user ID number or a login name located in /etc/passwd. chown also accepts users in the form newowner:newgroup or newowner.newgroup. The last two forms change the group ownership as well. If no owner is specified, the owner is unchanged. With a period or colon but no group, the group is changed to that of the new owner. Only the current owner of a file or a privileged user may change the owner

Opcje wykonania chown w konsoli

-c, --changes

Print information about files that are changed.

--dereference

Follow symbolic links.

-f, --silent, --quiet

Do not print error messages about files that cannot be changed.

-h, --no-dereference

Change the ownership of each symbolic link (on systems that allow it), rather than the referenced file.

-v, --verbose

Print information about all files that chown attempts to change, whether or not they are actually changed.

-R, --recursive

Traverse subdirectories recursively, applying changes.

--reference=filename

Change owner to the owner of filename instead of specifying a new owner explicitly.

--help

Print help message and then exit.

--version

Print version information and then exit.

Przykłady chown działanie w Słownik polecenie C

Przykład CHOWN użycie :
Jak użyć administration command. Control PCMCIA sockets or select the current scheme. The current scheme is sent along with the address of any inserted cards to configuration scripts (by default located in co znaczy.
Przykład CHOWN użycie :
Jak użyć calendar (beginning with January) for the given year , or a one-month calendar of the given month and year . month ranges from 1 to 12. year ranges from 1 to 9999. With no arguments, print a calendar krzyżówka.
Przykład CHOWN użycie :
Jak użyć mode (permissions) of one or more files . Only the owner of a file or a privileged user may change the mode. mode can be numeric or an expression in the form of who opcode permission . who is co to jest.
Przykład CHOWN użycie :
Jak użyć or copy one or more files to the same names under directory . If the destination is an existing file, the file is overwritten; if the destination is an existing directory, the file is copied into słownik.
Przykład CHOWN użycie :
Jak użyć administration command. Change user passwords in a batch. chpasswd accepts input in the form of one username :password pair per line. If the -e option is not specified, password is encrypted before czym jest.