-
Fototrend
Linux kezdőknek - érdemes beleolvasni, mielőtt kérdezel
Ú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
A topik célja: Segítségnyújtás a Linux disztribúciókkal még csak ismerkedők számára. A szerveres kérdések nem ebbe a topicba tartoznak.
Kérdés előtt olvasd el a topik összefoglalóját!
Haladó Linuxos kérdések topikja.
Linux felhasználók OFF topikja
Milyen program ami... [link]
Shell script kérdésekkel látogassatok el a topikjába
- Vélemény Ubuntu 20.04 LTS
- Vélemény Linux Mint Debian Edition 4
- Tudástár MX-Linux 19
- Bemutató Linux a mindennapokban: Manjaro KDE
- Bemutató Linux a mindennapokban
- Hír Zöld utat adott a nyílt forráskódú Linux meghajtóknak az NVIDIA
- Hír A Steam Play hozza el a Windowsra írt játékokat Linuxra
- Hír Hova jut a világ? Linuxot kínál a Windows Store!
- Windows 10 11 Pro Office 19 21 Pro Plus Retail kulcs 1 PC Mac AKCIÓ! Automatikus 0-24
- Eladó Steam kulcsok kedvező áron!
- Kaspersky, McAfee, Norton, Avast és egyéb vírusírtó licencek a legolcsóbban, egyenesen a gyártóktól!
- Gyermek PC játékok
- Eladó steam/ubisoft/EA/stb. kulcsok Bank/Revolut/Wise (EUR, USD, crypto OK)
- HP Rack szerverek és tartozékok egyben vagy külön-külön
- LENOVO ThinkBook 13s - 13.3" FullHD IPS - i5-10210U - 8GB - 256GB SSD - Win11 - MAGYAR
- BESZÁMÍTÁS! Gigabyte B760M i5 14600KF 64GB DDR4 512GB SSD RTX 3080 10GB Corsair 4000D Airflow 1000W
- ÁRGARANCIA! Épített KomPhone i5 12400F 16/32/64GB RAM RTX 5060 8GB GAMER PC termékbeszámítással
- Olcsó Laptop! Dell Latitude 7280. I5 7300U / 8GB DDR4 / 256GB SSD
Állásajánlatok
Cég: Promenade Publishing House Kft.
Város: Budapest
Cég: PC Trade Systems Kft.
Város: Szeged