su: Authentication service cannot retrieve authentication info

2,161 views
Skip to first unread message

Moritz H

unread,
Sep 15, 2014, 11:58:35 AM9/15/14
to chromium-...@chromium.org
Hi all,

Just managed to get Chrome OS running on my machine and have run into a problem. On multiple sites I have seen the use of the "sudo su" command but I am having some problems using it. 

I open the crosh and this is what I get:

Welcome to crosh, the Chrome OS developer shell. 

If you got here by mistake, don't panic! Just close this tab and carry on. 

Type 'help' for a list of commands. 

crosh> shell 
chronos@localhost / $ sudo su 
Password: 
su: Authentication service cannot retrieve authentication info 
(Ignored) 
localhost / #

Could someone explain this error or what I am doing wrong. I have already done a Google search but to no avail.

I'm running:
Version 36.0.1946.3 (264642)
Platform 5777.0.2014_04_20_0346 (Developer Build - buildbot) developer-build amd64-generic 

Thank you so much for any help whatsoever!
Welcome to crosh, the Chrome OS developer shell.


Richard Barnette

unread,
Sep 15, 2014, 12:28:39 PM9/15/14
to mnjh...@gmail.com, chromium-...@chromium.org
On 9/15/14, 8:58 AM, Moritz H wrote:
> Hi all,
>
> Just managed to get Chrome OS running on my machine and have run into a
> problem. On multiple sites I have seen the use of the "sudo su" command
> but I am having some problems using it.
>
> I open the crosh and this is what I get:
>
> Welcome to crosh, the Chrome OS developer shell.
>
> If you got here by mistake, don't panic! Just close this tab and
> carry on.
>
> Type 'help' for a list of commands.
>
> crosh> shell
> chronos@localhost / $ sudo su
> Password:
> su: Authentication service cannot retrieve authentication info
> (Ignored)
> localhost / #
>
>
> Could someone explain this error or what I am doing wrong. I have
> already done a Google search but to no avail.
>
I expect the root cause of the behavior (or at least the fix)
will be buried in the PAM configuration that's set up at build
time. I don't know much about how it works.

In any event, it seems any questions about the message are
moot: Your transcript shows that after the message you have a
shell prompt as root.

If you don't want to see the message, either of the following
should also get you a shell as root without spurious complaints:
sudo -i
sudo bash


> I'm running:
> Version 36.0.1946.3 (264642)
> Platform5777.0.2014_04_20_0346 (Developer Build - buildbot)
> developer-build amd64-generic
>
> Thank you so much for any help whatsoever!
>
> Welcome to crosh, the Chrome OS developer shell.
>
>
> --
> --
> Chromium OS discuss mailing list: chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
>

--
--jrb

Mh

unread,
Sep 15, 2014, 12:47:44 PM9/15/14
to chromium-...@chromium.org, mnjh...@gmail.com
Hi Richard,

Right I seem to now be aware of two things. Firstly, I wasn't aware that I indeed used the sudo su command successfully as I presume the red writing means I am now using the shell as the root user. Secondly, thank you for suggesting the sudo command with other parameters which has now resulted in 0 error messages.

Thank you very much! 
Reply all
Reply to author
Forward
0 new messages