Active Topics

 


Reply
Thread Tools
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#11
Originally Posted by skinny View Post
Sorted it now

I replaced the xxx's with "localhost" like the OP and it all worked!
A bit of comonsense
I found that I couldn't execute some commands with sudo and, on further investigation, found out that I needed to edit /etc/sudoers. I ended up putting the line...

user ALL = ALL

...above the other "user...." lines to give myself password protected access to all commands, other than those which are defined otherwise afterwards.

And that seemed to work fine
Thats exactle what I said in my previous post.

echo "user ALL = PASSWD: /bin/su" >> /etc/sudoers

That would give you full acces to sudo.

Thankyou to barry99705 and SeRi@lDiE for your assistance!

You Welcome.
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#12
Originally Posted by skinny View Post
Si, capisco!



I haven't changed my rootme password. It sounds like you think I'm the OP.

Thanks for the instructions tho. What do I replace the xxx's with in the ssh command?

Cheers.

You posted in your initial post

afterwards i changed my rootme password to a personal one. i exited out
Thats why I posted to use your personal password.
 
Posts: 42 | Thanked: 10 times | Joined on Apr 2007
#13
Thats exactle what I said in my previous post.

echo "user ALL = PASSWD: /bin/su" >> /etc/sudoers

That would give you full acces to sudo.
Yeah I did that but I still couldn't execute some commands. I tried...

Code:
sudo vim <whateverfile>
...to see if I could open the file writably but I got an error along the lines of...

Code:
user user is not allowed to execute <somethingsomething> as root on <something>
I also tried to execute...

Code:
hcitool info <bd address>
...and got the same error.

I assumed it was these commands that needed adding to /etc/sudoers. That's why I put the "user ALL = ALL" line in.

So should the line that you said to put in have given me access to these commands too?
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:41.