Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

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 order to play audio (espeak or aplay for example) I have to be root (via sudo). How can I do those as just a regular user? Is there a group I must be a member of or do I have to change some permissions somewhere? Thanks.

share|improve this question
up vote 5 down vote accepted

The user has to be in the audio group:

gpasswd -a [user] audio
share|improve this answer

have you tried:

adduser <username> audio

as suggested here, or:

usermod -a -G audio <username>

as suggested here.

share|improve this answer
It's good to suggest adduser and addgroup rather than more primitive alternatives. – John Baber-Lucero Dec 5 '12 at 18:43

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.