Re: ubuntu 24.04lts where is the default user ssh access sto…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Stephen Partington via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: Stephen Partington
Subject: Re: ubuntu 24.04lts where is the default user ssh access stored
the default access controls are in /etc/ssh/sshd_config with the following.

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the KbdInteractiveAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via KbdInteractiveAuthentication may bypass
# the setting of "PermitRootLogin prohibit-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and KbdInteractiveAuthentication to 'no'.
UsePAM yes

and then user group access will allow sudo.


On Tue, Oct 22, 2024 at 5:44 AM Arun Khan via PLUG-discuss <
> wrote:

>
>
> On Mon, Oct 21, 2024 at 7:09 PM Keith Smith via PLUG-discuss <
> > wrote:
>
>> Hi
>>
>> When I look at the /etc/ssh/sshd_config file I do not find the user
>> created at installation, however I can SSH into that server.
>>
>
> Not sure about your question. Any user that is allowed to login on the
> console is also allowed to login via ssh. There is no such thing as a
> default user.
> --
> Arun Khan
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



--
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss