GNU bug report logs - #33422
/etc/passwd on GuixSD can end up containing default home directories

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Sun, 18 Nov 2018 22:06:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33422: closed (/etc/passwd on GuixSD can end up containing
 default home directories)
Date: Sun, 18 Nov 2018 22:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 18 Nov 2018 23:43:14 +0100
with message-id <87k1lam2gt.fsf <at> gnu.org>
and subject line Re: bug#33422: /etc/passwd on GuixSD can end up containing default home directories
has caused the debbugs.gnu.org bug report #33422,
regarding /etc/passwd on GuixSD can end up containing default home directories
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33422: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33422
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Bug Guix <bug-guix <at> gnu.org>
Subject: /etc/passwd on GuixSD can end up containing default home directories
Date: Sun, 18 Nov 2018 23:05:26 +0100
Hello Guix,

On IRC, fps reported this issue: their user account was declared like
this:

26   (users (cons (user-account                              
27                 (name "fps")                              
28                 (comment "fps")                           
29                 (group "users")                           
30                 (supplementary-groups '("wheel" "netdev"  
31                                         "audio" "video")) 
32                 (home-directory "/home/bob"))    ;<--- notice “bob”!

… yet /etc/passwd would refer to /home/fps for user “fps” (this is on a
fresh GuixSD 0.15.0 install.)

This in turn would prevent logging in as “fps” because /home/fps didn’t
exist (meaning the ‘user-homes’ Shepherd service created /home/bob, not
/home/fps.)

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: 33422-done <at> debbugs.gnu.org
Subject: Re: bug#33422: /etc/passwd on GuixSD can end up containing default
 home directories
Date: Sun, 18 Nov 2018 23:43:14 +0100
ludo <at> gnu.org (Ludovic Courtès) skribis:

> On IRC, fps reported this issue: their user account was declared like
> this:
>
> 26   (users (cons (user-account                              
> 27                 (name "fps")                              
> 28                 (comment "fps")                           
> 29                 (group "users")                           
> 30                 (supplementary-groups '("wheel" "netdev"  
> 31                                         "audio" "video")) 
> 32                 (home-directory "/home/bob"))    ;<--- notice “bob”!
>
> … yet /etc/passwd would refer to /home/fps for user “fps” (this is on a
> fresh GuixSD 0.15.0 install.)

Fixed in b297934437932de730432629b361fcb422accbb7.

Ludo'.


This bug report was last modified 6 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.