[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Telnet - Access Denied Message



Alfredo schrieb:

> On the Raq3i, /bin/badsh is a binary and, forgive my ignorance, I'm
> really surprised to see it's a PERL file on the  Qube. The files in
> the bin directory are binaries -- that's the way it's "supposed to
> be" (famous last words) and I always thought it was that way on all
> systems.

depends on the distribution, but IMHO (at least i remember the debian
policy to say so) /bin should contain *programs*, not only binaries,
that
are important even for normal users in a case when /usr/ cannot be
mounted,
and badsh is, as it "denies" shell access.
i`m not sure if redhat has a defined runlevel without any partitions but
/
mounted, but with normal user login allowed. on a raq, /usr is no
partition,
though. 

btw, where would you like to put it ? would be no problem, but it
doesn`t
make much sense to me.
 
> Obviously, they broke "the rule" with badsh on the Qube but I can't
> understand why they'd handle that with PERL. Can't see an advantage
> -- in fact, it would probably slow things down by a second or two, no?

some milliseconds ? if you don`t like it, write a shell script or a
"hello
world" like c program.

i rewrote it, but i remember a posting about 6 months ago, that
/bin/badsh
on a raq3 has no text hardcoded, but reads in a text file from
somewhere.
did not examine that, not worth the effort...

-- 

H. P.  Stroebel, Germany

CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/

Apollo 13 - Commander : "Houston, we have a problem"
Win2000 - Administrator : "Redmond, we have 64000 problems"