Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/basics/basic1.5.2.1.html
Дата изменения: Fri Jan 17 12:43:13 1997
Дата индексирования: Tue Oct 2 02:24:20 2012
Кодировка:
Example of switching to another account

Example of switching to another account

To switch to another account from your current account:

   pwd
   /home/helper
   su projX
   Password: (password for account projX)
   whoami
   projX
   cd
   pwd
   /home/projX

The user helper switches to the account they have under the username projX and confirms this with the whoami command.

They then use the cd command to place themselves in the home directory for the account they have switched to. They can now work with the files and directories in this account in the usual way.


[Home] [Search] [Index]