root login, attempts to start missing app

Somehow an app on this box seems to have disappeared long ago which was configured to start immediatedly with a root login (eg su). Now, whenever upgrading permissions to root or logging (and assuming login as root), an error displays saying “cannot find <application>”

Considering root usually is different than other logins, am not sure where to start looking on an OpenSuSE box.

I’ve tried without success

BASH -v to enable verbose mode before executing a “su.”
BASH --debugger to enable debugging mode before executing a “su.”
Logout, Login as root and inspect /var/log/ hoping to find some logfile that audits the login sequence, but may be looking at a wrong logfile.

TIA,
Tony

it might be helpful to mention:

  1. operating system:

  2. version:

  3. missing application name

  4. was the missing application launched by a script? can you copy that
    script to this thread

  5. when you write “whenever upgrading permissions to root” what do you
    mean? logging in as root? into what, KDE? full screen terminal? xterm?
    konsole? via ssh to a distant box? or, maybe issuing an ‘su’ into a
    terminal

  6. then, what do you mean by “or logging (and assuming login as root)”

  7. is “cannot find <application>” the total error seen? exactly as it
    is seen? can you copy paste the entire bash output, from prompt to
    prompt, please…


DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

On 2010-10-15 19:36, tsu2 wrote:
>
> Somehow an app on this box seems to have disappeared long ago which was
> configured to start immediatedly with a root login (eg su). Now,
> whenever upgrading permissions to root or logging (and assuming login as
> root), an error displays saying “cannot find <application>”

Guessing with help from my crystal ball, you should have a look at the file /root/.profile or
…bashrc to find the name of the application. Then search for it, reinstall it, or whatever.

If it is not in the profile, then search visually on all files - good luck :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Thx Carlos,
Sure enough, it was in bashrc.
Not sure what it was doing in there, by all appearances what I thought was an error or command likely was just printing a string of characters to the terminal.

Tony