Reply
Thread Tools
Posts: 29 | Thanked: 1 time | Joined on Jan 2006
#1
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.
 
Posts: 319 | Thanked: 6 times | Joined on Apr 2006
#2
Originally Posted by polyesterangst
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.
Uninstall the application and reinstall it. This will make sure that it installed properly. When you install it, it won't as you for a password when you type sudo su -

Thats my milage, I don't know if you'll get the same
 
Posts: 29 | Thanked: 1 time | Joined on Jan 2006
#3
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
 
Posts: 550 | Thanked: 110 times | Joined on Aug 2006
#4
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.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#5
sudo gainroot

right???
 
Posts: 29 | Thanked: 1 time | Joined on Jan 2006
#6
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.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#7
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
 

The Following User Says Thank You to penguinbait For This Useful Post:
Posts: 29 | Thanked: 1 time | Joined on Jan 2006
#8
"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
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#9
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
 
Posts: 373 | Thanked: 56 times | Joined on Dec 2005 @ Ottawa, ON
#10
Originally Posted by polyesterangst View Post
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.
'sudo gainroot' (once you've installed the becomeroot package or enabled the R&D mode) is like 'su' without the '-' ; You gain root privileges but don't load the profile of root.

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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:49.