A "TTY Required" scanning error can occur if you are running a Linux distribution where sudo
is configured to require tty
by default.
To solve the error, disable the tty
requirement to ensure Lansweeper has sudo
access and fulfills the requirements for scanning Linux computers.
Take caution when editing system files as incorrect changes might make your system unstable.
To disable the tty
requirement:
- Open the Linux terminal. Enter
sudo visudo
then your password, when prompted.
- Use your keyboard's arrow keys and move your cursor to the start of the
Defaults requiretty
line.
- Select the I key to use insert mode.
- Enter
#
. The line should now be #Defaults requiretty
.
- Select the Esc key to exit insert mode.
- Enter
:wq
and select the Enter key to save and exit the editor.
Run a scan on your Linux computer to confirm the error is resolved.
Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.