Hi, Robert.

The whole machine I work with is not a general purpose machine, but
some kind of embedded HDD-less product. When powered up, the machine
runs the OS, which in turn 'wired' to perform numerous manipulations
in order to run what we call Application. As I've said before, the
Application replaces the native Linux shell (sh, bash, etc) with its
own so, that I cannot login as a root, for example, and use the Linux
native CLI interface. Considering the option to 'un-wire' the OS from
the Application and manually perform all the manipulations appears to
lead to huge overhead and, possibly, change in runtime behaviour.
That's why I'm giving very serious thought to implementing a backdoor
in the Application's shell, which will allow me to use Linux CLI
commands.

What you say ?

Thanks.
maximb

On Nov 4, 2:53 am, Robert Citek <[email protected]> wrote:
> On Tue, Nov 3, 2009 at 2:09 PM, maximb <[email protected]> wrote:
> > I will use your suggestion and run the script as soon as I 'enhance'
> > the application's shell with native Linux shell commands.
>
> Can you elaborate on what that means?  Are you able to run a bash or
> sh shell?  Are you able to boot into runlevel 1 or single?
>
> > Can you, please, post some examples of a good- and-bad looking outputs
> > of the script ?
>
> Here's the output when run on my Ubuntu machine:
>
> $ cat output.txt
> + head /etc/issue /etc/issue.net
> ==> /etc/issue <==
> Ubuntu 8.04.3 LTS \n \l
>
> ==> /etc/issue.net <==
> Ubuntu 8.04.3 LTS
> + df -hT /tmp
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/sda3     ext3     20G   16G  2.4G  87% /
> + df -hTl
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/sda3     ext3     20G   16G  2.4G  87% /
> varrun       tmpfs    220M  116K  220M   1% /var/run
> varlock      tmpfs    220M     0  220M   0% /var/lock
> udev         tmpfs    220M   52K  220M   1% /dev
> devshm       tmpfs    220M   12K  220M   1% /dev/shm
> lrm          tmpfs    220M   40M  181M  18%
> /lib/modules/2.6.24-25-generic/volatile
> gvfs-fuse-daemon
> fuse.gvfs-fuse-daemon     20G   16G  2.4G  87% /home/rwcitek/.gvfs
>
> The output you get from RedHat should look similar.  Although I don't
> remember if RH6.1 has /etc/issue or if the df command has the -T
> option.
>
> As for bad-looking output, it could be anything, for example an error
> with "command not found".
>
> Regards,
> - Robert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to