Post AzeJolpuASEFE8YXXE by foone@digipres.club
(DIR) More posts by foone@digipres.club
(DIR) Post #AzeHpneGiOsDEGTavA by foone@digipres.club
2025-10-27T22:48:34Z
0 likes, 0 repeats
I think I've put off upgrading a little-used VPS for so long that now I can't upgrade it.I've lost the password
(DIR) Post #AzeI0Dg2nQ8SqqH8NM by foone@digipres.club
2025-10-27T22:50:32Z
0 likes, 0 repeats
I had SSH key login enabled so I can still access it, but only as a local user. I can't sudo because I don't know the password to the user I've logged in as
(DIR) Post #AzeI3r14zReXjEqbtw by foone@digipres.club
2025-10-27T22:50:39Z
0 likes, 0 repeats
(and ssh for root is off)
(DIR) Post #AzeIDVatUbceBUCekS by _GreyWolf@kinkycats.org
2025-10-27T22:52:56Z
0 likes, 0 repeats
@fooneCan't you do `su` if you know the root login ?
(DIR) Post #AzeIGyfFrlrNDGtftY by alex02@ieji.de
2025-10-27T22:53:40Z
0 likes, 0 repeats
@foone lmao oh good shit right there. brings back memories.
(DIR) Post #AzeIVfwnjoCBVV73Ds by foone@digipres.club
2025-10-27T22:56:18Z
0 likes, 0 repeats
@gewt I can just go through the VPS provider and have 'em reboot it into single user
(DIR) Post #AzeIjwE40nGG31zJrM by grumpygamer@mastodon.gamedev.place
2025-10-27T22:58:52Z
0 likes, 0 repeats
@foone password123 for the win.
(DIR) Post #AzeImyjn86LYhsHJPk by foone@digipres.club
2025-10-27T22:59:05Z
0 likes, 0 repeats
I went in through the VPS host, had them reboot it into single-user rescue mode, mounted the original hard drive and chroot'd in and reset the password to hunter2
(DIR) Post #AzeIsRhirN7Tzcuwkq by avatastic@avatastic.uk
2025-10-27T23:00:22Z
0 likes, 0 repeats
@foone if it's that old, there's probably a privilege escalation bug you can exploit right?
(DIR) Post #AzeIweFOAQXM3KfVKK by piepants@famichiki.jp
2025-10-27T23:01:07Z
0 likes, 0 repeats
@foone All I see is *******.
(DIR) Post #AzeJ47CYuiNlsduHhY by foone@digipres.club
2025-10-27T23:02:34Z
0 likes, 0 repeats
ugh. it's an old enough ubuntu (20.04) that I can't just do-release-upgrade it, because it can't do apt-update/apt-upgrade because the repos are all 404ing
(DIR) Post #AzeJ8CtXgk5ghCxgJs by foone@digipres.club
2025-10-27T23:03:16Z
0 likes, 0 repeats
I think there's a way to change their URLs to point to an archive but I don't recall off the top of my head. and I'm not sure do-release-upgrade will get me to a functional point. might be easier to just reinstall the whole thing at this point
(DIR) Post #AzeJYgf7dWCgXyqLoG by foone@digipres.club
2025-10-27T23:07:53Z
0 likes, 0 repeats
@jenkins It's a cheap VPS hosted in another country, which is a handy thing to have in the current era of The Internet Being Crappy
(DIR) Post #AzeJbelX90f5X9G4Lg by brot@social.tchncs.de
2025-10-27T23:07:59Z
0 likes, 0 repeats
@foone I had to do this a few months ago, and it did work fine.The domain you are looking for is: https://old-releases.ubuntu.com/ubuntu/dists/
(DIR) Post #AzeJkzjQYw0bAHj3x2 by foone@digipres.club
2025-10-27T23:10:16Z
0 likes, 0 repeats
okay hacked menu.list, and do-release-upgrade can apparently get me to 22.04 jammy jellyfish, which is supported until 2027. that'll do!
(DIR) Post #AzeJolpuASEFE8YXXE by foone@digipres.club
2025-10-27T23:10:34Z
0 likes, 0 repeats
for the record, the answer:deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse
(DIR) Post #AzeJsR29S7u7rr21dg by foone@digipres.club
2025-10-27T23:11:01Z
0 likes, 0 repeats
from this reddit comment:https://www.reddit.com/r/Ubuntu/comments/zr0wd7/comment/j111ri9/
(DIR) Post #AzeRs8P9VwJVix9qng by lackthereof@beige.party
2025-10-28T00:41:11Z
0 likes, 0 repeats
@foone Ugh, Ubuntu upgrades.How is it that upgrading slackware in 2000 was somehow less painful than upgrading Ubuntu today.
(DIR) Post #AzeUIe88NjbzYYy1se by orman@furry.engineer
2025-10-28T01:08:20Z
0 likes, 0 repeats
@foone I don't understand why those URLs expire/get moved in the first place
(DIR) Post #AzetvjqJZeavQCMyfI by epithumia@mstdn.social
2025-10-28T05:55:27Z
0 likes, 0 repeats
@foone I did a couple of 18->20->22->24 recently and my advice to my old self would be "stick to plain old Debian" and "do your dist-upgrades every two years".
(DIR) Post #AzhZnUwVfn9ZHfwMuu by Gwendolyn@eldritch.cafe
2025-10-29T12:54:05Z
0 likes, 0 repeats
@foone what'd you reset it to? All I see is *******.