[Bug 207018] [patch] security/trousers: incorrect instructions in pkg-message.in
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 8 11:30:06 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207018
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 at FreeBSD.org
Reporter: freebsd-bugzilla at panopticism.net
Keywords: patch
Assignee: hrs at FreeBSD.org
Flags: maintainer-feedback?(hrs at FreeBSD.org)
Created attachment 166741
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166741&action=edit
"svn diff" to replace incorrect message
After installation of security/trousers, the following informational message 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="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 results
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
===================================================================
--- 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list