Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2016 11:30:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207018] [patch] security/trousers: incorrect instructions in pkg-message.in
Message-ID:  <bug-207018-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207018

            Bug ID: 207018
           Summary: [patch] security/trousers: incorrect instructions in
                    pkg-message.in
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: freebsd-bugzilla@panopticism.net
          Keywords: patch
          Assignee: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)

Created attachment 166741
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166741&action=
=3Dedit
"svn diff" to replace incorrect message

After installation of security/trousers, the following informational messag=
e is
displayed to the user:

-----
Message from trousers-tddl-0.3.10_7:
To run tcsd automatically, add the following line to /etc/rc.conf

tcsd_enable=3D"YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

To use TPM, add your_account to '_tss' group like following:

# pw groupadd _tss -m your_account
-----

The command shown is incorrect, however, and attempting to execute it resul=
ts
in the below error message:

-----
$ sudo pw groupadd _tss -m foo
pw: illegal option -- m
pw: unknown switch
-----

To add a user to the _tss group, "pw groupmod" should be used instead of "pw
groupadd" in the above command:

-----
$ getent group _tss
_tss:*:601

$ sudo pw groupmod _tss -m foo

$ getent group _tss
_tss:*:601:foo
-----

The file to change to make this change in is files/pkg-message.in.

An "svn diff" is attached and included below:

$ svn info --show-item revision /usr/ports
408471

$ cat trousers-tddl-0.3.10_7.diff
Index: files/pkg-message.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- files/pkg-message.in        (revision 408471)
+++ files/pkg-message.in        (working copy)
@@ -6,4 +6,4 @@

 To use TPM, add your_account to '%%GROUPS%%' group like following:

-# pw groupadd %%GROUPS%% -m your_account
+# pw groupmod %%GROUPS%% -m your_account

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207018-13>