Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
phlogin
Prompt user to log in
Syntax:
phlogin
Options:
none
Description:
The phlogin utility is typically used for nodes that boot directly into Photon or for users who start Photon via a phindows, phinx, or phditto session.
The login utility prompts the user to enter a userid and optional password through the QNX Photon Login dialog. The user can also click on an Exit button to return to the QNX text-mode console. To prevent users from exiting to text mode, you can disable this button by setting the PHEXIT_DISABLE environment variable to 1.
Environment variables:
The phlogin utility sets or uses these environment variables:
- LOGNAME
- If this environment variable isn't set (such as when ph is run in the sysinit file), ph runs the phlogin utility.
- PHEXIT_DISABLE
- Turn off the QNX Photon Login dialog's Exit button so that users won't be able to exit to text mode.
Caveats:
This utility cannot be started from the command line-the server runs it automatically when starting Photon without the LOGNAME environment variable set.
