{ 4 comments… read them below or add one }

1 mantizke May 12, 2009 at 7:32 pm

this does not work for me on debian system. however, nologin exist but the command did not work :( (user CAN still login via ssh)

Reply

2 Lekensteyn May 14, 2010 at 4:24 pm

Mantizke, you control that in /etc/ssh/sshd_config:

AllowUsers user

in this case, only user may login and all other users are denied access.

Reply

3 tony August 31, 2011 at 6:09 pm

I protest. This article is prejudiced against Tony.

I WANT MY BASH ACCESS!

(Really, thanks. I was looking for a way to make an ftp user with no shell access on a debian box. This was precisely what I needed.)

Reply

4 WhoA November 30, 2012 at 12:06 am

Man!You save my day! Thank you very-very much for this usefull post.
At least i learned new security measure how to separate UID’s on my test webserver.
God Bless You.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 4 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Tagged as: , , , , , , ,

Previous post:

Next post: