Tagged Questions
-1
votes
3answers
85 views
Is there a way to 'authorize' a command typed in by a user?
is there a way we can authorize a command typed by a user before it takes effect?
For example, when a user types cp file1 file2, the command will not be executed and a root / root-equivalent user ...
2
votes
1answer
560 views
SFTP: give user access to folder outside home
I have a machine running Ubuntu 12.04 LTS with OpenSSH server installed. I have created a user with a jailed home account.
When I log in with the user's account, I can only access his home (duh).
...
1
vote
2answers
349 views
Suggestions for a Linux distribution for a dedicated SFTP server
I have a desktop which has more than 16GB of memory that I want to dedicate as an SFTP server. Many people have suggested that I install Linux, so I have decided to go with Linux. I am puzzled and ...
3
votes
2answers
2k views
Disable direct login for normal users (like oracle) in linux but allow scp and sftp?
Is it possible to disable direct login for normal users (like oracle) in linux but allow scp and sftp for that use?
5
votes
1answer
278 views
Why is it possible to leave CHROOT with this config?
I'm trying to create the user lenny, that has read and write permissions in the folder /home/lenny/ and has no shell but only access via SFTP. I'm doing the following:
useradd lenny
mkdir /home/lenny
...
3
votes
1answer
767 views
User logged in by sftp does not show up in `w`
My server is Centos 5. I have a chroot environment set up with the following in my sshd_config
Match group sftponly
ForceCommand internal-sftp
ChrootDirectory %h
AllowTcpForwarding no
...
5
votes
5answers
10k views
Uploading directories with sftp?
I'm having some trouble uploading directories(which contain other directories a few levels deep) by sftp. I realize I could work around this by gzipping, but I don't see why that's necessary.
Anyway, ...
