Starting service as @user chdir() to their $HOME

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-07-28 23:48:39 +02:00
1 parent 0710fdd2a3
commit 57514130fc
3 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ void print_desc (char *action, char *desc);
int print_result (int fail);
int start_process (char *cmd, char *args[], int console);
void do_sleep (unsigned int sec);
int getuser (char *username);
int getuser (char *username, char **home);
int getgroup (char *group);
void set_hostname (char **hostname);