Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

solaris 8 problem

  • 16-10-2001 5:07pm
    #1
    Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭


    elo
    when i login in get this

    SunOS 5.8

    login: root
    Password:
    Last login: Tue Oct 16 16:52:53 from v302179.eei.eri
    Sun Microsystems Inc. SunOS 5.8 Generic February 2000
    -sh: h: not found
    -sh: _: not found
    #


    any one know where the -sh stuff is coming from?
    its driving me nuts

    FYI:
    SunOS miep420 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-80


Comments

  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0


    btw .profile is empty


  • Registered Users, Registered Users 2 Posts: 3,744 ✭✭✭deRanged


    did you check your .login and .cshrc (or whatever) files?
    try running them to see what happens.


  • Closed Accounts Posts: 296 ✭✭moist


    Originally posted by MiCr0

    -sh: h: not found
    -sh: _: not found

    hmm... their curious errors, generally in sh if you try to run the command "blah" you get
    the error "blah: not found" (assuming there is no command called blah :))

    Although, come to think of it, ksh gives errors similar to that, "ksh: blah: not found".
    Now why the "k" is being replaced with a "-" I don't know. Could be somthing to do with symlinking ??
    *shrug*

    Anyways, files you should check...
    ~/.profile
    /etc/profile
    /etc/suid_profile

    You could also check all the other shell *rc files
    ~/.bashrc
    ~/.bash_profile
    ~/.cshrc
    ~/.login
    ~/.tcshrc
    ~/.z*
    /etc/csh*
    /etc/z*

    umm... probably more...

    hmm, come to think of it, it might just be crap in /etc/motd that is being spewed out :)


  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0


    some very smart *cough*stupid*cough* other root user on the box was "learning" and sort of forgot how to use vi and just dumped a load of crap into .profile

    problem sovled :D
    thanx all


  • Registered Users, Registered Users 2 Posts: 432 ✭✭Catch_22


    Ah dont worry dave we know you will get the hang of vi someday :D


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0


    strangely it wasn't me

    btw niall ever installed openssl?


  • Registered Users, Registered Users 2 Posts: 4,461 ✭✭✭Gerry


    openssl is a rather fussy install on solaris, it complains on solaris 7 here in college, I think I'll just have to go back one version of openssl.


  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0


    yep it seems to have "issues" the rand calls

    http://www.openssl.org/support/faq.html#USER1

    if any one knows how to solve that on sol8 i'll be very happy!!!!


  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0




Advertisement