Ubuntu sudo su11/29/2023 ![]() Long post, but interesting stuff - to me. So if somebody can get to my open ports thru my router, I’m concerned! My thinking goes back to old training as a network admin: you never, ever enable the “Admin” account, since everybody knows that user-name. I recommend to use option -i to get someuser s expected environment. usr/bin/env bash whoami sudo -i -u someuser bash << EOF echo 'In' whoami EOF echo 'Out' whoami. And there are some obvious questions, how will Yast2 act (gui root pw request)? And, if the root account pw is disabled, you can’t use gksu (gnomesu), and you’d have to get gksudo installed somehow. Much simpler: use sudo to run a shell and use a heredoc to feed it commands. This seems like a good topic for flamebait, but I’d like to hear opinions on some of the pros and cons of the idea. Since all my machines are more desktops than servers, this makes sense to me as a security measure. ![]() I decided it might be a wiser choice to set up my root account like Ubuntu’s default, and rely on sudo. sudo su is the traditional way to switch roles and start acting a sys admin. If you really need a persistent root login, the best alternative is to simulate a Root login shell using the following command. The Windows machine goes down next because ppl can do it, but the top hackers aren’t using their hacks there, since they say the hacks are worth more money than the contest is paying ($5 or $10K)! All very interesting stuff, along with the Brit hacker getting past SOHO router hardware firewalls, reported in the Register recently. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. BUT, the pwners, and the pwn2own organizers have publicly stated that nobody is even trying to pwn the Ubuntu machine! They say the Mac machine goes down first because that gets rep. Ubuntu is the Linux distro used, and it hasn’t gone down at all. It’s been run for 3 years now, Mac went down first every time, Windows 2nd. ![]() I recently got referred to the pwn2own contest results.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |