ksh as root (snipped)

From: Bruntel, Mitchell L, SOLCM (mbruntel_at_att.com)
Date: 06/26/03

  • Next message: UnixAdmin: "SSH Problem"
    Date: Thu, 26 Jun 2003 08:48:42 -0500
    To: "Marques, Virginia" <virginia.marques@eds.com>, <sunmanagers@sunmanagers.org>
    
    

    ..snip..

    Marques, Virginia said: (snip...)
    no one has access to ksh because ...sadly... they had a LINK between ksh and
    where it was...UGH!

    Mitch Sez:

    THERE's a REASON they suggest not using ksh as your primary (root) shell.
    That could be why!

    However..
    I simply COPY ksh to /sbin (DONT link it!!)
    then, I have the best of both worlds. MY ksh is there, and a usable copy is
    still on the server.

    OH. and I also follow a "stupid person's rule" for preventing ROOT mishaps.

    I never EVER change a root password, OR root shell, without having at least
    TWO different windows open to the same system both logged onto root.

    This way, even if I fatfinger the root password, the other window can recover
    it.
    and, once password is changed, I ALWAYS use the 2nd window to log out, and
    re-enter the password for verification.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: UnixAdmin: "SSH Problem"

    Relevant Pages

    • KSH and Perl output
      ... I am trying to get the equivalent in KSH to work in Perl and I cannot seem to get the same output. ... root 0 3 NS2 Root ... Mail has the best spam protection around ...
      (perl.beginners)
    • Re: Funny if-condition in the root profile
      ... if the user shell is ksh this ... you're root) this is exec'ing the ksh shell (with vi editing mode ... root and the application-specific user have both the same if-condition ...
      (comp.unix.shell)
    • Re: Funny if-condition in the root profile
      ... if the user shell is ksh this ... the ksh shell (with vi editing mode already set) ... root and the application-specific user have both the same if-condition ...
      (comp.unix.shell)
    • using @ and &
      ... The following code works fine if run with csh but evidently when it ... runs out of cron by root it needs to run ksh. ...
      (comp.unix.shell)
    • Ksh how to start from csh
      ... I want to shift to ksh. ... when i create xterm from current window the .profile is not getting executed. ...
      (comp.unix.shell)