This repository has been archived on 2024-03-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
adlin/challenge/sbin/fakelogin
2018-02-23 20:30:29 +01:00

7 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 $@