[SunHELP] trusted users on same machine

Simon Jespersen shj at pine.dk
Wed Aug 21 06:12:39 CDT 2002


Hi

Thanks for the anwser but the issue is that i need to execute that script
with the other users env.

Simon Jespersen
Project engineer
Pine Tree Systems A/S
Damhaven 5d
DK-7100 Vejle
Email: shj at pine.dk
Phone: +4575724477

-----Original Message-----
From: Adrian.Florea at alcatel.ro [mailto:Adrian.Florea at alcatel.ro]
Sent: 21. august 2002 13:02
To: Simon Jespersen
Cc: Sun solaris help list
Subject: Re: [SunHELP] trusted users on same machine



Hi,

Have you tried setuid ?
I think this is the solution; you have to give the setuid rights to that
file so anyone could execute it having the owner rights. Without su.

Adrian Florea.


On Wed, 21 Aug 2002, Simon Jespersen wrote:

> Hi list
>
> Is it possible to trust users so that can execute a script from one user
> with another userid without typing the passwd
> my user is bb
> second user that should be trusted is aa
>
> eks.
> from uid "bb"
>
> su - aa -c /usr/local/scripts/myscript.sh
>
> is there some way by as you can use rhost. or should the bb user be added
to
> root group ?
>
> Best regards
>
>
>
> Simon Jespersen
> Project engineer
> Pine Tree Systems A/S
> Damhaven 5d
> DK-7100 Vejle
> Email: shj at pine.dk
> Phone: +4575724477
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list