Thread
:
INCEPTION 0.2.5: Assume direct control with PR1.3!
View Single Post
PIDk
2012-09-15 , 08:19
Posts: 120 | Thanked: 83 times | Joined on May 2012
#
159
A question about
ariadne
.
Before 0.2.5, when there were no ariadne, i used opensh to get full root privileges. Of course i knew about "security flaws", so I just
chmod 744
'ed opensh and open-sh and used it the following way:
Code:
devel-su opensh
After 0.2.5 i tried to use ariadne for the same purpose. But ariadne didn't work the way i expected. I used it like:
Code:
ariadne sh
Yes, it gives me full root & aegis credentials, root user id, but it doesn't give me root
environment variables
(e.g. HOME variable still points to
/home/user
). In contrast, my old way with opensh did all those things right.
I can use:
Code:
devel-su ariadne sh
And it will work as expexted - all variables will be set correctly. But it will ask my root password
two
times.
I tried:
Code:
ariadne sh su
But
su
resets
aegis credentials.
So my question is: is there an elegant way to get full root with correct environment variables using ariadne?
Last edited by PIDk; 2012-09-15 at
09:27
.
Quote & Reply
|
PIDk
View Public Profile
Send a private message to PIDk
Find all posts by PIDk