Results 1 to 3 of 3

Thread: Why does opening terminal ask for a sudo password?

  1. #1
    Join Date
    Apr 2020
    Beans
    59

    Why does opening terminal ask for a sudo password?

    I have a few servers in my home, all running Ubuntu from Version 18 to 22.04.
    I just installed 22.04.1 on a new laptop.
    Everything works fine, but when I open a terminal window, I am prompted for a sudo password ??

    Code:
    [sudo] password for steve: 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    I have never seen this before- usually the terminal window just opens.
    Any ideas why I am getting this behavior?

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Why does opening terminal ask for a sudo password?

    So you get that immediately when you open a terminal? That is, you have not entered any commands?
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Jun 2016
    Beans
    2,879
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Why does opening terminal ask for a sudo password?

    Does your ~/.bashrc contain any commands that run sudo ?

    Specifically, the code you posted looks like output from sudo apt-get dist-upgrade or similar apt command.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

Tags for this Thread

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
  •