Home > linux > Can I login to multiple terminals with the same user safely on Linux?

Can I login to multiple terminals with the same user safely on Linux?

April 20Hits:1
Advertisement

By terminals I mean the ones you can switch to using Ctrl+Alt+F1-F6.

I know I'm able to login multiple times but does this have any side-effects?

Answers

*NIX is by design a multi-user system, so there is not going to be an issue by logging in multiple times on available consoles. This was "the way" to be productive before the advent of mulitplexing terminal programs such as screen. I still know individuals who run *NIX workstations with no X-windows, preferring to use multiple consoles, and usually screen, to perform their work.

The only thing to be aware of is that by default the consoles are not password protected once you log in. Anybody could walk up and begin executing commands as your logged in user.

There IS one side effect, when you run an application which can have concurrent access on the same file. One example is the .bash_history file, which will be overwritten when bash exits.

Tags:linux, terminal, tty

Related Articles

  • Can I login to multiple terminals with the same user safely on Linux?April 20

    By terminals I mean the ones you can switch to using Ctrl+Alt+F1-F6. I know I'm able to login multiple times but does this have any side-effects? --------------Solutions------------- *NIX is by design a multi-user system, so there is not going to be

  • On a linux server how do you use multiple terminals over a single ssh connection?May 1

    I often find myself opening several ssh connections in order to view several log files at a time with tail -f. This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at my

  • How do I open multiple terminals?

    How do I open multiple terminals?May 15

    I just downloaded Ubuntu 11.04 and as far as I can remember, there was the option of opening multiple terminals in tabs in Ubuntu. I cannot discover this feature in 11.04. Also, as a general query, suppose I open emacs from the terminal, then I would

  • Utility to send a command to multiple terminals?September 15

    A while ago when I did a lot more system admining, there was a little utility that would send a command to multiple terminals that I had open. So essentially I could ssh into three different servers, then type tail -f /var/log/some_error.log into the

  • How to create multiple "terminals" for a linux workstation?November 3

    I wanted to figure out how to have multiple terminals (monitor, keyboard, and mouse) use a single centralized system. I guess at this point I can get computers for around $150, and use them as dumb terminals, but I would really like to centralize abo

  • Multiple Terminals displayed as a grid in one window

    Multiple Terminals displayed as a grid in one windowNovember 16

    Is there a way to have one window display more than one terminal at once? (Not in the typical tabbed configuration, more like a grid of arbitrary number of terminal screens) Ideally I'd like to have a 3 column by 2 row window with 6 terminal instance

  • Making it Easier for Older Users to Login to Multiple AccountsMarch 15

    I currently do consulting for a small business that has multiple applications that they need to login too. I'm trying to get them to start using Basecamp and Zendesk to make all of our lives easier when it comes to collaboration on big projects and q

  • ssh Password-less login to multiple machines when you already have oneMarch 26

    I'm a little bit confused about setting up a password-less login for multiple machines to begin with, but I think I could do it from scratch. The problem is I already have it set up for one machine and I don't want that to be blown away when I try to

  • Is there any benefit to having one sql server login for multiple users?April 11

    I just entered a development project where the developers use the same SQL Server login to connect to a central database for their work. I have never come across this before, as each dev usually has their own login. Are there any benefits to using th

  • PHP: Is it possible to allow login to multiple account of same site from same browser simultaneously? June 16

    I was thinking if it was possible to allow login to multiple account of the same site from same browser simultaneously . Can this be done in php, What would be the logic involved in that case ? I found these to related question : How to Log Into a We

  • How to run multiple terminals on remote ubuntu server through ultravnc?July 29

    I am trying to simultaneously run multiple instances of my application from terminal on remote ubuntu server. Single terminal is required for running a single instance of application. I am accessing remote server through putty and ultravnc viewer. Ev

  • Open multiple terminals in a for loop in bashSeptember 19

    Recently i changed to lxde on Ubuntu. And after switching it changed my x-terminal-emulator to lxterm. My script was doing the following: Go through a for loop and open a new terminal window and then run a script in that terminal. It would open multi

  • How to work with a master database and multiple terminals

    How to work with a master database and multiple terminalsSeptember 18

    We have a main database in postgres used to assemble updates using flyway and modified from a single terminal. Now we want to know what the best way to work with multiple terminals making changes to the same database structure. For this we can think

  • Login to multiple servers and run a command having passphraseOctober 6

    Already passphrase has been setup and now I want to login to multiple servers and run a command against all of the servers. I tried this #! /bin/bash for HOST in $(cat servers.txt ) ; do ssh -o $HOST "uname -a" PreferredAuthentications=keyboard-

  • Login to multiple putty sessions, each with a new pathNovember 29

    I login to multiple putty sessions everyday to start some services. So in total I have 20 different paths. So what I do is: I login to putty and copy/paste the path in each session. Now, what I want to do is: Make a batch file to open these 20 path i

  • How to execute a command in multiple Terminals by executing a command in only one?

    How to execute a command in multiple Terminals by executing a command in only one? December 1

    This question already has an answer here: Is there an SSH client which duplicates commands to multiple terminals? 2 answers I am going to have multiple machines that I am going to connect to via SSH so I am going to have multiple Terminal windows up,

  • C++ Multithreading program example using multiple terminals in the same computerJanuary 22

    I am new to multithreaded programming. I am trying to run a program using two terminals in one laptop. Wherein, in these two terminals it should be registered as user1 and user2 and before the 2 programs start running, one of them should wait for the

  • multiple MAC addresses on one physical network interface (linux)January 18

    Simple question: How can I setup multiple MAC addresses on one physical network interface (linux)? Why? My ISP is checking ip<->mac on GW and I d like to route traffic through my "linuxbox" and than forward it with different source ip. Wit

  • Automatic login to multiple SSH root terminalsAugust 13

    I am not sure if this is a security issue, or can be actually done. I would like to be able to boot up my PC, maybe run a program that will open about 5 shells, each SSH'ing to my local machine but as root. I would like to enter the root password onl

  • Can I have a single login for multiple machines?September 14

    I've got three identical machines for my 3 kids, running Narwhal, but I'd like to replicate the user accounts across all 3 so anyone can login on any machine without me having to create all accounts on all 3 machines. Ideally, this would include stor

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 1.917 s.