Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my sudoers file, there are lines that begin with #, lines that begin with % and lines that begin with neither. The # is definitely being used to comment out lines, but what does the % do? Is it a comment marker too?

share|improve this question
In addition to the given answer: Linux manpages do not only exist for commands (e.g. "man visudo") but also for many configuration files (e.g. "man fstab"). In this case "man sudoers" teaches you more than you ever wanted to know about setting up sudo. – agporwfnz29 Aug 18 '10 at 12:39
up vote 9 down vote accepted

A percent sign is used to indicate that the identifier that follows should be used as the name of a group instead of a user.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.