Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Login issue 1

Status
Not open for further replies.

TSch

Technical User
Joined
Jul 12, 2001
Messages
557
Location
DE
Hi folks,

I created a user that's not supposed to be able to login via telnet or ssh but it IS supposed to be able to sftp to the system ...

Is there any way to restrict a user from connecting via anything but sftp ?

Regards
Thomas
 
Perhaps set the user's shell to something like /bin/false.

I want to be good, is that not enough?
 
I think you can do this by setting the user in a restricted shell!

Regards,
Khalid
 
Hi again Thomas,

I think you can do the same thing by chaning some parameters in /etc/sshd_config!

Regards,
Khalid
 
Good hints !

Thanks a lot !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top