Re:Abusing Ubuntu 24.04 features for root privilege escalation
by gazunklenut on Thursday November 14, 2024 @08:28AM
(#42135966)
Pretty sure this exists on Debian too
[ Parent
| on HN ]
Re:Abusing Ubuntu 24.04 features for root privilege escalation
by yjftsjthsd-h on Thursday November 14, 2024 @08:57AM
(#42136168)
I believe I've seen cloud vendors configure out that way, but I don't think it's an actual Debian default.
Re:Abusing Ubuntu 24.04 features for root privilege escalation
by poizan42 on Thursday November 14, 2024 @08:30AM
(#42135981)
Nope, not on my system: https://i.imgur.com/1qCLXXZ.png
Re:Abusing Ubuntu 24.04 features for root privilege escalation
by HumanOstrich on Thursday November 14, 2024 @10:42AM
(#42137307)
Great, now you can start putting your customizations in that directory instead of the OS-managed /etc/ssh/sshd_config blob. That's why the `.d/` convention exists.
Re:Abusing Ubuntu 24.04 features for root privilege escalation
by normie3000 on Thursday November 14, 2024 @10:46AM
(#42137354)
What does .d imply?
Re:Abusing Ubuntu 24.04 features for root privilege escalation
by HumanOstrich on Thursday November 14, 2024 @10:50AM
(#42137405)
I had to look up the info because I wasn't sure really, so I appreciate the direct question. It means 'directory' or 'conf.d pattern'. So you have your config file, and the config directory that contains "parts" of the config to be merged with the main one to provide customizations/overrides.
Re:Abusing Ubuntu 24.04 features for root privilege escalation
by MrResearcher on Friday November 15, 2024 @05:29PM
(#42151963)
Damn, you really got me scared there for a second. Just re-checked by Debian 12 systems on AWS, I don't have any files residing in *.d directories. So I confirm that if you used the official AWS Debian image, you wouldn't get it.
And if you downloaded and installed the authentic Debian 12 image from debian.org, you don't get it either. Must be a Ubuntu thingy.