![]() |
Becoming root not working
I have used the application installer to load becomeroot.
I tried using $ sudo su -, and it prompts for password, which I hit enter at to get back to the $. If I enter anything else it is wrong password, and when I hit enter, it says 1 wrong password entered. I was reading that I should be # if I am root, so what is wrong? Can someone enlighten me on how to actually become root through the already installed application manager path. I have heard of others doing this an it worked, or am I mislead and need to use the SSH way to gain root. Thanks. |
Quote:
Thats my milage, I don't know if you'll get the same |
Re: Becoming root not working
This may seems silly, but I updated my OS to the scirocco version and now after installing all my applications I tried to become root. I have installed through the application manager a few times, but everytime I try sudo su -, it prompts for a password.
Does anyone have any way to help me on this, since I would like to get my hamachi back up and running, and need root access for tuncfg command. Thanks, Polyester |
Re: Becoming root not working
There is a new version of becomeroot out, version 0.1-2, which does not seem to be working on my n800. It installs, but typing sudo su - results in a password request. I recommend uninstalling it and installing 0.1-1 if you can find it, as it works fine for me.
|
Re: Becoming root not working
sudo gainroot
right??? |
Re: Becoming root not working
sudo gainroot only gives you a shell of root, since you are not in the main directory, but rather the user directory. So it doesn't do the same.
|
Re: Becoming root not working
Ok
sudo gainroot vi /etc/sudoers add this to the bottom user ALL = (ALL) NOPASSWD: ALL open new term, run sudo su - not sure why its not working, but that will fix it |
Re: Becoming root not working
"add this to the bottom"
user ALL = (ALL) NOPASSWD: ALL do you mean to do it as the last line item? And after I enter it, what do I do to have it accept it before closing xterm. Thanks, polyester |
Re: Becoming root not working
type
sudo gainroot type cp /etc/sudoers /etc/sudoers.backup type echo "user ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers open new tab inside xterm type sudo su - You are now root |
Re: Becoming root not working
Quote:
You can likely just 'su -' once you've gainroot'ed if you really need those environment variables set. If you want to login as root with 'su -' or via ssh (once you've installed an sshd), set the root password with passwd. However, that is generally discouraged since logging on as an unprivilaged user and then exscalating your privilage when needed is better than just diving in and doing everything as root. Not having a root password forces you to do things the "right" way. |
All times are GMT. The time now is 16:44. |
vBulletin® Version 3.8.8