0
votes
0answers
21 views

How to setup a Multi User NAS

I want to setup a multi-user NAS, With an administrator, and have that admin have the ability to add users to the NAS. Users Are likely to be using mainstream platforms. So I plan for them to use ...
0
votes
0answers
24 views

writable sftp directory restrictions

I want to create a directory for a user so they can sftp to my server and automatically be in that directory. Ideally this directory would have group write permissions so this user can upload a file ...
1
vote
3answers
48 views

How do you limit root to no more than 1 login at a time?

I took a practice test for a cert and one of the questions was "Limit root to no more 2 simultaneous logins, make this configuration persistent between restarts". I didn't even really know this was ...
0
votes
1answer
60 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
114 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
118 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
113 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
1k 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
471 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
1k 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
343 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
250 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 ...
3
votes
2answers
6k 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
124 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 ...
20
votes
4answers
26k 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
751 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 ...
18
votes
5answers
77k 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
1k 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 ...