Linux sus equivalent on QNX 4

Hi.

Is there a way to run a command as super user without being super user (like
the ‘sus’ command in Linux OS or the ‘su1’ command in Lynx OS)? I would
like to allow only one user to do this, not everyone.

For example,

sus licinfo -a

TIA

Augie

Augie Henriques <augiehenriques@hotmail.com> wrote:

Hi.

Is there a way to run a command as super user without being super user (like
the ‘sus’ command in Linux OS or the ‘su1’ command in Lynx OS)? I would
like to allow only one user to do this, not everyone.

Do you want it to prompt for a password? If not, it shouldn’t be hard
to write one:

Write a small program that execs its command line arguments. Put it in
the file system, owned by root, but owned by the group of your special
user. Then, set the permissions so that it is executable only by that
group (and root, though that doesn’t really matter), and setuid root.

Oh ya, make sure nobody (but root) has write permission for the file. :slight_smile:

Might be other ways to do this as well.

-David

QNX Training Services
dagibbs@qnx.com

Yep.

Get ‘sudo’ - It compiles pretty clean for QNX4 - we run it on core servers.
The current version
that I have compiled is 1.6.3p7.

It will allow you to specify users/groups/programs that can be run and logs
everything. The
option to require passwords and a few hundred other options (like insults
for wrong
passwords) is fully configurable.

Augie Henriques <augiehenriques@hotmail.com> wrote in article
<9krvl5$13c$1@inn.qnx.com>…

Hi.

Is there a way to run a command as super user without being super user
(like
the ‘sus’ command in Linux OS or the ‘su1’ command in Lynx OS)? I would
like to allow only one user to do this, not everyone.

For example,

sus licinfo -a

TIA

Augie

Hi Jay.

“Jay Hogg” <nobody@nowhere.com> wrote in message
news:01c12051$19fd6040$c80b11ac@j_hogg1…

Yep.

Get ‘sudo’ - It compiles pretty clean for QNX4 - we run it on core
servers.
The current version
that I have compiled is 1.6.3p7.

Where do I get it from?

TIA

Augie

It will allow you to specify users/groups/programs that can be run and
logs
everything. The
option to require passwords and a few hundred other options (like insults
for wrong
passwords) is fully configurable.

Augie Henriques <> augiehenriques@hotmail.com> > wrote in article
9krvl5$13c$> 1@inn.qnx.com> >…
Hi.

Is there a way to run a command as super user without being super user
(like
the ‘sus’ command in Linux OS or the ‘su1’ command in Lynx OS)? I would
like to allow only one user to do this, not everyone.

For example,

sus licinfo -a

TIA

Augie

Jay Hogg <nobody@nowhere.com> wrote:

Yep.

Get ‘sudo’ - It compiles pretty clean for QNX4 - we run it on core servers.
The current version
that I have compiled is 1.6.3p7.

It will allow you to specify users/groups/programs that can be run and logs
everything. The
option to require passwords and a few hundred other options (like insults
for wrong
passwords) is fully configurable.

Insults for wrong passwords!! that should be a default setting :slight_smile:

E.



Augie Henriques <> augiehenriques@hotmail.com> > wrote in article
9krvl5$13c$> 1@inn.qnx.com> >…
Hi.

Is there a way to run a command as super user without being super user
(like
the ‘sus’ command in Linux OS or the ‘su1’ command in Lynx OS)? I would
like to allow only one user to do this, not everyone.

For example,

sus licinfo -a

TIA

Augie

Augie,

Check your hotmail account for a url… I’ll post some of the ports that
I’ve done for general use when I get some time.

Jay

Augie Henriques wrote in message <9ku1j9$98o$1@inn.qnx.com>…

Hi Jay.

“Jay Hogg” <> nobody@nowhere.com> > wrote in message
news:01c12051$19fd6040$c80b11ac@j_hogg1…
Yep.

Get ‘sudo’ - It compiles pretty clean for QNX4 - we run it on core
servers.
The current version
that I have compiled is 1.6.3p7.

Where do I get it from?

TIA

Augie

It will allow you to specify users/groups/programs that can be run and
logs
everything. The
option to require passwords and a few hundred other options (like insults
for wrong
passwords) is fully configurable.

Augie Henriques <> augiehenriques@hotmail.com> > wrote in article
9krvl5$13c$> 1@inn.qnx.com> >…
Hi.

Is there a way to run a command as super user without being super user
(like
the ‘sus’ command in Linux OS or the ‘su1’ command in Lynx OS)? I
would
like to allow only one user to do this, not everyone.

For example,

sus licinfo -a

TIA

Augie

\