[DNG] How do I get the user's home directory path?

2015-10-11 Thread Edward Bartolo
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

Re: [DNG] How do I get the user's home directory path?

2015-10-11 Thread Riccardo Boninsegna
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:

Re: [DNG] How do I get the user's home directory path?

2015-10-11 Thread Edward Bartolo
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

Re: [DNG] How do I get the user's home directory path?

2015-10-11 Thread Rainer Weikusat
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

[DNG] About the experimental live DVD

2015-10-11 Thread aitor_czr
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

[DNG] Git pushed latest changes to backend and netman GUI.

2015-10-11 Thread Edward Bartolo
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