porting adduser for QNX RTP 6.00 2000/09

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

… don’t forget “rmuser” :slight_smile: . There is a bug in it though at the
moment, which I’m not sure if it is fixed by now. Check the mailing list
archives from last week for “rmuser”, there was a short thread with
regards to that.

Thanks

Th

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.


TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?


Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

Igor Kovalenko wrote:

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

What do you mean? Do you work right now to this port or do you mean
don’t bother …
I don’t understood your answer.

I have also right here Solaris on Intel and yes useradd is different
than adduser. adduser is coming from BSD family and is simple enough to
be ported as long is a Perl script. On the other hand useradd is a
System5 command which I have no source code available for it …

stefan

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

Stefan Parvu wrote:

Igor Kovalenko wrote:

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

What do you mean? Do you work right now to this port or do you mean
don’t bother …
I don’t understood your answer.

What part of it you don’t understand? I did not say don’t bother, I said
I have another solution working, just FYI. Whether you should continue
your efforts or not is up to you, I just thought you may want to know
that solution already exists before you proceed.

Personally I don’t like adduser stuff since it depends on Perl. It is
not as complete either. Plus, what people really want is Photon applet,
not command line tool, so you might want to consider doing that instead.

I have also right here Solaris on Intel and yes useradd is different
than adduser. adduser is coming from BSD family and is simple enough to
be ported as long is a Perl script. On the other hand useradd is a
System5 command which I have no source code available for it …

stefan

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

aha ok. Now I’ve got it. You are working in something related with
Photon for adding users.
Well, it is nice but sometimes belive me you don’t need GUI. Some people
do not want to run the GUI.
then you are left out from admin point of view. I served almost 5 years
managing UNIX machines.
GUI applications from administration point of view are a nightmare.
command line commands are easily, faster and it gives you full control
of what are you doing … on remote sites and so on.

Regarding what people feel about this, making more GUI stuff, I have
nothing to say just, they are not UNIX admins :slight_smile:

As a rule: give a small number of admin commands, document them, make
them strong. Then you can say you are in. RTP is a bit outside of the
problem.

stefan




Igor Kovalenko wrote:

Stefan Parvu wrote:

Igor Kovalenko wrote:

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

What do you mean? Do you work right now to this port or do you mean
don’t bother …
I don’t understood your answer.

What part of it you don’t understand? I did not say don’t bother, I said
I have another solution working, just FYI. Whether you should continue
your efforts or not is up to you, I just thought you may want to know
that solution already exists before you proceed.

Personally I don’t like adduser stuff since it depends on Perl. It is
not as complete either. Plus, what people really want is Photon applet,
not command line tool, so you might want to consider doing that instead.


I have also right here Solaris on Intel and yes useradd is different
than adduser. adduser is coming from BSD family and is simple enough to
be ported as long is a Perl script. On the other hand useradd is a
System5 command which I have no source code available for it …

stefan

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

Stefan Parvu wrote:

aha ok. Now I’ve got it. You are working in something related with
Photon for adding users.

I’m having hard time communicating with you. When did I say that?

Well, it is nice but sometimes belive me you don’t need GUI. Some people
do not want to run the GUI.
then you are left out from admin point of view. I served almost 5 years
managing UNIX machines.
GUI applications from administration point of view are a nightmare.
command line commands are easily, faster and it gives you full control
of what are you doing … on remote sites and so on.

Regarding what people feel about this, making more GUI stuff, I have
nothing to say just, they are not UNIX admins > :slight_smile:

As a rule: give a small number of admin commands, document them, make
them strong. Then you can say you are in. RTP is a bit outside of the
problem.

I said I have Solaris command line suite working. I suggested you to
consider doing Photon applet instead of porting yet another (BSD) suite.
You don’t seem to be willing, that’s ok.

  • igor

stefan

Igor Kovalenko wrote:

Stefan Parvu wrote:

Igor Kovalenko wrote:

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

What do you mean? Do you work right now to this port or do you mean
don’t bother …
I don’t understood your answer.

What part of it you don’t understand? I did not say don’t bother, I said
I have another solution working, just FYI. Whether you should continue
your efforts or not is up to you, I just thought you may want to know
that solution already exists before you proceed.

Personally I don’t like adduser stuff since it depends on Perl. It is
not as complete either. Plus, what people really want is Photon applet,
not command line tool, so you might want to consider doing that instead.


I have also right here Solaris on Intel and yes useradd is different
than adduser. adduser is coming from BSD family and is simple enough to
be ported as long is a Perl script. On the other hand useradd is a
System5 command which I have no source code available for it …

stefan

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

hi,

Sorry I understood you wrong :slight_smile:

Ok, doing a Photon application would be nice but I am not familiar at
all with Photon API, appbuilder. On the other hand to have a complete
suite of command tools for administration will be nice. More QSSL should
design
what kind of tools for admins will be included with the RTP (BSD or
SYSV). RTP looks more familiar with a BSD system than with a SYS5, then
I think having tools found in BSD Interface model would be nice.

If you have already useradd then my work it could be just waste of time
since maybe nobody is interested in
BSD related stuff anymore :frowning:
Anyway from where I could get your bins? src code ?

On the other hand in RTP have we crypt or encrypt bins ??? Do we have
plans to build other crypt alg. than DES, 3DES ?

stefan


Igor Kovalenko wrote:

Stefan Parvu wrote:

aha ok. Now I’ve got it. You are working in something related with
Photon for adding users.

I’m having hard time communicating with you. When did I say that?

Well, it is nice but sometimes belive me you don’t need GUI. Some people
do not want to run the GUI.
then you are left out from admin point of view. I served almost 5 years
managing UNIX machines.
GUI applications from administration point of view are a nightmare.
command line commands are easily, faster and it gives you full control
of what are you doing … on remote sites and so on.

Regarding what people feel about this, making more GUI stuff, I have
nothing to say just, they are not UNIX admins > :slight_smile:

As a rule: give a small number of admin commands, document them, make
them strong. Then you can say you are in. RTP is a bit outside of the
problem.

I said I have Solaris command line suite working. I suggested you to
consider doing Photon applet instead of porting yet another (BSD) suite.
You don’t seem to be willing, that’s ok.

  • igor


    stefan

Igor Kovalenko wrote:

Stefan Parvu wrote:

Igor Kovalenko wrote:

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

What do you mean? Do you work right now to this port or do you mean
don’t bother …
I don’t understood your answer.

What part of it you don’t understand? I did not say don’t bother, I said
I have another solution working, just FYI. Whether you should continue
your efforts or not is up to you, I just thought you may want to know
that solution already exists before you proceed.

Personally I don’t like adduser stuff since it depends on Perl. It is
not as complete either. Plus, what people really want is Photon applet,
not command line tool, so you might want to consider doing that instead.


I have also right here Solaris on Intel and yes useradd is different
than adduser. adduser is coming from BSD family and is simple enough to
be ported as long is a Perl script. On the other hand useradd is a
System5 command which I have no source code available for it …

stefan

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

I heard that QSSL was looking into PAM model for NTO. Don’t have a clue
when.

  • igor

Stefan Parvu wrote:

hi,

Sorry I understood you wrong > :slight_smile:

Ok, doing a Photon application would be nice but I am not familiar at
all with Photon API, appbuilder. On the other hand to have a complete
suite of command tools for administration will be nice. More QSSL should
design
what kind of tools for admins will be included with the RTP (BSD or
SYSV). RTP looks more familiar with a BSD system than with a SYS5, then
I think having tools found in BSD Interface model would be nice.

If you have already useradd then my work it could be just waste of time
since maybe nobody is interested in
BSD related stuff anymore > :frowning:
Anyway from where I could get your bins? src code ?

On the other hand in RTP have we crypt or encrypt bins ??? Do we have
plans to build other crypt alg. than DES, 3DES ?

stefan

Igor Kovalenko wrote:

Stefan Parvu wrote:

aha ok. Now I’ve got it. You are working in something related with
Photon for adding users.

I’m having hard time communicating with you. When did I say that?

Well, it is nice but sometimes belive me you don’t need GUI. Some people
do not want to run the GUI.
then you are left out from admin point of view. I served almost 5 years
managing UNIX machines.
GUI applications from administration point of view are a nightmare.
command line commands are easily, faster and it gives you full control
of what are you doing … on remote sites and so on.

Regarding what people feel about this, making more GUI stuff, I have
nothing to say just, they are not UNIX admins > :slight_smile:

As a rule: give a small number of admin commands, document them, make
them strong. Then you can say you are in. RTP is a bit outside of the
problem.

I said I have Solaris command line suite working. I suggested you to
consider doing Photon applet instead of porting yet another (BSD) suite.
You don’t seem to be willing, that’s ok.

  • igor


    stefan

Igor Kovalenko wrote:

Stefan Parvu wrote:

Igor Kovalenko wrote:

I have Solaris shadow passwords suite working more or less. useradd and
family…
Will upload it soon.

What do you mean? Do you work right now to this port or do you mean
don’t bother …
I don’t understood your answer.

What part of it you don’t understand? I did not say don’t bother, I said
I have another solution working, just FYI. Whether you should continue
your efforts or not is up to you, I just thought you may want to know
that solution already exists before you proceed.

Personally I don’t like adduser stuff since it depends on Perl. It is
not as complete either. Plus, what people really want is Photon applet,
not command line tool, so you might want to consider doing that instead.


I have also right here Solaris on Intel and yes useradd is different
than adduser. adduser is coming from BSD family and is simple enough to
be ported as long is a Perl script. On the other hand useradd is a
System5 command which I have no source code available for it …

stefan

Stefan Parvu wrote:

Info updated regarding adduser on RTP.

  1. I took adduser from BSD systems(OpenBSD,FreeBSD)
  2. It is a perl script comparing with old adduser done in C…
  3. The only way to crypt the information is done using starndard des …
    We do not have blowfish … implementation
  4. Now, adduser is expecting to have an encrypt or crypt binary program
    somewhere in bin or /usr/bin. In RTP is nothing like this. Sunday I
    spent some time trying to port encrypt from OpenBSD to RTP but with not
    so much success.

Problems:

-I must copy couple of headers from BSD system in order to make things
ok. types.h ernno.h must be modified to add extra error codes, pwd.h as
well should be modified

-For thins kind of porting what advices do you give.

TODO:

-First I must be able to port encrypt to RTP using all the encryption
algorithms from OpenBSD.
-Then look again to adduser to adjust things regarding /etc/shadow
instaed of /etc/master.passwd, paths and so on…

  • Here is a bit difficult because I can run in troubles related with
    standard headers from RTP …

comments ?

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan

Personally - I would rather see ALL of these type utilities have the ability
to work from the command line given the proper parameters (and a good usage
screen). That would allow me to script alot of this.

As QNXRTP shoots for the big time, it becomes important to view this as a
system integrated (via PAM) with NT, Linux, BSD, Solaris, etc. where there
are 20, 30, or more severs supporting thousands of users. My particular
environment is that of an ISP. We don’t have one of anything. Maintaining
users on multiple machines in a synchronized manner is one of the biggest
issues. Everything must be scripted or use some type of cross-platform sync
methods.

Currently, we use PAM, and a specially written Module that allows us to
Authenticate and grab data DIRECTLY from our Microsoft SQL 7 accounting
system. IOW - Email Uses Qmail. Our SQL-Auth module grabs users account and
homedir info from Microsoft SQL. In addition, it checks to see if the user
has paid and is current. Now apply this concept to ALL of the other
systems, FTP, FrontPage, IMAP, Shell, etc. There is NEVER a sync problem
because ALL info is current in “RealTime”. If I add a user, there is no
delay between hitting enter and allowing the user to login via radius and
check their email.

not as complete either. Plus, what people really want is Photon applet,
not command line tool, so you might want to consider doing that instead.

Currently, in my free time, I play with fuzz. Black box testing tool.
Adduser it is my second priority right now. If somebody else got an idea
to port first:

crypt, encrypt drop me an email.

stef

Stefan Parvu wrote:

Hi all,

I will start in this evening Fri porting adduser for QNX RTP.
adduser is available in source code form from ftp.freebsd.org

I will let you know when I am done with this one-
Fuzz as well should be integrated ASAP in QNX RTP for black box testing.

Have a nice weekend to all,
Stefan