- set homedir

PR:		125081
This commit is contained in:
Dirk Meyer 2009-01-11 21:04:12 +00:00
parent d361934802
commit 2bd9531e93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225769
4 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ do-configure:
pre-install:
if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
-h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
-h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
post-install:
.for i in ${CONFIG_FILES}

View file

@ -1,5 +1,5 @@
@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi
@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d %%WWWDIR%% -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi
%%WWWDIR%%/client/bin/bb
%%WWWDIR%%/client/bin/bbcmd

View file

@ -73,7 +73,7 @@ do-configure:
pre-install:
if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
-h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
-h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
post-install:
.for i in ${FIXME1}

View file

@ -1,5 +1,5 @@
@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi
@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d %%WWWDIR%% -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi
%%WWWDIR%%/cgi-bin/bb-csvinfo.sh
%%WWWDIR%%/cgi-bin/bb-datepage.sh