From: Roman Riabenko via <help-guix@gnu.org>
To: Jorge <jorge+list@disr.it>, help-guix@gnu.org
Subject: Re: How to delete per-user profiles
Date: Sat, 26 Aug 2023 09:45:27 +0300 [thread overview]
Message-ID: <4fdd872682390b42ecad2e36de88f4ebcdb23ea5.camel@riabenko.com> (raw)
In-Reply-To: <17ae6b63def9b12e8814e0f1faa9c14ad8f95d74.camel@riabenko.com>
[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]
У сб, 2023-08-26 у 09:13 +0300, Roman Riabenko пише:
> У пт, 2023-08-25 у 17:01 -0300, Jorge пише:
> > I have removed (via Gnome Settings) user `jorge-morais' from my
> > Gentoo GNU/Linux system, but its Guix profiles remain.
>
> If you only remove a user from GNOME Settings without removing it
> from
> the system configuration file, the user will re-appear in GNOME
> Settings on reboot or the next time the system is reconfigured and a
> home directory will be created for it if it was removed. (Such user
> would not appear in the login screen because the user is only re-
> created but not activated. The activation can be done in GNOME
> Settings.) Instead, to remove a user, you should remove its "user-
> account" form from the system configuration file [1] and reconfigure
> the system. You have to handle the user files yourself, e.g. remove
> the
> user's home directory. If you are also adding a user, you would want
> to
> do that in the configuration file too.
>
> [1]:
> https://guix.gnu.org/en/manual/devel/en/html_node/User-Accounts.html
Sorry, I've just noticed that you are on Gentoo, not a Guix System, so
you manage the users from Gentoo, not from the guix configuration file.
> > How do I remove them, so Guix GC can clean the store? Can I simply
> > remove the directory `/var/guix/profiles/per-user/jorge-morais' ?
>
> Those links are not removed automatically, so that directory needs to
> be removed by hand. When the links are removed and eventually you run
> "guix gc", it removes the unused profiles in the store.
This still applies.
Roman
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2023-08-29 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 20:01 How to delete per-user profiles Jorge
2023-08-25 23:38 ` 宋文武
2023-08-30 12:55 ` Jorge P. de Morais Neto
2023-08-26 6:13 ` Roman Riabenko via
2023-08-26 6:45 ` Roman Riabenko via [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4fdd872682390b42ecad2e36de88f4ebcdb23ea5.camel@riabenko.com \
--to=help-guix@gnu.org \
--cc=jorge+list@disr.it \
--cc=roman@riabenko.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.