![]() |
2011-05-24
, 12:12
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#2
|
![]() |
2011-05-24
, 12:12
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#3
|
Hello everyone
i would like to post some problems/bugs having in my N900
(Probably On every N900)
1-)After installing sudser
i'm able to sudo (anything will be started as root) with out sudo gainroot
then entering commands
so the progblem here is
when i gain the root shell
sudo gainroot
then i type
sudo (anything)
i get
root is not in the sudoers file. This incident will be reported.
Is that normal?
![]() |
2011-05-24
, 12:15
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#4
|
![]() |
2011-05-24
, 12:17
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#5
|
Don't sudo as root. Root does everything sudo
you use sudo as user. Like
sudo cp file.txt /opt/
^^copies file.txt top /opt/ and you can do it without becoming root with sudo gainroot (or just root)
![]() |
2011-05-24
, 12:18
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#6
|
well thanks for response
Actualy i expected that but if you i did the same thing in any other linux os
ex: easy debian
It doesn't show that problem
![]() |
2011-05-24
, 12:21
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#7
|
perhaps root is in sudoers in easy debian. Regardless sudo as root is 100% pointless.
![]() |
2011-05-24
, 12:22
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#8
|
Don't sudo as root. Root does everything sudo
you use sudo as user. Like
sudo cp file.txt /opt/
^^copies file.txt top /opt/ and you can do it without becoming root with sudo gainroot (or just root)
EDIT Thanks for the info on the package btw, I hadn't bother to fix it myself, and I was a little annoyed by the sudo thing actually. didn't know there was an app for it
EDIT2: root is an alias for sudo gainroot, and quite a bit shorter
![]() |
2011-05-24
, 12:39
|
Posts: 805 |
Thanked: 1,605 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#9
|
Yep correct
but sometimes when running scripts that need to run as root
and the have sudo (something)
the problem appears
Anyway
The Following User Says Thank You to misiak For This Useful Post: | ||
![]() |
2011-05-24
, 12:42
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#10
|
i would like to post some problems/bugs having in my N900
(Probably On every N900)
EDIT : 1-) IS SOLVED Thanks to misiak
and a bit of me
Guide solving it + using sudo (anything) as user
also using sudo (anything) as root
------------------------------------
sudo gainroot
echo "user ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers
echo "root ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers
mv everybody.sudoers /etc/sudoers.d
update-sudoers
-----------------------------------
EDIT : 3-) IS SOLVED
by :
installing procps
sudo gainroot
apt-get install procps
----------------------------------------------------------------------
1-)After installing sudser
i'm able to sudo (anything will be started as root) with out sudo gainroot
then entering commands
so the progblem here is
when i gain the root shell
sudo gainroot
then i type
sudo (anything)
i get
root is not in the sudoers file. This incident will be reported.
-------------------------------------
2-) For h-e-n users
the transfer speed betwean n900 and the pc with a usb cable is usualy 15mb/s but if i plugged to n900 a usb drive with h-e-n
then replugged n900 to pc
the transfer speed betwean n900 and the PC goes down to 3mb/s
So i have to reboot to get the full transfer speed again
(and you know how horrible is to make a reboot)!!
-------------------------------------
3-) after installing enchased busybox
ps -A
or ps -aux
doesn't work
can i grab the old ps from the old busybox?and put it in the new one?
So please Need someone to confirm that the problerms i have are bugs/or wrong with my n900
Thanks
Last edited by karam; 2011-08-24 at 22:39.