OS X: sshd/sftp jail

A while ago I enabled a jail for an useraccount on my server.
Last week, I had to add another user.

The difference between priviliged useraccount and a “jailed” useraccount is a dot in the path of the home directory, for example: “/Users/./username”.

Being a little bit under stress and having not very much time, I couldn’t recall how to do that with OS X serveradmin.
Very frustrating. Googling and digging through the manuals didn’t give the answer where I was looking for.
Am I the only one who prefers the plain old /etc/passwd above netinfo?

But…today I recalled how I did it before.
And it’s so simple….(after mucking around with obscure CLI commands like nicl and serversetup)

server-admin

Tags: , , ,

Leave a Reply

You must be logged in to post a comment.