Reply
Thread Tools
Posts: 10 | Thanked: 3 times | Joined on Feb 2010
#1
I do believe there's some difference between "sudo gainroot" and just "root". but cannot figure out, anyone knows?
 

The Following User Says Thank You to nokian9000@yahoo.ca For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
Did you try cat /usr/bin/root ?
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following User Says Thank You to Matan For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Feb 2010
#3
what does cat /usr/bin/root mean?
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#4
It shows the content of the file /usr/bin/root, which is the file executed when you run the command "root".
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 
Posts: 15 | Thanked: 1 time | Joined on Feb 2010
#5
Originally Posted by Dave999 View Post
yeah, the spelling
not only spelling, but also .... i don't know...
 
Posts: 15 | Thanked: 1 time | Joined on Feb 2010
#6
Originally Posted by Matan View Post
It shows the content of the file /usr/bin/root, which is the file executed when you run the command "root".
how about "ls -l" also shows content
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#7
They are different: ls shows files in a directory, cat shows the contents of a file
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#8
It shows that the root command indeed runs sudo gainroot with a few switches.
 
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#9
What is difference between:
"sudo gainroot"
and
"exec sudo gainroot --use-su" ?

I ask this because when I used root command I had some problem, so I changed root file with simpler command "sudo gainroot".
__________________
If you found my post useful please thank me, I appreciate!
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#10
I would like to know the difference as well
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:32.