Timeline for Automatically verify passwords for classroom exercise?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 17, 2019 at 17:56 | history | edited | Archemar | CC BY-SA 4.0 |
fixed typos
|
| Nov 17, 2019 at 17:42 | comment | added | user372803 |
I got something working based on this. For some reason I couldn't use that salt=$(...) line inside the script even though it worked from the command line. It seemingly didn't like the variable I was using inside the loop for some reason. But I replaced it with $(grep "$name:" /etc/shadow | awk -F "$" '{print $3}') and this works perfectly. Thanks a lot!
|
|
| Nov 17, 2019 at 17:40 | vote | accept | CommunityBot | ||
| Nov 17, 2019 at 17:15 | history | answered | Archemar | CC BY-SA 4.0 |