Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We have a server which we connect through and do remote tasks. However, around 4-5 people login with the same username and password. Can this situation cause anything weird?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Define weird ..

You will not be able to use history, or other last-used settings, in a meaningful manner as anyone could have used/set these last. You will also be unable to assign responsibility, if anything goes wrong.

I don't recommend this practice, unless you don't care what happens to this server (and its content).


The SSH sessions themselves will be fine.

I have maintained more than one session, when monitoring command-line transfers or configuration, with no issues.

share|improve this answer
    
Well thanks for the answer so the best option would be to create new users I presume. By the way how can I check which users (ips for example) are connected and how many ssh connections are present at a given time? –  Vesnog May 4 at 0:55
    
Yes, and you should use accounts with sudo rights. Then sudo logs will tell you what you need. –  david6 May 4 at 2:28
1  
@vesnog w or who –  BroSlow May 4 at 7:09
    
@david6 Is sudo logs an additional command or you are talking about something else? –  Vesnog May 4 at 15:38
    
No, its log data that is collected in: /var/log/auth.log. Try this command: tail -f /var/log/auth.log OR cat /var/log/auth.log | grep sudo | tail -20 –  david6 May 5 at 7:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.