Merge lp:~abone/ubuntu/utopic/bash/fix-1358827 into lp:ubuntu/utopic/bash

Proposed by Andrey Bondarenko
Status: Merged
Approved by: Marc Deslauriers
Approved revision: 78
Merge reported by: Marc Deslauriers
Merged at revision: not available
Proposed branch: lp:~abone/ubuntu/utopic/bash/fix-1358827
Merge into: lp:ubuntu/utopic/bash
Diff against target: 27 lines (+8/-1)
2 files modified
debian/changelog (+7/-0)
debian/etc.bash.bashrc (+1/-1)
To merge this branch: bzr merge lp:~abone/ubuntu/utopic/bash/fix-1358827
Reviewer Review Type Date Requested Status
Marc Deslauriers Approve
Review via email: mp+231417@code.launchpad.net

Description of the change

A fix for LP: #1358827 that produce the same behaviour
for users in admin group (deprecated) and sudo group
(this group is used by upstream, Debian and Ubuntu since 12.04)

To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Looks good, I've rebased it on Ubuntu 15.04 and have uploaded it.

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-08-04 09:35:20 +0000
3+++ debian/changelog 2014-08-19 16:42:22 +0000
4@@ -1,3 +1,10 @@
5+bash (4.3-8ubuntu2) utopic; urgency=medium
6+
7+ * debian/etc.bash.bashrc: print a hint how to get root access if user
8+ is in sudo group (lp: #1358827)
9+
10+ -- Andrey Bondarenko <abondarenko@users.sourceforge.net> Tue, 19 Aug 2014 22:25:51 +0600
11+
12 bash (4.3-8ubuntu1) utopic; urgency=medium
13
14 * Merge with Debian; remaining changes:
15
16=== modified file 'debian/etc.bash.bashrc'
17--- debian/etc.bash.bashrc 2014-05-08 11:58:40 +0000
18+++ debian/etc.bash.bashrc 2014-08-19 16:42:22 +0000
19@@ -39,7 +39,7 @@
20
21 # sudo hint
22 if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then
23- case " $(groups) " in *\ admin\ *)
24+ case " $(groups) " in *\ admin\ *|*\ sudo\ *)
25 if [ -x /usr/bin/sudo ]; then
26 cat <<-EOF
27 To run a command as administrator (user "root"), use "sudo <command>".

Subscribers

People subscribed via source and target branches