Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Disallow Certain Users From Ssh?
Termina
post Jul 14 2005, 09:21 PM
Post #1


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



I'd like to let a user log in via FTP, but not SSH (mostly because of chroot).

Using 'AllowUsers' in sshd_config isn't an option, since I allow new users to create accounts via the 'newuser' account.

It's only two users I don't want to use SSH. (I can't change their shell either, since FTP won't work unless the shell in /bin/bash)


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Termina
post Jul 15 2005, 03:10 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



For now I've just set up a '.bashrc' and ''.bash_login" that perform exec exit, exit, and logout.

I update the permissions to keep them from being writable. :/ Guess that'll have to do


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 07:32 PM