Reply
Thread Tools
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#21
Originally Posted by karam View Post
So far so good

Oh and BTW sudser creates a file called in /etc/sudoers.d/
called everybody.sudoers
that has the line

user ALL=(ALL) NOPASSWD: ALL

Wich alowes to sudo (anything as user)
and it will be launched with root privilages

maybe we can create a file that has

root ALL=(ALL) NOPASSWD: ALL

and does sudo (anything in root with out troubles)

what do you think?
Wow, didn't know it's THAT simple... Yes, we could for example create a file /etc/sudoers.d/root.sudoers with just this line inside and run update-sudoers (as root) and it should be added automatically, so we can now remove the line we added via "visudo" command
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#22
Yep actually if you have sudser you can add the line to /etc/everybody.sudoers

root ALL=(ALL) NOPASSWD: ALL

and update-sudoers then it is solved
 
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#23
Guide posted at first post
 

The Following User Says Thank You to karam For This Useful Post:
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#24
But misiak please edit the post of the visudo guide (remove it)
so no users make mistakes
 

The Following User Says Thank You to karam For This Useful Post:
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#25
Originally Posted by karam View Post
But misiak please edit the post of the visudo guide (remove it)
so no users make mistakes
Thank you You should also edit the post in which you quoted me: http://talk.maemo.org/showpost.php?p...1&postcount=10 and in first post you made a typo:
Originally Posted by karam View Post
Guide solving it + using sudo (anything) as user
should be
Guide solving it + using sudo (anything) as root
(or both user and root), shouldn't it?
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#26
Ok all fixed
Stupid Me

Anyway any h-e-n users
What is wring with you guys is there nobody else uses h-e-n
it is realy easy to make a femal to female adaptor
i made one easly
 
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#27
i need some help from you guys i have rm some thing * in mydocs so every thing is deleted
i was able to resotre every thing exepct the .autorun
can someone grab it and put it in the attachements
please
 
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#28
never mind solved it

And once again any h-e-n users ?

and BTW anyone want to post a problem to solve
well let him post it
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#29
Can I just add something to this please? This problem just cropped up recently for me (no idea why), so found this thread. Thank youi for the wonderful info. BUT to fix this fully I had to add the user ALL=(ALL) ..... and root ALL=(ALL) ... lines into etc/sudoers file as well as creating the one stated.
Just thought I'd add that in there incase it helps anyone else
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:33.