Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2021 13:59:57 +0900
From:      Paseri <paseri@fmp.to>
To:        freebsd-users-jp@freebsd.org
Subject:   [FreeBSD-users-jp 96807]  =?utf-8?b?c2VjdXJpdHkvdHJvdXNlcnMg44GM6LW35YuV44GX44Gq44GE?=
Message-ID:  <a0b73406-5dd0-e28b-4538-1550b7468440@fmp.to>

next in thread | raw e-mail | index | archive | help
$B$?$1$U!wBg:eK-Cf$G$9(B

send-pr $B$9$kDx$G$bL5$5$2$J$N$G!"(BML $B$KEj$2$H$-$^$9!#(B

tpm $B$N<B83$9$k0Y$K$H;W$$(B security/trousers $B$r(B 13.0-RELEASE amd64 $B>e$G%$%s%9%3$7$?$N$G$9$,!"(B
/usr/local/etc/tcsd.conf $B%U%!%$%k$N%f!<%6!<$,0c$&$H1>$o$l$F%G!<%b%s$,5/F0$7$h$&$H$7$^$;$s$G$7$?!#(B
$B%"%I%[%C%/E*$JBP1~$G5/F0$9$k$h$&$K$J$j$^$7$?$N$G!"(B
trousers-0.3.15 $B$,(B ports $B$K$J$kKx$O$3$l$G<B83=PMh$=$&$J5$$,$7$F$$$^$9!#(B

<$B$\$=(B>$B$^$@!"(B/dev/tpm $B$N;H$$J}$,M}2r$7$FL5$$$N$OFb=o(B</$B$\$=(B>

$B0J2<$K;n$7$?7k2L$H%"%I%[%C%/E*2r7hK!$r=q$$$F$$$^$9!#(B
# service tcsd start
Starting tcsd.
/usr/local/etc/rc.d/tcsd: WARNING: failed to start tcsd
# /usr/local/sbin/tcsd -f
TCSD ERROR: TCSD config file (/usr/local/etc/tcsd.conf) must be user/group root/_tss
$B",$3$3$G$d$k5$$r<:$&(B

# sysrc tcsd_enable
tcsd_enable: YES
# sysrc tcsd_mode
sysrc: unknown variable 'tcsd_mode'
# sysrc tpmd_enable
sysrc: unknown variable 'tpmd_enable'
$B",(Btcsd $B$N@_Dj$@$1M-8z$K$7$F$$$k(B

# ls -al /usr/local/etc/tcsd.conf*
-rw-------  1 _tss  _tss  7031 May 24 13:03 /usr/local/etc/tcsd.conf
-rw-------  1 _tss  _tss  7031 May 24 13:03 /usr/local/etc/tcsd.conf.sample
$B",%$%s%9%3D>8e$N%Q!<%_%C%7%g%s$H%*!<%J!<(B

# sed -i.bak -e 's|0600|0640|' /usr/local/etc/rc.d/tcsd
$B",%"%I%[%C%/E*=q49(B :-p

# service tcsd start
Starting tcsd.

$B%F%9%H4D6-(B
# uname -v
FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
# freebsd-version -ku
13.0-RELEASE
13.0-RELEASE

$B:G8e$K!#(B
$B%=!<%9$K$O(B 0640 $B7h$aBG$A$N2U=j$,Fs$+=j$[$I=P$F$/$k$N$G!"$=$NJU$j$r$J$V$C$F8+$k$HNI$$$N$+$b$7$l$^$;$s$M!#(B
> dist/Makefile.am:       /bin/chmod 0640 ${DESTDIR}/@sysconfdir@/tcsd.conf
> src/tcsd/tcsd_conf.c:           LogError("TCSD config file (%s) must be mode 0640", tcsd_config_file);

$B$=$l$G$O!#(B

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0b73406-5dd0-e28b-4538-1550b7468440>