[LRUG] [OT?] Security advice, Prey and catching burglars... 'The Ruby Way'

Damon Allen Davison damon at allolex.net
Fri Mar 30 08:55:51 PDT 2012

On Fri, Mar 30, 2012 at 4:52 PM, Damon Allen Davison <damon at allolex.net>wrote:

> If you use the Unix command passwd, it will change the PAM authentication
> password, but if you use dscl to change it, i.e. directory services, then
> it will set the password for the user in Open Directory. The Unix command
> passwd has been deprecated in OS 10.7 (Lion), so you *have* to use the dscl
> method at the command line. I think the default authentication service
> order is network login, local login via directory services, Unix/PAM login.

The dscl command is, incidentally,

$ dscl localhost -passwd /Search/Users/USERNAME


Damon Allen Davison

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20120330/763a6dc1/attachment-0003.html>

More information about the Chat mailing list