Well under true AIX the command should be similar to Linux.

But on PASE you only have a subset of AIX, and so no /etc/passwd or
/dev/random, /dev/urandom for example.


2005/5/27, Ralf S. Engelschall <[EMAIL PROTECTED]>:
> On Fri, May 27, 2005, Henri Gomez wrote:
> 
> > [...]
> > > Btw, doesn't a /usr/bin/oslevel exist in PASE?
> >
> > Nope but I could insert a command in PATH if necessary.
> 
> I just asked because "shtool platform" first tries to use this AIX
> specific command for determining the OS version. Interesting that it
> doesn't exist on PASE...
> 
> > > Or is this there under a different path?
> > >
> > > And one more thing for the whole AIX issue: we need additions to the
> > > %pre and %post sections of openpkg.spec to automatically and correctly
> > > setup user/group/cron/init-script etc under AIX. Do you have this
> > > available, too?
> >
> > What do you means ?
> 
> Well, if you install the "openpkg" package, it initially creates
> user/group name/ids, installs a startup-script, installs a cron-job,
> etc. The commands for this are in the openpkg.spec's %pre, %preun and
> %post sections and they are completely OS-specific. Hence there are
> if-clauses for each OS OpenPKG supports. And a quick glance over it
> showed me that until now AIX is not there. So, seems like you have
> created the user/group, etc. yourself manually, right? But we need to
> add the necessary AIX commands for this so it is done automatically. Do
> you know what commands are necessary for this under AIX? For instance,
> usually one adds an entry to /etc/passwd and then run "pwconv" or
> something, etc.
>                                        Ralf S. Engelschall
>                                        [EMAIL PROTECTED]
>                                        www.engelschall.com
> 
> ______________________________________________________________________
> The OpenPKG Project                                    www.openpkg.org
> Developer Communication List                   openpkg-dev@openpkg.org
>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to