This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
adlin/challenge/sbin/fakelogin

8 lines
192 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
[ "$2" = "root" ] &&
echo "Tip: vous souvenez-vous du mot de passe root ?" ||
echo "Tip: cette machine n'est pas reliée au LDAP de l'école."
exec login $@