Specifications

VMware, Inc. 177
Chapter 5 Using the VMware Service Console
.
Switching User Names
Table 55!describes!the!common!Linux!commands!for!switching!user!names!that!are!
also!available!in!the!ESX Server!service!console.
The proc File System
The!proc!file!system!is!a!set!of!directories,!beginning!with!/proc,!that!exist!in!memory!
while!ESX!Server!is!running.!The!contents!of!these!directories!are!not!stored!on!disk.
Table 5-4. Permissions and ownership commands
Command Example and Explanation
chmod Change!mode!(permissions)!for!a!specified!file,!group!of!files!or!directory.
chmod 755 *.vmx
Set!permissions!on!all!files!in!the!current!directory!that!end!with!.vmx!to!be!
-rwxr-xr-x.
chmod 660 nvram
Set!permissions!on!the!file!nvram!in!the!current!directory!to!be!‐rwrw‐‐‐‐.
chmod g+x /usr/local/bin
Change!permissions!on!all!files!in!/usr/local/bin
!so!that!they!can!be!executed!by!
other!users!belonging!to!the!group.
chown Change!the!owner!of!a!specified!file.!Change!the!owner!and!the!group!for!a!file!
at!the!same!time.
chown User2 win2000.vmx
Change!the!owner!of!the!file!win2000.vmx!to!User2.
chown User2:VMUsers win2000.vmx
Change!the!owner!of!the!file!win2000.vmx!
to!User2!and!change!the!group!to!
VMUsers.
chgrp Change!the!group!for!a!specified!file.
chgrp VMUsers win2000.vmx
Change!the!group!for!the!file!win2000.vmx!to!VMUsers.
Table 5-5. Commands for switching user names
Command Example and Explanation
su Switch!user.!By!default,!this!command!lets!you!log!in!as!the!root!user!if!you!
know!the!root!users!password.!You!can!also!use!the!command!to!log!in!as!any!
other!user!if!you!know!the!user!name!and!password.!Enter!the!command!and!
enter!the!password!when
!prompted.
su User2
Log!in!as!User2.
exit
Log!out.!If!you!used!su!to!log!in!as!a!different!user,!this!command!returns!you!
to!your!previous!user!name.