summaryrefslogtreecommitdiff
path: root/Userland/Utilities/su.cpp
AgeCommit message (Collapse)Author
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2021-12-16su: Port to LibMain :^)Andreas Kling
2021-09-12LibCore: Make Account::authenticate take a SecretStringBrian Gianforcaro
To encourage users to use the SecretString API, change the API so that Account::authenticate only accepts a SecretString.
2021-09-12LibCore: Make get_password return SecretString instead of StringBrian Gianforcaro
We shouldn't let secrets sit around in memory, as they could potentially be retrieved by an attacker, or left in memory during a core dump.
2021-08-01Utilities: Remove unused header includesBrian Gianforcaro
2021-06-01Userland: Replace most printf-style APIs with AK::Format APIs :^)Linus Groh
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-22su: Drop "id" pledge after switching userAndreas Kling
2021-01-21LibCore+su+passwd: Don't keep /etc/passwd and /etc/shadow openAndreas Kling
Now that we've moved to atomic replacement of these files when altering them, we don't need to keep them open for the lifetime of Core::Account so just simplify this and close them when they are not needed.
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling