Comment 0 for bug 1130643

Revision history for this message
Warren Hill (warren-hill) wrote : Documentation error "man sudo root"

Since Ubuntu 12.04 to add admin privileges to a user the recommended way has been to add them to the sudo group. As described here https://help.ubuntu.com/community/RootSudo

However man page documentation: man sudo root

still says
------------------------------------------------------------------------------------------------------------
ALLOWING OTHER USERS TO RUN SUDO
       By default, only the user who installed the system is permitted to run
       sudo. To add more administrators, i. e. users who can run sudo, you
       have to add these users to the group 'admin' by doing one of the fol‐
       lowing steps:

       * In a shell, do

           sudo adduser username admin

       * Use the graphical "Users & Groups" program in the "System settings"
         menu to add the new user to the admin group.
--------------------------------------------------------------------------------------------------------------

I've checked documentation for 12.04, 12.10 and the as yet to be released 13.04
all say the same.

Should this not be changed to

sudo adduser username sudo

To match the fact that the first user on a system is now added to "sudo" and not "admin".

I suspect there are similar problems later in this file too.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: sudo 1.8.3p1-1ubuntu3.3
ProcVersionSignature: Ubuntu 3.2.0-38.60-generic 3.2.37
Uname: Linux 3.2.0-38-generic i686
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: i386
Date: Wed Feb 20 12:23:06 2013
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: sudo
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck: /etc/sudoers: parsed OK