Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Create non login accounts for user built servers

0 views
Skip to first unread message

fthomas

unread,
Jan 25, 2008, 6:38:12 PM1/25/08
to
What's the best way to create non login accounts on Macosx 10.5
(Darwin 9.0.0) ?

I want to create separate accounts for servers built by myself like
mysql, tomcat, svn...
Unfortunately there is no groupadd/useradd I'm used to use.

Thomas

Message has been deleted

Clark Martin

unread,
Jan 26, 2008, 2:23:01 AM1/26/08
to
In article <vilain-E3084C....@comcast.dca.giganews.com>,
Michael Vilain <vil...@NOspamcop.net> wrote:

> In article
> <f332f665-1ecf-411a...@i12g2000prf.googlegroups.com>,

> The System Preferences>Accounts preference panel allows you to create
> accounts if you're the admin user. AFAIK, user{add,mod,del} aren't on
> MacOS X like they are on Solaris. The command-line tools from prior
> releases were removed (niutil, etc.)
>
> For databases, use the tools provided with that database to add accounts
> to it.

Check out SharePoints, you should be able to find it at
www.versiontracker.com.

It lets you add non-login users.

--
Clark Martin
Redwood City, CA, USA Macintosh / Internet Consulting

"I'm a designated driver on the Information Super Highway"

Steven Fisher

unread,
Jan 26, 2008, 2:44:12 AM1/26/08
to
On 2008-01-25 15:38:12 -0800, fthomas <thomas....@gmail.com> said:

> What's the best way to create non login accounts on Macosx 10.5
> (Darwin 9.0.0) ?

Are you using Darwin or Darwin+Mac OS X?

If you're using just Darwin, you'd probably find more help on the
Darwin user mailing list:
<http://lists.apple.com/mailman/listinfo/darwinos-users>

It's quite likely this has changed in Darwin 9 compared to previous
versions, as Darwin 9 reflects Leopard and Leopard changed this.

Simon Slavin

unread,
Jan 28, 2008, 4:54:57 PM1/28/08
to
On 25/01/2008, fthomas wrote in message <f332f665-1ecf-411a-83e8-
ce9f03...@i12g2000prf.googlegroups.com>:


> What's the best way to create non login accounts on Macosx 10.5
> (Darwin 9.0.0) ?

Create it as a normal account.
Open the 'Accounts' System Preferences panel.
Unlock it.
Control-click on the list entry (on the left) for that account.
Pick 'Advanced Options'.
Change the shell or home directory to do whatever you think 'non login'
means.

Warning to inexperienced users: you can completely mess up your login
system by messing with these settings, to the point where nobody can log
in. Don't mess with stuff you don't understand.

Simon.
--
http://www.hearsay.demon.co.uk

tayl...@gmail.com

unread,
Jan 29, 2008, 11:25:24 AM1/29/08
to

Up through Tiger, the Netinfo application allowed you to edit
accounts. What it showed for server type accounts, such as sshd,
mysql or nobody is that the field designating the home directory was
set to /var/empty and the field designating the login shell was set
to /usr/bin/false which is consistent with other versions of unix. In
a few other cases, such as the lp daemon, the home is set to the
specific directory where it operates, in lp's case /var/spool/cups.
www, the user for apache is set to /Library/WebServer; it's login
shell is still set to /usr/bin/false.

I understand that the Netinfo Manager has been deprecated in Leopard,
so I'm not sure what the tool is. However, because of the requirement
for backward compatibility among so many third party programs, I
expect that you will find that those two values are what should
ultimately be set for those two datafields for your daemon user. If
you're building from packages, those packages probably come with
install scripts applicable to other Unix systems. In almost all cases
that require a special user to be created, you have to install with
root/administrator privileges, so the daemon user can be created. It
may be tedious, but I recommend you go through the install script and
find out what those packages do when creating the user.

Good luck.

W. Taylor

0 new messages