Hp NonStop G-Series Instrukcja Użytkownika Strona 130

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 213
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 129
read and execute permissions. However, because you have previously set a user mask of 037,
that further restricts the file permissions. As a result, the owner still has all permissions, but the
group cannot execute the file and all others have no permissions.
You can activate the umask command in two ways:
Include it in your .profile file. This is the most common and efficient way to specify your
user mask, because the specified value is set automatically for you whenever you run osh.
Enter it at the shell prompt. The user mask value you set is in effect for the duration of the shell
session.
For a more detailed example of how your user mask works in restricting permissions for files you
create with a text editor, you can perform the following procedure:
1. Enter the following command to find out what the current value of your user mask is:
$ umask
If the user mask value is 000, there are no restrictions on the permissions established by
file-creating programs. Go to Step 3.
If the user mask value has another value, note that value and go to Step 2.
2. Set the user mask value to 000 so that there will be no restrictions on the permissions established
by file-creating programs. Before setting the user mask to 000, make sure you have written
down the current value, should you need to restore it.
Enter the following:
$ umask 000
3. Create the file afile, save it, and then exit your editor.
4. Display the permissions of the file by using the ls -l command. Assume for the sake of the
example that read and write permissions are granted for all users:
$ ls -l afile
-rw-rw-rw- 1 user 15 Oct 27 14:42 afile
5. Change the user mask to 022 by entering the following:
$ umask 022
A user mask of 022 establishes the following maximum permission restrictions: owners are
allowed all permissions, and all others are allowed only read and execute permissions.
6. Create another file afile2, save it, and then exit your editor.
7. Display the permissions of the file afile2 by using the ls -l command.
$ ls -l afile2
-rw-r--r-- 1 user 15 Oct 27 14:42 afile2
Note that the write permissions for the group and all others have been removed in accordance
with the user mask value of 022.
8. Change the user mask to its original value or to another value (optional).
Open System Services provides a default user mask value of 022, which allows the owner all
permissions but prevents members of your group or any other users from writing to your files.
However, your system’s default user mask may vary.
Changing Owners and Groups
In addition to setting permissions, you can control how a file or directory is used by changing its
owner or group. Use the chown command to change the owner and the chgrp command to
change the group. To use the chown command, you must have the same privileges as a super-group
user. Enter the chown command in the following form:
chown owner filename
130 Managing Access to Files and Directories
Przeglądanie stron 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 212 213

Komentarze do niniejszej Instrukcji

Brak uwag

Hoshizaki DCM-500BWH-OS manuels

Manuels d'utilisation et guides de l'utilisateur pour Congélateurs Hoshizaki DCM-500BWH-OS.
Nous fournissons des manuels en pdf 1 Hoshizaki DCM-500BWH-OS à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Congélateurs Hoshizaki

Modèles Type de document
KM-250BWF Manuel de l'utilisateur   Hoshizaki KM-250BWF User Manual, 51 pages
F-450MAH(-C) EN Manuel de l'utilisateur   Hoshizaki F-450MAH(-C) EN User Manual, 22 pages
SELF-CONTAINED CRESCENT CUBER L1F015102 Manuel de l'utilisateur   Hoshizaki SELF-CONTAINED CRESCENT CUBER L1F015102 User Manual, 22 pages
KM-320MAH Manuel de l'utilisateur   Hoshizaki KM-320MAH User Manual, 50 pages
STACKABLE CRESCENT CUBER KM-2000SRH3 Manuel de l'utilisateur   Hoshizaki STACKABLE CRESCENT CUBER KM-2000SRH3 User Manual, 29 pages
DB-200H Manuel de l'utilisateur   Hoshizaki DB-200H User Manual, 19 pages
KM-101BAH Manuel de l'utilisateur   Hoshizaki KM-101BAH User Manual, 28 pages
MODULAR CUBELET SERENITY SERIES FS-1022MLH-C Manuel de l'utilisateur   Hoshizaki MODULAR CUBELET SERENITY SERIES FS-1022MLH-C User Manual, 57 pages
SELF-CONTAINED CRESCENT CUBER KM-250BAF Manuel de l'utilisateur   Hoshizaki SELF-CONTAINED CRESCENT CUBER KM-250BAF User Manual, 21 pages
C-100BAF Manuel de l'utilisateur   Hoshizaki C-100BAF User Manual, 40 pages
F-450MAH(-C) Manuel de l'utilisateur   Hoshizaki F-450MAH(-C) User Manual, 20 pages
KM-1601SWH/3 Manuel de l'utilisateur   Hoshizaki KM-1601SWH/3 User Manual, 39 pages
B-1300SS Manuel de l'utilisateur   Hoshizaki B-1300SS User Manual, 17 pages
STACKABLE CRESCENT CUBER KM-2100SWH3 Manuel de l'utilisateur   Hoshizaki STACKABLE CRESCENT CUBER KM-2100SWH3 User Manual, 32 pages
MODULAR FLAKER F-801MAH/-C Manuel de l'utilisateur   Hoshizaki MODULAR FLAKER F-801MAH/-C User Manual, 58 pages
KM-1300SAH-E Manuel de l'utilisateur       Hoshizaki KM-1300SAH-E User Manual, 65 pages
MODULAR CRESCENT CUBER KM-650MWH Manuel de l'utilisateur   Hoshizaki MODULAR CRESCENT CUBER KM-650MWH User Manual, 54 pages
KM-901MWH Manuel de l'utilisateur   Hoshizaki KM-901MWH User Manual, 87 pages
SELF-CONTAINED FLAKER F-500BAF(-C) Manuel de l'utilisateur   Hoshizaki SELF-CONTAINED FLAKER F-500BAF(-C) User Manual, 19 pages
CUBELET ICEMAKER/DISPENSER DCM-750BAH-OS Manuel de l'utilisateur   Hoshizaki CUBELET ICEMAKER/DISPENSER DCM-750BAH-OS User Manual, 69 pages