summaryrefslogtreecommitdiffstats
path: root/etc/login.conf
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2005-08-31 15:02:11 +0000
committerkeramida <keramida@FreeBSD.org>2005-08-31 15:02:11 +0000
commit6417f6af98d67012b6757e4d27d185009dbe5874 (patch)
tree95c016af6b61905ed864934ae59654e4f4160bfb /etc/login.conf
parentcaed8dde2c0c285b4827869dc3e2ff2a58634171 (diff)
downloadFreeBSD-src-6417f6af98d67012b6757e4d27d185009dbe5874.zip
FreeBSD-src-6417f6af98d67012b6757e4d27d185009dbe5874.tar.gz
Add a short description of how a literal colon ':' can be inlined in the
value of capability databases, since it's not really obvious how a colon can be escaped, and a pointer to the getcap(3) manpage for more details. Triggered by: a question by Ceri on -questions
Diffstat (limited to 'etc/login.conf')
-rw-r--r--etc/login.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/login.conf b/etc/login.conf
index 7b105ff..75cecc8 100644
--- a/etc/login.conf
+++ b/etc/login.conf
@@ -16,6 +16,11 @@
# defaults
# These settings are used by login(1) by default for classless users
# Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
+#
+# Note that since a colon ':' is used to separate capability entries,
+# a \c escape sequence must be used to embed a literal colon in the
+# value or name of a capability (see the ``CGETNUM AND CGETSTR SYNTAX
+# AND SEMANTICS'' section of getcap(3) for more escape sequences).
default:\
:passwd_format=md5:\
OpenPOWER on IntegriCloud