Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-07-2005, 09:26 AM   #1
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
Tightening shell accounts? SSH & RSync

Hello! I have set up an RSync server and I am using SSH as the transfer protocol. Since I am using SSH I need to assign each user a shell account, right? I did and it seems to be working darn well, but some problems did arise. I understand this brings possible security vonerabilities to the table because of the many users who have shell access. I did upgrade my kernel to the latest 2.4.28, but once I send the server down to a datacenter, I would feel uncomfortable recompiling new kernels via SSH. Is there any way to limit shell users use? Such as ristricting them to ONLY browse their home directories (where rsync syncs their data) and limit their commands (for example ls, scp, & cd would be the only commands they need to use [rsync would use them]). I remember reading somewhere that free Shell Account Host Companies can do this; limit commands.

Thank you for any help,

- Gian S.
Old 01-07-2005, 09:51 AM   #2
LQ Newbie
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
You need the accounts but not the ability to login for SSH.
Just set password to prevent regular logins.
Old 01-07-2005, 02:15 PM   #3
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Original Poster
Rep: Reputation: 15
I generate public DSA keys and copy them into their home accounts .ssh/authorized_keys so rsync can xfer without prompting for a password. Am I missing something?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell mode & ssh in emacs phuna Linux - Software 1 08-03-2005 04:37 PM
rsync & scponlyc shell: not working hamish Linux - Software 3 05-28-2005 07:15 AM
Create multiple accounts & SSH guptawizard Linux - Newbie 2 01-13-2005 01:27 PM
Shell Script with ssh & scp ErikJohnson Linux - Software 3 03-11-2004 04:53 PM
How would I go about offering ssh Shell accounts? KneeLess Linux - Software 7 07-21-2003 07:29 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration