Complete.Org: Mailing Lists: Archives: linux-help: May 2000:
[linux-help] Re: 'chroot' help.

[linux-help] Re: 'chroot' help.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: 'chroot' help.
From: Michael Holmes <maholmes@xxxxxxxxxx>
Date: Sun, 21 May 2000 19:32:02 -0500
Reply-to: linux-help@xxxxxxxxx

On Sun, 21 May 2000, you wrote:
> On Sun, 21 May 2000, Wang Min wrote:
> > Dear Sir,
> > 
> > Everything is fine until I execute 'sudo....', I cannot find
> > sudo in my system as well as the RPMS files,so what is 'sudo'
> > and what is his job? BTW,although I cannot get sudo to work, I
> > test 'chroot /tmp /bin/sh', it already works, the prompt is
> > '[I have no name!@server /]#'(my server's name is server), why
> > I have no name? I do have got a name Wang :-). Thanks for your
> > time.
> Ahhh, sorry to confuse you more with 'sudo'. On my system, I can't
> run 'chroot' as a user; that is, I can execute it, but it says
> "Operation not permitted", so I used the sledgehammer of root.
> What sudo basically does is run the given command with root
> permissions; it's similar to "su root -c ...", only you don't have
> to know the root password.  So, try just removing the 'sudo' part
> of all the commands I gave.
NOW THIS MAKES ME NERVOUS!!  What if I want to hack your system; what,  with
sudo I do not have to know your passwords?  :-(
> As far as the prompt goes, that's probably bash setting up the
> prompt, and trying to run "whoami" or something similar, as well
> as 'uname -n'.  Either it already knew the server name, or
> something, because that came through; "whoami" didn't
> (correctly). Copy that executable into the chroot and the problem
> should go away.
> -jeff
> -- 
> Never underestimate the bandwidth of a station wagon full of tapes.
>                 -- Dr. Warren Jackson, Director, UTCS
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit
Michael A. Holmes
A positive attitude may not solve all of your problems, but it will annoy
enough people to make it worth the effort

                                            Herm Albright

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,

[Prev in Thread] Current Thread [Next in Thread]