ubuntu 24.04lts where is the default user ssh access stored

Stephen Partington cryptworks at gmail.com
Tue Oct 22 07:02:54 MST 2024


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 <
plug-discuss at lists.phxlinux.org> wrote:

>
>
> On Mon, Oct 21, 2024 at 7:09 PM Keith Smith via PLUG-discuss <
> plug-discuss at lists.phxlinux.org> 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: PLUG-discuss at lists.phxlinux.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20241022/c5543e54/attachment.htm>


More information about the PLUG-discuss mailing list