Encrypting in QNX

Is it possible to get access to POSIX function crypt() / encrypt() ?

I have found that WATCOM doesn’t provide it , so I have to do my own
passwd & group files for authorizing users in my system , but I don’t want
to build system in system , it’s better to use native tools. login is only
interactive
so I can’t use it without user.

I have downloaded patch with quncrypt from the Tannenbaum book , but
there is no match with system encrypt , cas I compared encrypted passwords
from /etc/passwd with this encrypt and all possible salts - any two
characters.

Also I would like to have mechanism for remote user login for my own
application client / server and without using telnet. Is it possible?

Andrey Petukhov.
second@prima.susu.ac.ru

There are two “crypt-qnx” libs on Quics under /usr/free/qnx4/os/libs.
The one with “new” in its name is for use if you have installed
the recent crypt update.

Richard

Andrey Petukhov wrote:

Is it possible to get access to POSIX function crypt() / encrypt() ?

I have found that WATCOM doesn’t provide it , so I have to do my own
passwd & group files for authorizing users in my system , but I don’t want
to build system in system , it’s better to use native tools. login is only
interactive
so I can’t use it without user.

I have downloaded patch with quncrypt from the Tannenbaum book , but
there is no match with system encrypt , cas I compared encrypted passwords
from /etc/passwd with this encrypt and all possible salts - any two
characters.

Also I would like to have mechanism for remote user login for my own
application client / server and without using telnet. Is it possible?

Andrey Petukhov.
second@prima.susu.ac.ru

Hello.

Is this accessable from the free software link on QNX’s homepage? I
went to the directory you mentioned from the homepage and I found two
archives related to crypt, but they didn’t contain “new” in the
filename.

Thanks.

Rodney Lott

“Richard R. Kramer” wrote:

There are two “crypt-qnx” libs on Quics under /usr/free/qnx4/os/libs.
The one with “new” in its name is for use if you have installed
the recent crypt update.

Richard

Andrey Petukhov wrote:

Is it possible to get access to POSIX function crypt() / encrypt() ?

I have found that WATCOM doesn’t provide it , so I have to do my own
passwd & group files for authorizing users in my system , but I don’t want
to build system in system , it’s better to use native tools. login is only
interactive
so I can’t use it without user.

I have downloaded patch with quncrypt from the Tannenbaum book , but
there is no match with system encrypt , cas I compared encrypted passwords
from /etc/passwd with this encrypt and all possible salts - any two
characters.

Also I would like to have mechanism for remote user login for my own
application client / server and without using telnet. Is it possible?

Andrey Petukhov.
second@prima.susu.ac.ru

Andrey Petukhov wrote:

Is it possible to get access to POSIX function crypt() / encrypt() ?

I have found that WATCOM doesn’t provide it , so I have to do my own
passwd & group files for authorizing users in my system , but I don’t want
to build system in system , it’s better to use native tools. login is only
interactive
so I can’t use it without user.

I have downloaded patch with quncrypt from the Tannenbaum book , but
there is no match with system encrypt , cas I compared encrypted passwords
from /etc/passwd with this encrypt and all possible salts - any two
characters.

Also I would like to have mechanism for remote user login for my own
application client / server and without using telnet. Is it possible?

Andrey Petukhov.
second@prima.susu.ac.ru

You can get crypt, etc. from GNU. However, I am going to be really nice
and attach a gzip’d tar file with all the sources here for you! I have
built this on NT and QNX with only the minimum of changes (none that I
can recall - although it has been awhile since I did the QNX port and
don’t have that source to compare with).

-Bill Boyle