On Mon, Mar 10, 2003 at 11:04:16PM -0800, Mr O wrote:

> Alrighty, my question is this, I added a user to my system and
> that user can login locally but cannot SSH into the system. Part
> of that perhaps is because I didn't create a home directory for
> that user

On OpenBSD_3.2/OpenSSH_3.5, with PasswordAuthentication, logging in to
an account with no $HOME does the following:

Could not chdir to home directory: /home/freak: No such file or diretory
% pwd 
/
%

With PasswordAuthentication off, I get:

Permission denied (publickey,keyboard-interactive).

> since it is only to login to the fileserver for music
> access.

What does "music access" mean?  Maybe serve the files with NFS or
HTTP instead?

> Is there any way I can grant that user SSH access
> without giving permission to write to anything

Well, almost any user is going to be able to write to /tmp unless
you are really paranoid.  In the above example, the user 'freak'
doesn't own any files, nor is that user in any group that owns
any files.

> and leaving that
> user so that they can only access a single directory and it's subdirectories?

Not in OpenSSH itself.  You should set the user up with a restricted,
or chroot'd $SHELL.

-- 
<[EMAIL PROTECTED]>
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to