-1
votes
1answer
35 views

SSH - ftp user multiple folder permissions [closed]

I have a server with SSH access. Hope anyone can help me very quickly with permissions. I have a folder, in that folder there are 10 more folders (f1, f2, f3, f4, f5, f6, f7, f8, f9, f10). I created ...
0
votes
3answers
121 views

I edited /etc/passwd and have strange problems

I manually edited /etc/passwd for non-root user - yeah, I know this is bad. Unfortunately I saw this (SSH failing authentication after manual edit of /etc/passwd and /etc/shadow) very late. I already ...
0
votes
2answers
105 views

Linux ssh user connect

I all, I have a linux Server (Ubuntu) where some user can be connect to by ssh. Is possible to know who was connected to the server? A sort of list of login by ssh of the past day. Is possible to ...
-3
votes
1answer
71 views

Proper way to create a new user [closed]

I freely admin that I am a server admin newbie, and I'd like to grant someone access to my server to help me on a project. Let's call this person 'joe'. I'd like joe to have access to only one ...
0
votes
1answer
650 views

File/Directory permissions for SFTP user

After using the SSH quite a lot on my 1.5 week old Debian 6 VPS, I wanted to start uploading files through SFTP. I already tried that earlier, but with the root account, which isn't possible with SSH ...
4
votes
2answers
551 views

restrict ssh to run commands for some users

I have a machine where only some users should be allowed to login and execute commands over ssh, rest all users can ssh and run commands but should not login i.e no tty for other users. Can someone ...
0
votes
3answers
91 views

How can I view the usernames of those SSHing into my network?

I can see the IP address of the connecting computer. I am just curious as to whether I can get the username of the computer that is connecting into the network?
0
votes
2answers
6k views

How to restrict a linux user to read only specific folder

I want to create a user that have only access to the following directories and can't see nothing else /home/vehicles/ #read only /home/images/ #read only /home/dump/ #read and write I used this ...
0
votes
2answers
200 views

CentOS 5.6 profile messed up?

I am running CentOS 5.6 on a dedicated server. I have accidentally removed the profile files from: /home/USER123 There is only the following files in that directory: .bash_history .gitconfig ...
6
votes
3answers
8k views

Allow scp/ssh for www-data user

I am on Amazon EC2 using Ubuntu 10.04.2 My web folder is owned by www-data so I want to be able to log into my server as www-data for ssh and scp. Thanks! Adding the line to my /etc/ssh/sshd_config ...
8
votes
2answers
252 views

Special SSH Configuration

At the moment in my sshd_config I have it set so that passwords cannot be used and only keys can be used to login. I need to enable passwords for one user. This user is yet to be created and has to ...
0
votes
11answers
793 views

Check who is logged in on another machine without ssh?

Is there a way to find out who is logged in to another Linux machine on the network given the machine name and not just sshing into that machine and running who? I'd prefer a way directly in python, ...
0
votes
2answers
105 views

Make all accounts use the same kind of Bash

On a dedicated server we use the shell is setup differently between accounts, which is quite irritating. When I ssh into most users I get: [user@machine some_dir]$ However, with some accounts I ...
-1
votes
1answer
209 views

Restricting user on debian lenny

During the installation phase there is an extra user account created other than root. Since I use SU to stop brute force attacks through SSH I have chosen this user to do SSH. But apparently that ...