Admin: whoami

Hi all,
because of the lack of dokumentation for administration of qnx, i have a
really simple question:

i tried:
#echo $USER
and
#whoami

but:
I still didn’t know who i am.

Then i tried
#id

and i got it. But in this form:
uid=100(itsyou) gid=100(users)

Is there no other possibility???

btw:
Is su2 available for qnx?

Thanx in advance
Chistian

“CG” <exai17@yahoo.de> wrote in message news:aci4ee$8b8$1@inn.qnx.com

Hi all,
because of the lack of dokumentation for administration of qnx, i have a
really simple question:

i tried:
#echo $USER
and
#whoami

try :
export -p
and check the value of “login name”,that is you.

but:
I still didn’t know who i am.

Then i tried
#id

and i got it. But in this form:
uid=100(itsyou) gid=100(users)

Is there no other possibility???

btw:
Is su2 available for qnx?

yes,you can switch you login name with su in QNX

Thanx in advance
Chistian

“ChaoLi” <xxs102@sohu.com> schrieb im Newsbeitrag
news:acic95$f11$1@inn.qnx.com

“CG” <> exai17@yahoo.de> > wrote in message news:aci4ee$8b8$> 1@inn.qnx.com> …
Hi all,
because of the lack of dokumentation for administration of qnx, i have a
really simple question:

i tried:
#echo $USER
and
#whoami

try :
export -p
and check the value of “login name”,that is you.

Ok. I’ll try this. Thanks.

but:
I still didn’t know who i am.

Then i tried
#id

and i got it. But in this form:
uid=100(itsyou) gid=100(users)

Is there no other possibility???

btw:
Is su2 available for qnx?

yes,you can switch you login name with su in QNX

But i cannot start an automatically started service at startup with it,
can’t i?

CG <exai17@yahoo.de> wrote in article <acinms$mm7$1@inn.qnx.com>…
[snip]

Is there no other possibility???

Replied in other conference, Please don’t cross post.

btw:
Is su2 available for qnx?

yes,you can switch you login name with su in QNX

But i cannot start an automatically started service at startup with it,
can’t i?

What do you mean by “su2”. It sounds like ‘ssh2d’ I’ve found recently in our linux box, it was well
masked trojan, LOL.
‘su’ is something like Super User. You can use it in order to temporary get root’s privileges at
the same console. Type ‘use su’…
‘su’ is not for starting service at startup. Look at /etc/sysinit. This is a first script which is
executed by system at startup.


Eduard.
ed1k at ukr dot net

Actually ‘su’ is ‘switch user’, it just defaults to super user if you
don’t pass a login name as a paramter (eg: “su drempel” would switch me to drempel).

I used to think it meant super user as well. :slight_smile:

If you do a “use su” you should see some other options as well (-c for a command to run,
args for the shell, etc.)

– drempel


ed1k <ed1k@spamerstrap.com> wrote:

CG <> exai17@yahoo.de> > wrote in article <acinms$mm7$> 1@inn.qnx.com> >…
[snip]
Is there no other possibility???

Replied in other conference, Please don’t cross post.


btw:
Is su2 available for qnx?

yes,you can switch you login name with su in QNX

But i cannot start an automatically started service at startup with it,
can’t i?

What do you mean by “su2”. It sounds like ‘ssh2d’ I’ve found recently in our linux box, it was well
masked trojan, LOL.
‘su’ is something like Super User. You can use it in order to temporary get root’s privileges at
the same console. Type ‘use su’…
‘su’ is not for starting service at startup. Look at /etc/sysinit. This is a first script which is
executed by system at startup.


Eduard.
ed1k at ukr dot net

Dave, it is Saturday. You should be home drinking a beer in your backyard !

Michel Belanger
Going in my backyard to have a beer !