A question on syntax in /etc/login.conf
b. f.
bf1783 at googlemail.com
Mon Feb 1 12:24:44 UTC 2010
...
>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.
More information about the freebsd-questions
mailing list