[users]Re: Linux Vs Windows in security (II)

Chris racerx at makeworld.com
Wed Aug 29 16:43:38 UTC 2007


On Wed, 29 Aug 2007 13:17:00 +0100
"(``-_-´´) -- Fernando" <ubuntu at bugabundo.net> wrote:

> On Wednesday 29 August 2007 13:10:36 Chris wrote:
> > On Wed, 29 Aug 2007 12:19:06 +0100
> > "(``-_-´´) -- Fernando" <ubuntu at bugabundo.net> wrote:
> > 
> > > On Monday 13 August 2007 22:06:32 Cesar Augusto Suarez wrote:
> > > > so, however, if i  have remote access  by ssh to a linux
> > > > machine, can i change the root pass if i dont know it? just in
> > > > case
> > > 
> > > Yes you can, as long as the user connecting to the sshd as sudo
> > > permitions. Just ssh USER at MACHINE
> > > and then do sudo passwd root
> > > 
> > 
> > Fernando missread your question - The real answer is ...
> > 
> > "if i  have remote access  by ssh to a linux machine,
> > can i change the root pass if i dont know it?"
> >  
> > NO - You can't change the root password if you don't know the root
> > password. You CAN however, IF you DO.

Let's look at this again - the Op asked if he can change the root
password he he does not know it.

That being said - ha can't run sudo without knowing the root password.
Unless of couse, the admin of the remote box setup sudo to be used
without a password.

ARE WE CLEAR ON THAT?

How can a user use sudo if he does not know the password (assuming the
root password is needed to use sudo). 

The Op does not define other parms in the request - here's the quote:

"On Monday 13 August 2007 22:06:32 Cesar Augusto Suarez wrote:
so, however, if i  have remote access  by ssh to a linux
machine, can i change the root pass if i dont know it? just in case"

The Op does not define what distro, he does not define whom he is
ssh'ing in as - it is what it is.

-- 
Best regards,
Chris
Registerd Linux user number 448639




More information about the ubuntu-users mailing list