M117+ removes the 'sudo' command. #5005
Replies: 5 comments 9 replies
-
Yeah, that's really unfortunate. Hopefully they actually enable sudo in VT-2. I can't find any public bugs on it, so if you file or discover one, please share a link.
|
Beta Was this translation helpful? Give feedback.
-
This works. After installing openssh-server I needed to create directory /run/sshd. For anyone looking for a guide to get back their GUI Crouton:
Edit: originally I had step 7 as "in the crosh shell: I really don't know what Google was thinking of with this change: anyone who has gone to the trouble of enabling developer mode and installing crouton (or anything else that requires root) obviously wanted to do it. I think they've always said they won't support developer mode problems, so why not leave it at that? Looks like someone at Google decided to solve a problem that didn't exist, and in doing so stripped functionality from people (like me) who would never have bought a Chromebook if it wasn't for Crouton. It's all very well saying use Crostini, which I do for some things, but it's slow on low spec machines and it's quite possible to hard-lock the machine if you try to do too much. Rant over. |
Beta Was this translation helpful? Give feedback.
-
My reply begins: The chromebook updated automatically, and with the next restart, sudo wasn't working. I use bash in a chroot container. Occasionally, I use the Ubuntu desktop, because it gives me simple access to X11 apps. I am able to switch to a VT-2 shell, and switching to root does work in the developer console. I am able to get some functionality from the chroot container, but I can't access the Ubuntu desktop or the X11 apps. I've only been working on this problem for a week, and I am surprised to read that people have been trying to solve this for over a month. Where my view differs slightly from dnschneider is that, it is not only the people that are using crouton who are affected by the "deprecation" of sudo, but anyone using any terminal emulator on the chromebook, will discover that bash is essentially not functional. I can't understand the logic, because it seems to me that Sudo itself is a security measure that has probably been around for 75 years. As my AI constantly reminds me, it is dangerous to let other processes run as root and use sudo. And you would have to agree, you can't just let anyone use sudo. So, maybe the thinking was that eliminating sudo was just the security measure that was needed for the update. Well, it was nice that we got a message of the day telling us that the sudo privileges need to be set with two cumbersome options on building the image. |
Beta Was this translation helpful? Give feedback.
-
There is nothing wrong with crouton. MrChromebox says crouton is "deprecated" (see here) but he doesn't get to decide what I run on my own Chromebook. As long as you can use sudo in VT-2, then the "problem" is solvable. There is nothing illegitimate about using crouton. It still does what it was intended to do, and I appreciate the thought which went into to creating this amazing script. I wonder if we should refer to 3 virtual terminals: Ctrl-Alt-F2 = VT-2 |
Beta Was this translation helpful? Give feedback.
-
just use chromebrew and run |
Beta Was this translation helpful? Give feedback.
-
Chrome version M117+ removes the
sudo
command which brings up some questions for the continued use ofcrouton
.When entering a crosh shell session we now get the following message:
Although not yet possible with Chrome beta version 117.0.5938.22, the above alludes to the possibility of still being able to run the
sudo
command in the VT-2 shell, let's hope that comes to fruition.So, for the time being, short of rebuilding the board image with the flag(s) mentioned above, we can no longer run
crouton
as user 'chronos' in a crosh shell or the VT-2 shell, when attempting to do so the following message is displayed when invoking thesudo
command:I guess some of the foremost questions are:
crouton
as root or even chronos in the VT-2 shell?crouton
in the VT-2 shell will the GUI desktops still launch & work?crouton
still a viable way to run Linux distros in a chroot or should we move to Crostini and stop usingcrouton
?I think once Chrome version M117 lands in the stable channel, currently scheduled for Tue, Sep 19, 2023, we'll all be facing these issues.
-DennisLfromGA
Beta Was this translation helpful? Give feedback.
All reactions