cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Lansweeper
Lansweeper Tech Support
Lansweeper Tech Support

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:

  1. Open the Linux terminal. Enter sudo visudo then your password, when prompted.
  2. Use your keyboard's arrow keys and move your cursor to the start of the Defaults requiretty line.
  3. Select the I  key to use insert mode.
  4. Enter #. The line should now be #Defaults requiretty
  5. Select the Esc key to exit insert mode.
  6. 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.


Was this article helpful? Yes No
No ratings

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now
Version history
Last update:
‎08-09-2023 09:51 AM
Updated by: