0
votes
1answer
31 views

Create a shared folder for group of users

I have created a group of users in my Ubuntu server system, so that each one of them can log in through an ssh connection with his username and password. Each user is "locked" in their home directory, ...
3
votes
1answer
55 views

How to create a user that can login via SSH, but can't use shell commands?

How to create a new user that can login via SSH, but can't use shell commands? I've tried to set /bin/false as the default shell to the user, but then I no longer can login via SSH.
1
vote
2answers
85 views

How to limit users to N cores?

I have an SSH server where users login to do various tasks. The problem is I have 4 cores, and one user is running tasks on 4. How can I limit the number of cores any given user can use? This is not ...
1
vote
2answers
100 views

Is there a way to check if others are logged into server when you are?

I am logged into Ubuntu server via ssh and I would like to know if another user is logged in via SSH as well. Is there a command that I can run to accomplish this?
1
vote
1answer
694 views

Invalid User vs. User Not Allowed in ssh log

When looking at the auth.log: From a security perspective, what is the difference between "Invalid User" and "User Not allowed because not listed in "AllowUsers." Examples: Nov 6 10:42:37 ...
0
votes
4answers
345 views

I deleted all files and folders (including hidden) from /home/username/ now in big trouble

I am logged into a remote ubuntu server, and I accidentally erased the entire /home/username/ directory for the current user. The only thing left is a hidden directory called .gvfs. I don't need ...
0
votes
2answers
765 views

SSH shell prompt does not show user@host for one user

I have Ubuntu 12.04 server running. I created user1 when I installed, and created user2 today with '1useradd' and I added it to all the same groups as user1. But when I log in remotely using SSH, ...
0
votes
1answer
225 views

Ubuntu two users logged with same name

I have a server and a ssh session, but it seems like I've pressed something and it was a shortcut so currently, when I do w it shows my other session (which I don't know how I opened). I closed my ssh ...
0
votes
1answer
198 views

Match directive breaks SSH

On my Ubunut server 12.04 LTS machine, I try to add a user with only sFTP or FTP access. Let's call him 'Jim' for now. Jim only needs access to a directory /var/www/example.com. So far I've tried ...
0
votes
0answers
157 views

'w' command not showing users list when not root ('who' does)

I have multiple users logged on my server (ubuntu 12.10), with ssh. None of them has root privileges. If I then log in with my admin account and type (without sudoing) admin1@server:~$ w the ...
3
votes
2answers
4k views

How to create a limited user account for SSH

I need to create a new user account, that should have full access to a single dir within the linux HDD, unlike the root user that has access to everything. And this account would be used via SSH for ...
1
vote
1answer
119 views

Multiple Users Sending Input To The Same Server Running On My Ubuntu Server

I've just recently started hosting a Java based server on my Ubuntu Server. I've been learning how to setup everything and I've been feeling pretty good about it's setup. I currently start the ...
15
votes
4answers
19k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
3
votes
1answer
689 views

w showing wrong number of users logged in

Can anyone explain me why w shows me a wrong number of users currently logged in? root@host ~ # w 20:14:54 up 17:13, 3 users, load average: 0.00, 0.01, 0.05 USER TTY FROM ...
15
votes
5answers
60k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
2
votes
3answers
944 views

Installing git to be used in a multi-user system

I need to install git on a server that will be shared and accessed by multiple users. I assume I will use git+ssh, so each user will have a system account, but how do I go about install git and a ...