Hi gfp,
gfp <[email protected]> writes:
I have forgotten, what for Samba is,
thanks for making it clear to me.
Samba is a suite for working with SMB shares, which is the native
protocol Windows uses for sharing files over the network.
how can I "add ´seconduser` to sudoers file?
usermod is not found in guix.
You need to edit your operating-system configuration, and add
the
`wheel' group to the `user-account' record for `seconduser'.
Now I understand why nothing was working.
I added "wheel" etc into my second user account:
(users (cons* (user-account
(name "gfp")
(comment "Gap")
(group "users")
(home-directory "/home/gfp")
(supplementary-groups
'("wheel" "netdev" "audio" "video" "libvirt"
"scanner" "cdrom" "dialout" "kvm")))
(user-account ;added start
(name "gast")
(comment "The Samba Public User")
(group "users")
(password (crypt "firsttimepass" "$6$abc"))
(home-directory "/home/gast")
(supplementary-groups '("wheel" "scanner"
"cdrom"
"audio" "video"))) ;added end
%base-user-accounts))
In the meantime I have changed the password for the second user
"gast"
and I don´t understand why this "firsttimepass" is still there.
Shouldn´t it be changed automatically?
If not, what do I have to do?
Your configuration has the password in cleartext, and each time
you `guix system reconfigure', it will reset the password to
what’s in the configuration. Remove the password field, and set
the password using `passwd(8)'.
If you don’t have a `user-account' record for `seconduser', you
do
not have two user accounts on your system.
So that I don´t have to install everything again, like
emacs...
I did not manage to set it up yet.
If you want a second user, the simplest thing would be to add
it to
your operating-system, then copy your main user’s home
directory to
the second user, and change its ownership.
In doing so,
How can I change my ownership?
The chown utility changes ownership, see the chown(1) man page
and/or the coreutils info manual.
If I update packages and also my Guix system,
would that refer two both user accounts?
Alternately, you can use the same account, but choose what
session
type to log into. If you’re using GDM, SDDM, or some other
graphical greeter, they’ll offer you an option for the type of
session to log into, depending on which ones are in your
operating-system. I primarily use EXWM, but occasionally use
GNOME,
and GDM lets me pick which session to start when I log in.
-- Ian
That is a very good proposal.
I could additionally install exwm with Guix and add it in my
config.scm
and on the logging screen where I can choose between KDE, MATE,
LXQT
I could also have EXWM and log into it
but next time I can log into KDE...
Yes, it’s a good system.
-- Ian