Documentation error "man sudo_root"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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:/
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".
Also for Ubuntu at least with the default Unity desktop there does not appear to be a "System settings" menu.
I suspect there are similar problems later in this file too.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: sudo 1.8.3p1-1ubuntu3.3
ProcVersionSign
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
Related branches
- Martin Pitt: Approve
-
Diff: 65 lines (+13/-6)2 files modifieddebian/changelog (+7/-0)
debian/sudo_root.8 (+6/-6)
description: | updated |
tags: | added: manpage |
tags: | added: quantal |
tags: | added: raring |
description: | updated |
Changed in sudo (Ubuntu): | |
status: | Invalid → Incomplete |
Changed in sudo (Ubuntu): | |
status: | Incomplete → New |
Changed in sudo (Ubuntu): | |
status: | Triaged → Fix Committed |
summary: |
- Documentation error "man sudo root" + Documentation error "man sudo_root" |
To let other users use 'sudo' open up a terminal and use 'visudo' (sudo visudo)
This will allow you to add other users and groups to use the sudo command
or adding them to the admin group (see /etc/sudoers) will by default allow root privlages.