I used:
char* home = getenv("HOME");
to get the user's home directory but got "/root" instead. The reason
is backend has a setuid = 0. However, I need to get the unprivileged
user home directory path. Does anyone know of a solution?
After this and some more days of testing, I will be able to
On Sun, 11 Oct 2015 13:52:36 +0200
Edward Bartolo wrote:
> I need to get the unprivileged user home directory path. Does anyone know of
> a solution?
Can you pass the user's name or UID to the backend in some way?
If yes, this command could probably be adapted (credits:
Working solution found.
Thanks
On 11/10/2015, Riccardo Boninsegna wrote:
> On Sun, 11 Oct 2015 13:52:36 +0200
> Edward Bartolo wrote:
>> I need to get the unprivileged user home directory path. Does anyone know
>> of a solution?
>
> Can you pass the
Edward Bartolo writes:
> I used:
>
> char* home = getenv("HOME");
>
> to get the user's home directory but got "/root" instead. The reason
> is backend has a setuid = 0. However, I need to get the unprivileged
> user home directory path. Does anyone know of a solution?
A setuid
Hi Frits,
On 08/10/15 17:05, Godefridus Daalmans wrote:
Hello,
I would like to clarify some things about the live DVD that I made:
- arch is amd64, userid user password live. It works inside virtualbox,
not tested on bare iron. Do sudo bash to work as root.
You can
Hi,
I have just git pushed my latest changes to netman GUI and the backend
which now should support wlanN and eth0...eth3 (till now).
This was a complex modification, so undiscovered bugs may still be
lurking. Please, give your feedback, especially positive, and
suggestions for improvement. At