Hi
My passwords in /etc/shadow is hashed by MD5
# cat /etc/shadow|grep kuki
kuki:$1$2U8zAf63$J6tqf0WUEc...........
I need small program that can make authority.
Program should be executed like this:
$ authority.py -u user -p password
Program should return 0 if authority passed and 1 if authority failed.
Any ideas?
Best regards
Marcin Kuk
My passwords in /etc/shadow is hashed by MD5
# cat /etc/shadow|grep kuki
kuki:$1$2U8zAf63$J6tqf0WUEc...........
I need small program that can make authority.
Program should be executed like this:
$ authority.py -u user -p password
Program should return 0 if authority passed and 1 if authority failed.
Any ideas?
Best regards
Marcin Kuk