This excerpt from the work-in-progress QNX Neutrino User’s Guide chapter on
managing user accounts might help with this problem
When you log in via the login utility, login changes directory to your
HOME directory, sets your LOGNAME to your user name, and SHELL to the
login shell program named in your account. It then starts the login
shell program, which is typically a command interpreter (/bin/sh). The
login shell program could also be an application that gets directly
launched as soon as you log in.
When you log in via the Photon microGUI’s phlogin utility, phlogin also
changes directory to your HOME directory and sets your LOGNAME and SHELL
environment variables according to your user name and your account’s
However, unlike the text-mode login, it doesn’t start your login shell
program as an interactive program. Instead, it runs your login shell
with the arguments -c /usr/bin/ph. This puts you into the Photon desktop
environment as long as your login shell is a standard POSIX shell.
From the Photon desktop, you can choose to start a command-line
interpreter (i.e. shell) in a pterm window. This shell is the one
identified by the SHELL environment variable, which phlogin set to the
login shell identified in your user account entry when you logged in.
Warning: If your login shell is something other than /bin/sh or /bin/ksh,
might not be able to log in at all using phlogin. This also affects the
techniques described later in this chapter to disable user accounts
while they’re being maintained.
“Wojtek Lerch” <firstname.lastname@example.org> wrote in message
Adam K Kirchhoff <> email@example.com> > wrote:
adamk:*:501:501:Adam K Kirchhoff:/home/adamk:/usr/bin/bash
Change the “*” to an “x”.
Here’s what the docs say about the syntax of the passwd file:
The /etc/passwd file contains the following fields, separated by
If the has_passwd field contains an x character, a password has been
defined for this user. If no character is present, no password has
been defined. Use of any other character is reserved and may cause
side-effects for the user.