-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Password Verification Correctly Implemented
AppleScript wants to only run shell commands as root using its with administrator priveleges. Which just uses granted permissions to the app to authenticate. This is super unhelpful when you are trying to verify the entered password. This adds in a simple shell script file that runs a command that requries the current user password, just to check if the entered password is correct.
- Loading branch information
1 parent
906c2bb
commit 214cff4
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
Binary file modified
BIN
+6.69 KB
(120%)
...oj/project.xcworkspace/xcuserdata/andrewafonso.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# pwTester.sh | ||
# "Author": Andrew Afonso | ||
pwpolicy -p $@ enableuser |