[Samba] Samba DC and alternate sudo login

Gregory Sloop gregs at sloop.net
Tue May 14 13:35:24 UTC 2024



> adminuser at tmpdc1:~ $ sudo adduser testadmin
> Adding user `testadmin' ...
> Adding new group `testadmin' (1001) ...
> Adding new user `testadmin' (1001) with group `testadmin (1001)' ...
> Creating home directory `/home/testadmin' ...
> Copying files from `/etc/skel' ...
 
It's at this point I get the Kerberos password prompt BTW.
 
> New password: 
> Retype new password: 
> passwd: password updated successfully
> Changing the user information for testadmin
> Enter the new value, or press ENTER for the default
>         Full Name []: 
>         Room Number []: 
>         Work Phone []: 
>         Home Phone []: 
>         Other []: 
> Is the information correct? [Y/n] y
> Adding new user `testadmin' to supplemental / extra groups `users' ...
> Adding user `testadmin' to group `users' ...

> Now I was doing this on one of my DCs, which runs Raspberry pi OS, but
> that is really just Debian 12 tweaked.

> Can I ask if you have libpam-krb5 installed ?

Yes.


More information about the samba mailing list