Logging into Photon.

bridged with qdn.public.qnxrtp.os
Adam K Kirchhoff

Re: Logging into Photon.

Post by Adam K Kirchhoff » Thu Jan 08, 2004 6:09 pm

Wojtek Lerch <wojtek_l@yahoo.ca> wrote:
Adam K Kirchhoff <adamk@thorn.ashke.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
colons:

username:has_passwd:userid:groupid:misc:home_directory:initial_command

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.
I'll try changing that. It's odd, though, that I can log in on the
console even with the * in the has_passwd field.

Adam

Adam K Kirchhoff

Re: Logging into Photon.

Post by Adam K Kirchhoff » Thu Jan 08, 2004 8:32 pm

Adam K Kirchhoff <adamk@voicenet.com> wrote:
Wojtek Lerch <wojtek_l@yahoo.ca> wrote:
Adam K Kirchhoff <adamk@thorn.ashke.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
colons:

username:has_passwd:userid:groupid:misc:home_directory:initial_command

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.

I'll try changing that. It's odd, though, that I can log in on the
console even with the * in the has_passwd field.
That did it :-) Thank you so much!

Adam

Post Reply

Return to “qdn.public.qnxrtp.os”