logoalt Hacker News

jeroenhd • yesterday at 11:09 PM • 1 reply • view on HN

It's not a regression, it's a documented, deliberate decision to change the behaviour of the program.

    The sudo-rs 'sudoers' manual page suggests that this is a deliberate decision, which makes the Rust version of sudo very definitely not a compatible implementation. The manual page has a nice full section and description of 'Wildcards', and then at the end casually says:
    
    > Wildcards in command line arguments are not supported—using these in original versions of sudo was usually a sign of mis-configuration and consequently sudo-rs simply forbids using them. The only supported use is ‘*’ as the final argument to indicate “zero or more subsequent arguments as noted above.
The manual should probably drop the wildcards section it's not implementing anyway, though.

Replies

dmitrygr • today at 12:31 AM

And when one upgrades and OS and something that worked since 1980 stops working, what do we call that, class?

That’s right. “A regression”

Whether it was accidental or purposeful changes nothing.