Microsoft KB Archive/246327

From BetaArchive Wiki
Knowledge Base


How to Log On as Another User in Interix

Article ID: 246327

Article Last Modified on 10/31/2006



APPLIES TO

  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition



This article was previously published under Q246327

SUMMARY

This article describes how to log on as another user in Interix.

MORE INFORMATION

You can log on to another account using the login command in Interix. If you attempt to do this in the Korn Shell, the console window disappears when you quit the other account's Korn Shell session. This happens because the login command is aliased to exec login in the Korn Shell.

For a single command, you can avoid the alias by putting the login command in quotes or escaping the login command.

For a more permanent solution, you can either remove the alias in one of your startup files or you can copy or link the login executable file to another name, such as su. The semantics are not the same as the Berkeley Software Division (BSD) su command. For example, all users are prompted for passwords and the new environment is not constructed in the same way as with the BSD su command.

For additional information, refer to the following Web site:

Keywords: kbinfo KB246327