Új hozzászólás Aktív témák

  • sh4d0w

    félisten

    Nos, ime (rosszul emlekeztem a reszletekre, de kiprobalhatnatok, ha Mintet hasznaltok) - trimmelve:

    Title:
    User password kept in memory
    Status in Linux Mint:
    Invalid
    Bug description:
    1. Linux Mint 18 "Sarah" Cinnamon 64-bit edition
    2. Typed "apt upgrade" then "sudo !!" and then "apt update" and "apt
    upgrade"
    3. My password stayed in memory after the "sudo !!" command even if I
    didn't use "sudo" as I could issue apt update and apt upgrade without
    providing my password again.
    4. It is expected to throw and error message for "apt update" and "apt
    upgrade" if I use it without "sudo".
    5. Always.

    Here are the things happened in LM18 (text saved from gnome-terminal):
    user@Bismarck ~ $ apt upgrade
    [sudo] password for user:
    user@Bismarck ~ $ sudo !!
    sudo apt upgrade
    [sudo] password for user:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
    bind9-host dnsutils libbind9-140 libdns-export162 libdns162 libisc-export160 libisc160 libisccc140 libisccfg140 liblwres141 vivaldi-stable
    11 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
    Need to get 49.6 MB of archives.
    After this operation, 6,767 kB of additional disk space will be used.
    Do you want to continue? [Y/n] ^C
    user@Bismarck ~ $ apt update
    Get:1 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu xenial InRelease [247 kB]
    Ign:2 http://www.mirrorservice.org/sites/packages.linuxmint.com/packages sarah InRelease
    Hit:3 http://www.mirrorservice.org/sites/packages.linuxmint.com/packages sarah Release
    trim

    The same try on Kali:

    user@kali-core:~$ apt update
    W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
    E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
    E: Unable to lock directory /var/lib/apt/lists/
    W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
    W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    user@kali-core:~$ sudo !!
    sudo apt update
    [sudo] password for user:
    Get:1 http://ftp.hands.com/kali kali-rolling InRelease [30.5 kB]

    trim

    ^C
    user@kali-core:~$ Failed to import the site module
    Traceback (most recent call last):
    File "/usr/lib/python3.5/site.py", line 580, in <module>
    main()
    File "/usr/lib/python3.5/site.py", line 567, in main
    known_paths = addsitepackages(known_paths)
    File "/usr/lib/python3.5/site.py", line 343, in addsitepackages
    if os.path.isdir(sitedir):
    File "/usr/lib/python3.5/genericpath.py", line 42, in isdir
    st = os.stat(s)
    KeyboardInterrupt
    apt update
    W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
    E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)

    trim

    user@kali-core:~$ sudo apt update
    Hit:1 http://ftp.hands.com/kali kali-rolling InRelease
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    61 packages can be upgraded. Run 'apt list --upgradable' to see them.
    user@kali-core:~$ apt update
    W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
    E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)

    A bug reportot ne keressetek Launchpaden, mert le lett torolve.

Új hozzászólás Aktív témák