bug#19795: Allow for stateless users and groups in GuixSD

2015-04-08 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > In response to this bug report, I would just add activation code that > removes any unknown user accounts. Commit 9bea87a does that. Let me know if it wipes all your user accounts or anything! :-) (Seriously though, I’ve run it on my machine and everyt

bug#19795: Allow for stateless users and groups in GuixSD

2015-02-08 Thread Ludovic Courtès
Mark H Weaver skribis: > If we do this, I think we should take steps to prevent users+groups from > being added, removed, group memberships changed, setting of passwords, > etc, outside of 'guix system reconfigure'. I think that users will be > very unhappy with us if commands like 'passwd' and

bug#19795: Allow for stateless users and groups in GuixSD

2015-02-07 Thread Mark H Weaver
Andreas Enge writes: > I agree, it is rather surprising that removing a user does not remove it. > So I think it should be fully stateless (as long as the user's home > directory is not erased, of course; so this should remain as a state and > be reactivated once the user is available again, whic

bug#19795: Allow for stateless users and groups in GuixSD

2015-02-07 Thread Andreas Enge
Hello, I agree, it is rather surprising that removing a user does not remove it. So I think it should be fully stateless (as long as the user's home directory is not erased, of course; so this should remain as a state and be reactivated once the user is available again, which could cause problems

bug#19795: Allow for stateless users and groups in GuixSD

2015-02-06 Thread Alex Sassmannshausen
Hello, My 2c: In short +1! Thompson, David writes: > Currently, removing a user account from the users list in an OS config > does not remove the user account from a system when 'guix system > reconfigure' is run. I think that user accounts not specified in the > user accounts list should be i

bug#19795: Allow for stateless users and groups in GuixSD

2015-02-06 Thread Thompson, David
Currently, removing a user account from the users list in an OS config does not remove the user account from a system when 'guix system reconfigure' is run. I think that user accounts not specified in the user accounts list should be invalidated and that /etc/passwd and other files be fully rebuil