Print this page
7648 useradd/mod commands operate on /home special filesystem

*** 35,44 **** --- 35,48 ---- #define AUTH_SEP "," #define PROF_SEP "," #define ROLE_SEP "," + #ifndef DEFAULT_USERADD + #define DEFAULT_USERADD "/etc/default/useradd" + #endif + #define MAX_TYPE_LENGTH 64 char *getusertype(char *cmdname); int is_role(char *usertype);
*** 51,60 **** --- 55,68 ---- /* create_home() or rm_files() flags */ #define MANAGE_ZFS_OPT "MANAGE_ZFS=" #define MANAGE_ZFS 1 + /* home parent settings for create_home() */ + #define HOMEPARENT_OPT "HOME_PARENT=" + #define HOMEPARENT "/home" + #ifdef __cplusplus } #endif #endif /* _FUNCS_H */