0
votes
1answer
19 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
15 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
18 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 ...
2
votes
2answers
1k 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
97 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 ...
2
votes
1answer
466 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 ...
2
votes
2answers
1k views

How to prevent users from accessing root directory

While still allowing my account to access the root directory. I've tried adding myself to the root group with $ sudo adduser myaccount root but when I do $ sudo chmod o-r /etc followed by $ cd /etc $ ...
8
votes
4answers
26k 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
504 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 ...