HP3000-L Archives

January 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Duane Percox <[log in to unmask]>
Reply To:
Duane Percox <[log in to unmask]>
Date:
Tue, 28 Jan 1997 17:59:26 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
Goetz wrote:

>Chris Breemer wrote:
>>
>> Now I have a kinda dumb question : I am still at a loss how
>> MPE maps uid/gid's to
>> MPE user/account names and vice versq, and I cannot find anything about it in
>> any manual
>> (or I've just been looking in the wrong places). Because we have a similar
>>  problem configuring the UNIFACE polyserver via inetd, I badly need this
>> information.
>
>I am guessing, but I think the OS simply uses the next free UID/GID
>number, and increases the counter(s) when you do a newacct/newuser
>(by default). I do not recall at the moment, if there is an additional
>parameter (;UID= or ;GID=) that you can use in newacct,newuser,altacct
>and altuser to chose an arbutrary uid/gid (if it is not used by another
>account or user yet), but I think this should be possible.
>
>I believe there are new listacct/listuser format options that show
>the uid/gid.
>

Oops. I forgot to paste this in as well. As you can see, you can specify
the gid/uid values if you wish or let mpe create them.

:help newacct
NEWACCT

     Creates a new account and an associated account manager and
     PUB group.  (CM)

SYNTAX

     NEWACCT acctname,mgrname

         [;PASS=[password]]
         [;FILES=[filespace]]
         [;CPU=[cpu]]
         [;CONNECT=[connect]]
         [;CAP=[capabilitylist]]
         [;ACCESS=[(fileaccess)]]
         [;MAXPRI=[subqueuename]]
         [;LOCATTR=[localattribute]]
         [;ONVS=volumesetname]
         [;GID=[gid]]
         [;UID=[uid]]
         [;USERPASS=[{REQ}]]   (1)
                     {OPT}
         (1) The USERPASS parameter is only available if the
             HP Security Monitor has been installed


And snipped from the 'help newacct parms' output:

gid                 Group ID to be added to the group database.  The
                    gid must be an unique positive (non-zero) 32-bit
                    integer.  Default is for MPE to create a value.

uid                 User ID to be created for the account manager in
                    the user database.  The uid must be an unique
                    positive (non-zero) 32-bit integer.  Default is
                    for MPE to create a value.

And the 'newuser' command allows you to set 'uid' similarly.

Duane Percox ([log in to unmask]  v/415.306.1608 f/415.365.2706)
http://www.qss.com/          http://www.qss.com/qwebs
http://www.qss.com/faq3k     http://www.qss.com/qsdk

ATOM RSS1 RSS2