![]() |
2010-04-28
, 15:10
|
Posts: 13 |
Thanked: 0 times |
Joined on Apr 2010
|
#11
|
![]() |
2010-04-28
, 15:19
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#12
|
have you got anything else that might give you root access? I think ssh does and maybe debian?
sudo gainroot rm /usr/sbin/gainroot
![]() |
2010-04-28
, 15:22
|
Posts: 13 |
Thanked: 0 times |
Joined on Apr 2010
|
#13
|
Pardon? What are you talking about?
If you, via ssh, log in as root, you become root. That's something completely different than using "sudo gainroot" to become root locally.
Debian can't by itself do anything, since it's, as far as I know, a Linux distribution.
If OP removes the file /usr/sbin/gainroot file it will not be possible to become root using "sudo gainroot" any longer. Perhaps I wasn't clear enough about this in my earlier post. This is done with
Code:sudo gainroot rm /usr/sbin/gainroot
![]() |
2010-04-28
, 15:31
|
Posts: 478 |
Thanked: 165 times |
Joined on Apr 2010
@ Manchester
|
#14
|
![]() |
2010-04-28
, 16:09
|
Posts: 13 |
Thanked: 0 times |
Joined on Apr 2010
|
#15
|
Pardon? What are you talking about?
If you, via ssh, log in as root, you become root. That's something completely different than using "sudo gainroot" to become root locally.
Debian can't by itself do anything, since it's, as far as I know, a Linux distribution.
If OP removes the file /usr/sbin/gainroot file it will not be possible to become root using "sudo gainroot" any longer. Perhaps I wasn't clear enough about this in my earlier post. This is done with
Code:sudo gainroot rm /usr/sbin/gainroot
![]() |
2010-04-28
, 16:29
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#16
|
$ sudo su - #
![]() |
2010-04-28
, 17:17
|
Posts: 13 |
Thanked: 0 times |
Joined on Apr 2010
|
#17
|
![]() |
2010-04-29
, 08:45
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#18
|