-
Notifications
You must be signed in to change notification settings - Fork 185
Making your DW user a sudo account
In recent versions of Ubuntu, this command given in Dreamwidth Scratch Installation doesn't work automatically:
usermod -a -G sudo username
When this happens, trying to use sudo as the dw user can give you this error:
dw is not in the sudoers file. This incident will be reported.
To fix this, edit the /etc/sudoers file with your root user and uncomment this line (take off the leading #):
%sudo ALL=NOPASSWD: ALL
You can also edit the /etc/sudoers file and add a line specific to dw instead, depending on which behaviour you want.
If you don't want to enter your password during sudo commands, use:
dw ALL = NOPASSWD: ALL
If you do want to enter your password during sudo commands, use:
dw ALL = (ALL) ALL
Home • Index • Source Code • Report a Bug • Support
Copyright © 2009–2026 Dreamwidth Studios, LLC. Wiki content is licensed under CC BY 4.0 unless otherwise noted.
For Users
For Volunteers
For Developers