gfp <g...@posteo.at> writes: > Hi, > > I added 3 sentences in my Samba part > to my config.scm: > > guest account = gast > create mask = 0775 > directory mask = 0755 > > (service samba-service-type (samba-configuration > (enable-smbd? #t) > (config-file (plain-file "smb.conf" "\ > [global] > map to guest = Bad User > logging = syslog@1 > > [public] > browsable = yes > path = /home/gfp/public > read only = no > guest ok = yes > guest account = gast ;hinzugefügt > create mask = 0775 ;hinzugefügt > directory mask = 0755 ;hinzugefügt > guest only = yes\n"))))) > > > But it is impossible in Guix to add a user like this in Debian: > > sudo adduser someusername > > > Once the user exists, create a samba login: > > sudo smbpasswd -a someusername > > > So what do I have to do in Guix to add a new user and create a samba > login for that user? >
Add the user to your system configuration next to your own user and reconfigure. Then run smbpasswd like you said. > thanks > > Gottfried > > > > Am 25.03.25 um 07:35 schrieb Ignas Lapėnas: > >> I'm guessing you might not have a "Guest account", to control which >> system directories it has access to. >> >> https://superuser.com/questions/1081542/how-to-allow-guest-access-in-samba >>
signature.asc
Description: PGP signature