create new user guixsd

  • Done
  • quality assurance status badge
Details
3 participants
  • Leo Famulari
  • Ludovic Courtès
  • rennes
Owner
unassigned
Submitted by
rennes
Severity
normal
R
R
rennes wrote on 30 Jan 2016 03:48
(address . bug-guix@gnu.org)
1f73169a7fa3f79debcb0d02b2445b35@openmailbox.org
Hi,

i run 'guix system reconfigure config.scm --falback', and add new user:
tron.

When i try to login such as tron does not allow login and slim restart.

i check secure and slim.log log files, this message appears in slim.log:

slim: pam_authentication(): User not known to the underlying
authentication module

The solution to fix this issue was: changing the owner:group for the
home user.

cd /home
chown -Rf 30019:users tron

and works.
L
L
Leo Famulari wrote on 1 Feb 2016 01:55
(address . rennes@openmailbox.org)(address . 22492@debbugs.gnu.org)
20160201005540.GA25832@jasmine
On Sat, Jan 30, 2016 at 03:48:26AM +0100, rennes@openmailbox.org wrote:
Toggle quote (18 lines)
> Hi,
>
> i run 'guix system reconfigure config.scm --falback', and add new user:
> tron.
>
> When i try to login such as tron does not allow login and slim restart.
>
> i check secure and slim.log log files, this message appears in slim.log:
>
> slim: pam_authentication(): User not known to the underlying authentication
> module
>
> The solution to fix this issue was: changing the owner:group for the home
> user.
>
> cd /home
> chown -Rf 30019:users tron

If I am reading this correctly, it means that you changed ownership of
all files in /home to the "tron" user. In general that seems like a bad
idea. What about other users?

Toggle quote (6 lines)
>
> and works.
>
>
>
>
L
L
Ludovic Courtès wrote on 31 Jan 2016 17:29
(address . rennes@openmailbox.org)(address . 22492@debbugs.gnu.org)
877fipbtkr.fsf@gnu.org
rennes@openmailbox.org skribis:

Toggle quote (3 lines)
> i run 'guix system reconfigure config.scm --falback', and add new
> user: tron.

How did you add the new user account? You added it in the
‘operating-system’ declaration and then run ‘guix system reconfigure’,
right?

Toggle quote (10 lines)
> When i try to login such as tron does not allow login and slim restart.
>
> i check secure and slim.log log files, this message appears in slim.log:
>
> slim: pam_authentication(): User not known to the underlying
> authentication module
>
> The solution to fix this issue was: changing the owner:group for the
> home user.

Could it be that /home is on a separate partition? There’s a problem
when that is the case: http://bugs.gnu.org/21108.

Thanks,
Ludo’.
R
R
rennes wrote on 1 Feb 2016 17:59
(address . ludo@gnu.org)(address . 22492@debbugs.gnu.org)
8d60424f68f6f1385f7b5f303914ecca@openmailbox.org
Hi ludo,

On 2016-01-31 17:29, ludo@gnu.org wrote:
Toggle quote (27 lines)
> rennes@openmailbox.org skribis:
>
>> i run 'guix system reconfigure config.scm --falback', and add new
>> user: tron.
>
> How did you add the new user account? You added it in the
> ‘operating-system’ declaration and then run ‘guix system reconfigure’,
> right?
>
>> When i try to login such as tron does not allow login and slim
>> restart.
>>
>> i check secure and slim.log log files, this message appears in
>> slim.log:
>>
>> slim: pam_authentication(): User not known to the underlying
>> authentication module
>>
>> The solution to fix this issue was: changing the owner:group for the
>> home user.
>
> Could it be that /home is on a separate partition? There’s a problem
> when that is the case: <http://bugs.gnu.org/21108>.
>
> Thanks,
> Ludo’.

i replace bob user with tron in the configuration file, and later i
reconfigure. And i have only root partition.

Thanks
R
R
rennes wrote on 1 Feb 2016 18:01
(name . Leo Famulari)(address . leo@famulari.name)(address . 22492@debbugs.gnu.org)
8393377eebe83b07d787c12750938523@openmailbox.org
Hi,

On 2016-02-01 01:55, Leo Famulari wrote:
Toggle quote (35 lines)
> On Sat, Jan 30, 2016 at 03:48:26AM +0100, rennes@openmailbox.org wrote:
>> Hi,
>>
>> i run 'guix system reconfigure config.scm --falback', and add new
>> user:
>> tron.
>>
>> When i try to login such as tron does not allow login and slim
>> restart.
>>
>> i check secure and slim.log log files, this message appears in
>> slim.log:
>>
>> slim: pam_authentication(): User not known to the underlying
>> authentication
>> module
>>
>> The solution to fix this issue was: changing the owner:group for the
>> home
>> user.
>>
>> cd /home
>> chown -Rf 30019:users tron
>
> If I am reading this correctly, it means that you changed ownership of
> all files in /home to the "tron" user. In general that seems like a bad
> idea. What about other users?
>
>>
>> and works.
>>
>>
>>
>>

In the new generations the user are created but do not enter.

Thanks
L
L
Ludovic Courtès wrote on 12 Feb 2016 21:58
(address . rennes@openmailbox.org)(address . 22492@debbugs.gnu.org)
87twldzlvu.fsf@gnu.org
rennes@openmailbox.org skribis:

Toggle quote (10 lines)
> On 2016-01-31 17:29, ludo@gnu.org wrote:
>> rennes@openmailbox.org skribis:
>>
>>> i run 'guix system reconfigure config.scm --falback', and add new
>>> user: tron.
>>
>> How did you add the new user account? You added it in the
>> ‘operating-system’ declaration and then run ‘guix system reconfigure’,
>> right?

[...]

Toggle quote (3 lines)
> i replace bob user with tron in the configuration file, and later i
> reconfigure. And i have only root partition.

You wrote:

Toggle quote (2 lines)
> When i try to login such as tron does not allow login and slim restart.

Can you log in as ‘tron’ on the console? (Try Ctrl-alt-F2 to switch to
the console.)

Ludo’.
R
R
rennes wrote on 13 Feb 2016 06:48
(address . ludo@gnu.org)(address . 22492@debbugs.gnu.org)
7b0fb5850444d9840a328905ef868794@openmailbox.org
On 2016-02-12 14:58, ludo@gnu.org wrote:
Toggle quote (28 lines)
> rennes@openmailbox.org skribis:
>
>> On 2016-01-31 17:29, ludo@gnu.org wrote:
>>> rennes@openmailbox.org skribis:
>>>
>>>> i run 'guix system reconfigure config.scm --falback', and add new
>>>> user: tron.
>>>
>>> How did you add the new user account? You added it in the
>>> ‘operating-system’ declaration and then run ‘guix system
>>> reconfigure’,
>>> right?
>
> [...]
>
>> i replace bob user with tron in the configuration file, and later i
>> reconfigure. And i have only root partition.
>
> You wrote:
>
>> When i try to login such as tron does not allow login and slim
>> restart.
>
> Can you log in as ‘tron’ on the console? (Try Ctrl-alt-F2 to switch to
> the console.)
>
> Ludo’.

Hi Ludo,

i installed the system from scratch. I will make a scenario for testing.

Thanks.
L
L
Ludovic Courtès wrote on 7 Mar 2016 13:20
(address . rennes@openmailbox.org)(address . 22492@debbugs.gnu.org)
87a8matr79.fsf@gnu.org
rennes@openmailbox.org skribis:

Toggle quote (33 lines)
> On 2016-02-12 14:58, ludo@gnu.org wrote:
>> rennes@openmailbox.org skribis:
>>
>>> On 2016-01-31 17:29, ludo@gnu.org wrote:
>>>> rennes@openmailbox.org skribis:
>>>>
>>>>> i run 'guix system reconfigure config.scm --falback', and add new
>>>>> user: tron.
>>>>
>>>> How did you add the new user account? You added it in the
>>>> ‘operating-system’ declaration and then run ‘guix system
>>>> reconfigure’,
>>>> right?
>>
>> [...]
>>
>>> i replace bob user with tron in the configuration file, and later i
>>> reconfigure. And i have only root partition.
>>
>> You wrote:
>>
>>> When i try to login such as tron does not allow login and slim
>>> restart.
>>
>> Can you log in as ‘tron’ on the console? (Try Ctrl-alt-F2 to switch to
>> the console.)
>>
>> Ludo’.
>
> Hi Ludo,
>
> i installed the system from scratch. I will make a scenario for testing.

Hi! Any update on this bug?


Thanks,
Ludo’.
R
R
rennes wrote on 8 Mar 2016 15:13
(address . ludo@gnu.org)(address . 22492@debbugs.gnu.org)
a8af33e6e7f7380708c7b38614ec4257@openmailbox.org
On 2016-03-07 06:20, ludo@gnu.org wrote:
Toggle quote (45 lines)
> rennes@openmailbox.org skribis:
>
>> On 2016-02-12 14:58, ludo@gnu.org wrote:
>>> rennes@openmailbox.org skribis:
>>>
>>>> On 2016-01-31 17:29, ludo@gnu.org wrote:
>>>>> rennes@openmailbox.org skribis:
>>>>>
>>>>>> i run 'guix system reconfigure config.scm --falback', and add new
>>>>>> user: tron.
>>>>>
>>>>> How did you add the new user account? You added it in the
>>>>> ‘operating-system’ declaration and then run ‘guix system
>>>>> reconfigure’,
>>>>> right?
>>>
>>> [...]
>>>
>>>> i replace bob user with tron in the configuration file, and later i
>>>> reconfigure. And i have only root partition.
>>>
>>> You wrote:
>>>
>>>> When i try to login such as tron does not allow login and slim
>>>> restart.
>>>
>>> Can you log in as ‘tron’ on the console? (Try Ctrl-alt-F2 to switch
>>> to
>>> the console.)
>>>
>>> Ludo’.
>>
>> Hi Ludo,
>>
>> i installed the system from scratch. I will make a scenario for
>> testing.
>
> Hi! Any update on this bug?
>
> http://bugs.gnu.org/22492
>
> Thanks,
> Ludo’.


I realized the stage and the new user was created correctly.

Thanks
L
L
Ludovic Courtès wrote on 8 Mar 2016 15:51
(address . rennes@openmailbox.org)(address . 22492@debbugs.gnu.org)
87io0xkopr.fsf@gnu.org
rennes@openmailbox.org skribis:

Toggle quote (48 lines)
> On 2016-03-07 06:20, ludo@gnu.org wrote:
>> rennes@openmailbox.org skribis:
>>
>>> On 2016-02-12 14:58, ludo@gnu.org wrote:
>>>> rennes@openmailbox.org skribis:
>>>>
>>>>> On 2016-01-31 17:29, ludo@gnu.org wrote:
>>>>>> rennes@openmailbox.org skribis:
>>>>>>
>>>>>>> i run 'guix system reconfigure config.scm --falback', and add new
>>>>>>> user: tron.
>>>>>>
>>>>>> How did you add the new user account? You added it in the
>>>>>> ‘operating-system’ declaration and then run ‘guix system
>>>>>> reconfigure’,
>>>>>> right?
>>>>
>>>> [...]
>>>>
>>>>> i replace bob user with tron in the configuration file, and later i
>>>>> reconfigure. And i have only root partition.
>>>>
>>>> You wrote:
>>>>
>>>>> When i try to login such as tron does not allow login and slim
>>>>> restart.
>>>>
>>>> Can you log in as ‘tron’ on the console? (Try Ctrl-alt-F2 to
>>>> switch to
>>>> the console.)
>>>>
>>>> Ludo’.
>>>
>>> Hi Ludo,
>>>
>>> i installed the system from scratch. I will make a scenario for
>>> testing.
>>
>> Hi! Any update on this bug?
>>
>> http://bugs.gnu.org/22492
>>
>> Thanks,
>> Ludo’.
>
>
> I realized the stage and the new user was created correctly.

OK, closing.

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 8 Mar 2016 15:53
control message for bug #22492
(address . control@debbugs.gnu.org)
87a8m9kole.fsf@gnu.org
tags 22492 notabug
close 22492
?
Your comment

This issue is archived.

To comment on this conversation send an email to 22492@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 22492
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch