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
=== modified file 'debian/changelog'
--- debian/changelog 2014-08-04 09:35:20 +0000
+++ debian/changelog 2014-08-19 16:42:22 +0000
@@ -1,3 +1,10 @@
1bash (4.3-8ubuntu2) utopic; urgency=medium
2
3 * debian/etc.bash.bashrc: print a hint how to get root access if user
4 is in sudo group (lp: #1358827)
5
6 -- Andrey Bondarenko <abondarenko@users.sourceforge.net> Tue, 19 Aug 2014 22:25:51 +0600
7
1bash (4.3-8ubuntu1) utopic; urgency=medium8bash (4.3-8ubuntu1) utopic; urgency=medium
29
3 * Merge with Debian; remaining changes:10 * Merge with Debian; remaining changes:
411
=== modified file 'debian/etc.bash.bashrc'
--- debian/etc.bash.bashrc 2014-05-08 11:58:40 +0000
+++ debian/etc.bash.bashrc 2014-08-19 16:42:22 +0000
@@ -39,7 +39,7 @@
3939
40# sudo hint40# sudo hint
41if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then41if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then
42 case " $(groups) " in *\ admin\ *)42 case " $(groups) " in *\ admin\ *|*\ sudo\ *)
43 if [ -x /usr/bin/sudo ]; then43 if [ -x /usr/bin/sudo ]; then
44 cat <<-EOF44 cat <<-EOF
45 To run a command as administrator (user "root"), use "sudo <command>".45 To run a command as administrator (user "root"), use "sudo <command>".

Subscribers

People subscribed via source and target branches