From 6417f6af98d67012b6757e4d27d185009dbe5874 Mon Sep 17 00:00:00 2001 From: keramida Date: Wed, 31 Aug 2005 15:02:11 +0000 Subject: 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 --- etc/login.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/login.conf') 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:\ -- cgit v1.1