This happens because you may have done a sudo su user_name
and then fired the screen command.
There are 2 ways to fix this.
- Login directly to “user_name” via ssh.
- Take ownership of the shell by typing
script /dev/null
as the useruser_name
and then typescreen
Related Posts:
- Kill detached screen session [closed]
- How can I recursively find all files in current and subfolders based on wildcard matching?
- How to perform grep operation on all files in a directory?
- subprocess.Popen(): OSError: [Errno 8] Exec format error in python?
- How to substitute shell variables in complex text files
- How can I recursively find all files in current and subfolders based on wildcard matching?
- Curl command for https ( SSL )
- How to exclude a directory in find . command
- “sed” command in bash
- How to exclude a directory in find . command
- Shell command to tar directory excluding certain files/folders
- Pseudo-terminal will not be allocated because stdin is not a terminal
- What is difference between arm64 and armhf?
- Given two directory trees, how can I find out which files differ by content?
- Uncompress tar.gz file
- Diff command along with Grep gives “Binary file (standard input) matches”
- Pseudo-terminal will not be allocated because stdin is not a terminal
- ./configure : /bin/sh^M : bad interpreter
- What is the difference between “#!/usr/bin/env bash” and “#!/usr/bin/bash”?
- Is there a “goto” statement in bash?
- Implementing shell in C and need help handling input/output redirection
- Command to change the default home directory of a user
- Writing a simple shell in C using fork/execvp
- Implementation of multiple pipes in C
- chmod: changing permissions of ‘my_script.sh’: Operation not permitted
- Terminal Multiplexer for Microsoft Windows – Installers for GNU Screen or tmux
- What does “&” at the end of a linux command mean?
- What does set -e mean in a bash script?
- What does set -e mean in a bash script?
- Syntax error near unexpected token ‘then’
- Bash script prints “Command Not Found” on empty lines
- How to use sed to extract substring
- python-dev installation error: ImportError: No module named apt_pkg
- How do I know the script file name in a Bash script?
- Anyone else experiencing high rates of Linux server crashes during a leap second day?
- Can I nohup/screen an already-started process?
- Moving an already-running process to Screen
- How can I run Debian stable but install some packages from testing?
- What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?
- Shell command to monitor changes in a file
- How to reconnect to a disconnected ssh session
- Is it possible to detach a process from its terminal? (Or, “I should have used screen!”) [duplicate]
- What is “-bash: !”: event not found”
- What does ‘set -e’ do, and why might it be considered dangerous?
- How to add a timestamp to bash script log?
- Colors in bash after piping through less?
- List of files installed from apt package
- How can I kill all stopped jobs?
- How to re-order windows, change the scroll shortcut, and modify the status bar contents in GNU Screen?
- How to run command as user who has /usr/sbin/nologin as Shell?
- How to install/change locale on Debian?
- How can I export the privileges from MySQL and then import to a new server?
- Can I send some text to the STDIN of an active process running in a screen session?
- Is it possible to reboot a Linux OS without rebooting the hardware?
- Is there a way to do a remote “ls” much like “scp” does a remote copy?
- What does “debconf: delaying package configuration, since apt-utils is not installed” mean?
- What should I do when I got the KEYEXPIRED error message after an apt-get update?
- How do I join two named pipes into single input stream in linux
- What is the debian-sys-maint MySQL user (and more)?
- How should an IT department choose a standard Linux distribution?
- What’s a .sh file?
- How to fix ‘sudo: no tty present and no askpass program specified’ error?
- What does pss mean in /proc/pid/smaps
- apt-get error: Sub-process /usr/bin/dpkg returned an error code (1)
- How do I grep recursively?
- How to extract C source code from .so file?
- Argument list too long error for rm, cp, mv commands
- Difference between using “chmod a+x” and “chmod 755”
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- Python subprocess.Popen “OSError: [Errno 12] Cannot allocate memory”
- What does it mean to mount a file system in linux?
- curl: (6) Could not resolve host: google.com; Name or service not known
- dquote> result of a execution a program in linux shell
- CentOS error – sudo: effective uid is not 0, is sudo installed setuid root?
- Merge / convert multiple PDF files into one PDF
- How do I find the MySQL my.cnf location
- wget returns “Unable to establish SSL connection”
- how to check which version of nltk, scikit learn installed?
- error : storage class specified for parameter
- How do I write stderr to a file while using “tee” with a pipe?
- Can scp copy directories recursively?
- What are the functional differences between .profile .bash_profile and .bashrc
- Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?
- Linux command to inspect TXT records of a domain [closed]
- What does a + mean at the end of the permissions from ls -l?
- What version of RHEL am I using?
- How do you make it obvious you are on a production system?
- How can I verify if TLS 1.2 is supported on a remote web server from the RHEL/CentOS shell?
- Mount CIFS Host is down
- How to copy a large number of files quickly between two servers
- Allow SFTP but disallow SSH?
- Is there a directory equivalent of /dev/null in Linux?
- How can I get processor/RAM/disk specs from the Linux command Line? [duplicate]
- Is there a way to see the execution tree of systemd?
- How to determine the hostname from an IP address in a Windows network?
- create home directories after create users
- How do I redirect subdomains to a different port on the same server?
- Running Cron every 2 hours [duplicate]
- How to check the physical status of an ethernet port in Linux?
- In Linux, what is the difference between “buffers” and “cache” reported by the free command?