Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: Unlock screens using any admin password' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Unlock screens using any admin password
Authored by: treydock on Oct 11, '11 02:02:11PM
A shorter way to do this would be use the -i flag to create a backup...

sed -i '.bak' 's#account    required       pam_group.so no_warn group=admin,wheel fail_safe#account    sufficient       pam_group.so no_warn group=admin,wheel fail_safe#g' /etc/pam.d/screensaver
That will create a backup of the original at /etc/pam.d/screensaver.bak - Trey

[ Reply to This | # ]