Difference between revisions of "Open Directory"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'Here are some tips on OSX Open Directory: * '''Create user''': dscl . -create /Users/openkm * '''Assign shell''': dscl . -create /Users/openkm UserShell /bin/bash * '''Assign us…')
 
Line 11: Line 11:
 
More on OpenDirectory and the dscl Tool at
 
More on OpenDirectory and the dscl Tool at
 
[http://developer.apple.com/mac/library/documentation/Porting/Conceptual/PortingUnix/intro/intro.html Introduction to Porting UNIX/Linux Applications to Mac OS X].
 
[http://developer.apple.com/mac/library/documentation/Porting/Conceptual/PortingUnix/intro/intro.html Introduction to Porting UNIX/Linux Applications to Mac OS X].
 +
 +
[[Category: Installation Guide]]

Revision as of 15:23, 26 January 2010

Here are some tips on OSX Open Directory:

  • Create user: dscl . -create /Users/openkm
  • Assign shell: dscl . -create /Users/openkm UserShell /bin/bash
  • Assign user name: dscl . -create /Users/openkm RealName "OpenKM user"
  • Search UID: dscl . -search /Users uid 503
  • Assign UID: dscl . -create /Users/openkm UniqueID 503
  • Assign user home: dscl . -create /Users/openkm NFSHomeDirectory /opt/openkm
  • Assign password: dscl . -passwd /Users/openkm xxxxxx

More on OpenDirectory and the dscl Tool at Introduction to Porting UNIX/Linux Applications to Mac OS X.