I found the following script to add a user via commandline: http://www.dreness.com/bits/tech/adduser.html
Am 09.08.2006 um 23:16 schrieb ChuckD: > > I wrote a small script for creating the users/group via cmd line, > using > nireport and niload. It's not fully tested yet, and the code needs a > little clean-up, but it works on OSX 10.4 (not tested on Panther). If > folks are interested I'll post the script and load files to the list. > > -Chuck > > Daniel Cid wrote: >> >> Does the link provided in that message: >> >> http://www.ossec.net/ossec-list/2006-March/msg00030.html >> >> Works for every MacOS? If it does, we can modify the install to >> support it... Also, can you confirm that the lowercase "r" is >> not supported (for cp)? We would need to fix that for the next >> version.. >> >> Thanks, >> >> -- >> Daniel B. Cid >> dcid ( at ) ossec.net >> >> On 8/8/06, kef_list <[EMAIL PROTECTED]> wrote: >>> >>> Yeah, I got it compile without problems, it is just that nothing >>> gets >>> installed anywhere... >>> >>> Since I am using Server, I just created the users via the >>> "Workground >>> Admin" application, but I do know there are web pages describing how >>> to add users via command line (using the niload command I >>> believe...) >>> >>> >>> >>> >>> On Aug 8, 2006, at 21:20 , Lars Scheithauer wrote: >>> >>>> >>>> Did you get it compiled so far? I'm currently trying to figure >>>> out a >>>> way to add the needed groups from cmdline / script for a patch for >>>> the installationscript, but did not have much time to look into >>>> it so >>>> far. I did not notice any copy-problems so far on os-x 10.4.7 >>>> (regular, not server). >>>> >>>> -- Lars >>>> >>>> >>>> Am 08.08.2006 um 19:29 schrieb kef_list: >>>> >>>>> >>>>> Hi guys, >>>>> >>>>> I have been trying to install ossec 0.9 under Mac OS X server >>>>> 10.4.7, but it won't install. >>>>> >>>>> I have created manually the required users and group (group >>>>> "ossec". users: "ossec", "ossecr", "ossecm" and "ossece".) >>>>> >>>>> And compilations seems to work, the problem is with the copying of >>>>> the compiled binaries. For starters I have noticed that it uses >>>>> "cp >>>>> -pr ..." but Mac OS X does not support lower case "r". >>>>> >>>>> I have manually changed all instances of "cp -pr" to "cp -pR", but >>>>> still nothing gets installed except for the main config file >>>>> at /etc >>>>> >>>>> >>>>> Any ideas? >>>>> >>>>> Thanks, >>>>> Charles >
