Results 1 to 4 of 4

Thread: /etc/securetty is MIA

  1. #1
    Join Date
    Aug 2021
    Beans
    32

    /etc/securetty is MIA

    Running ubuntu 20.04 LTS

    From auth.log

    Code:
    Oct  3 05:09:02 Psycho gdm-password]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
    Oct  3 05:09:10 Psycho gdm-password]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
    i don't know what /etc/securetty is but it seems to be missing.

    Thanks in advance.
    --glenn

  2. #2
    Join Date
    Jul 2018
    Beans
    10

    Re: /etc/securetty is MIA

    You have to edit

    Code:
    /etc/pam.d/common-auth
    and remove

    Code:
    nullok_secure
    from the line

    Code:
    auth [success=1 default=ignore] pam_unix.so nullok_secure

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: /etc/securetty is MIA

    I think securetty is an extra option to prevent X11 security issues on remote terminals. It is intended to provide extra protections when root is used at a tty login - so never for a GUI. It appears to be part of a snap package now in core, core18 and core20 snaps.

    The pam_securetty manpage says,
    pam_securetty - Limit root login to special devices
    Since root logins aren't part of Ubuntu, nobody should be logging in as root, so the specific list of securettys in /etc/securetty wouldn't be useful.

    That's my best guess.

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    12,382
    Distro
    Ubuntu

    Re: /etc/securetty is MIA

    It's a known issue.
    Or at least an issue which has been addressed in a report.
    See: https://bugs.launchpad.net/ubuntu/+s...m/+bug/1860826
    which explains what's going on and how to fix if needed or wanted.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •