Sudo: sorry, you must have a tty to run sudo

sudo: sorry, you must have a tty to run sudo это достаточно распространенная ошибка, если вы пытаетесь выполнить команду в скрипте от другого пользователя при помощи sudo.

Дело в том, что по умолчанию, sudo, может быть запущен только если пользователь был залогинен с реальным tty. Для того, что бы исправить положение, достаточно отредактировать ваш файл /etc/sudoers и закоментировать строку Default requiretty:

#Default requiretty

Sudo: sorry, you must have a tty to run sudo

8 мыслей о “Sudo: sorry, you must have a tty to run sudo

  • 12.03.2024 в 11:08
    Permalink

    Wow, superb blog format! How lengthy have you been running a blog
    for? you made blogging glance easy. The total look of your site is great, let alone the content material!
    You can see similar here e-commerce

  • 13.03.2024 в 00:55
    Permalink

    Wow, this article is fastidious, my sister is analyzing such things, thus I am going to convey her.
    I saw similar here: Dobry sklep

  • 14.03.2024 в 20:45
    Permalink

    Heya i’m for the first time here. I found this board and I in finding
    It truly helpful & it helped me out a lot. I am hoping to
    present one thing back and aid others such as you helped me.

    I saw similar here: Najlepszy sklep

  • 16.04.2024 в 01:58
    Permalink

    Wow, superb blog structure! How long have you been running a blog for?
    you made running a blog look easy. The whole glance of your web site
    is fantastic, let alone the content! You can see similar here sklep internetowy

  • 28.06.2024 в 13:49
    Permalink

    Wonderful analysis! Your insights are very enlightening. For those interested in further details, here’s a link: DISCOVER MORE. Keen to hear your views!

  • 05.07.2024 в 23:52
    Permalink

    Hello there, just became alert to your blog through Google, and found that it’s really informative.
    I’m going to watch out for brussels. I will be grateful
    if you continue this in future. A lot of people will be benefited from your writing.
    Cheers! Escape rooms hub

  • 31.07.2024 в 07:39
    Permalink

    buying cialis online reviews Compression options include elastic stretchy garments, short stretch compression bandages, and other inelastic not stretchy compression garments that are often used at night

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *