Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Something new in Vivid

  1. #11
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Something new in Vivid

    [QUOTE=cariboo907;13155527]What zika posted is in /etc/bash.bashrc:
    ...
    I get it now - it was previously in there but set for admin group so the hint didn't show since the switch to sudo group in 12.04

  2. #12
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Something new in Vivid

    Quote Originally Posted by cariboo907 View Post
    What zika posted is in /etc/bash.bashrc:

    Code:
    # sudo hint
    if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then
        case " $(groups) " in *\ admin\ *|*\ sudo\ *)
        if [ -x /usr/bin/sudo ]; then
        cat <<-EOF
        To run a command as administrator (user "root"), use "sudo <command>".
        See "man sudo_root" for details.
    Yeap.
    Quote Originally Posted by zika View Post
    That is a sort of atavism that will, as earlier, disappear soon, I'm sure.
    Usually it did not (re)surface in Ubuntu proper.
    Last edited by zika; October 30th, 2014 at 06:38 AM.

  3. #13
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Something new in Vivid

    Quote Originally Posted by zika View Post
    Old stuff. very old. Make just one successful sudo command or do
    Code:
     touch ~/.sudo_as_admin_successful
    and it will disappear. Delete that file and it will be back again. Successful sudo command makes it again...
    What is there to be „fixed“? Learn Your bash better, we old guys did...
    As I said .. there was nothing here.

    Learn Your bash better, we old guys did...
    lol

  4. #14
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Something new in Vivid

    Quote Originally Posted by zika View Post
    Learn Your bash better, we old guys did...
    Ha! It was displaying that at the top of terminal when I first booted into Vivid today but after I got updates today including the 3.16.0-24-generic kernel I no longer have that.

    Screenshot-terminal.png

  5. #15
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Something new in Vivid

    Quote Originally Posted by Cavsfan View Post
    Ha! It was displaying that at the top of terminal when I first booted into Vivid today but after I got updates today including the 3.16.0-24-generic kernel I no longer have that.

    Screenshot-terminal.png
    Did You update/upgrade from CLI or GUI? If You did from CLI You've issued sudo-command and, hence, see above... If not then, as so many times before, mainly this early in U+1, bash had that atavism removed, for Ubuntu proper way...

  6. #16
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Something new in Vivid

    Quote Originally Posted by Cavsfan View Post
    Ha! It was displaying that at the top of terminal when I first booted into Vivid today but after I got updates today including the 3.16.0-24-generic kernel I no longer have that.

    Screenshot-terminal.png
    I got it now too.

    Must be slow updates..

  7. #17
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Something new in Vivid

    Quote Originally Posted by zika View Post
    Did You update/upgrade from CLI or GUI? If You did from CLI You've issued sudo-command and, hence, see above... If not then, as so many times before, mainly this early in U+1, bash had that atavism removed, for Ubuntu proper way...
    I always use CLI. I don't touch the Update-Mangler nor do I get my updates through SPM and I'll take my chances.

    Quote Originally Posted by ventrical View Post
    I got it now too.

    Must be slow updates..
    Guess so. Good deal!

  8. #18
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Something new in Vivid

    Quote Originally Posted by Cavsfan View Post
    I always use CLI.
    Quote Originally Posted by zika View Post
    Make just one successful sudo command and it will disappear.
    Full circle... Ready for next round?

  9. #19
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Something new in Vivid

    I'm pretty sure it was this way for a couple of days at least and I got updates via CLI.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •