Installation guide

www.vmware.com
202
VMware ESX Server Administration Guide
Setting File Permissions and Ownership
Files and directories on the service console can have read, write and execute
permissions. Those permissions can be on or off for the owner of the file (generally,
the user who created it), the specified group (generally, a group to which the creator
belongs) and all other users on the system. Permissions are indicated for each file
when you display a long directory listing, as seen in the following sample.
[User@vmwareserver win2000]$ ls -la
total 104
drwxr-xr-x 2 User User 4096 Jul 17 11:15 .
drwxr-xr-x 5 User User 4096 Jul 17 09:51 ..
-rw------- 1 User User 8664 Jul 17 16:17 nvram
-rw-r--r-- 1 User User 77763 Jul 18 14:14 vmware.log
-rwxr-xr-- 1 User User 1307 Jul 17 11:20 win2000.vmx
Notice that in the top two lines of the directory listing, the first character is the letter d.
That indicates the listing on the line is for a directory. The single dot at the end of the
first line indicates this listing is for the current directory. The two dots at the end of the
second line indicate this listing is for the parent of the current directory.
The first character in the last line is a -. This indicates that win2000.vmx is an
ordinary file. The word User in the third column indicates the file is owned by a user
shutdown Shut down the computer.
shutdown -h 5
Completely halt (-h) the computer in 5 minutes.
shutdown -r now
Shut down and restart (-r) the computer immediately.
umount Unmount a specified device.
umount /mount/floppy
Unmount the device currently mounted at /mount/floppy.
useradd Add a new user to the system.
useradd newuser
Add a new user with a user name of newuser to the system.
who Show the user names of all users logged in to the system.
whoami Show what user name you are currently using on the system.
Command Example and Explanation