Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2010 07:24:42 -0500
From:      "b. f." <bf1783@googlemail.com>
To:        Leslie Jensen <leslie@eskk.nu>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: A question on syntax in /etc/login.conf
Message-ID:  <d873d5be1002010424n69e1db5cu170c4cca820650d9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
...

>Is it the colon or pipe sign that is correct?
>
>/Leslie

The answer is clearly set forth in login.conf(5):

 "Records in a class capabilities database consist of a number of colon-
     separated fields.  The first entry for each record gives one or more
     names that a record is to be known by, each separated by a '|' character.
     The first name is the most common abbreviation.  The last name given
     should be a long name that is more descriptive of the capability entry,
     and all others are synonyms.  All names but the last should be in lower
     case and contain no blanks; the last name may contain upper case charac-
     ters and blanks for readability.

     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."

When in doubt, look for a manpage (first).

b.



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