postconf: command not found (Fedora Core 5 setup)

Discussion in 'Installation/Configuration' started by Xenobi, Jul 26, 2006.

  1. Xenobi

    Xenobi New Member

    I didn't get far from mySQL nightmare and I'm stuck again. :D

    Postfix and dovecot seemed to install just fine but the next step to configure smtp just says.

    bash: postconf: command not found
  2. Ben

    Ben Active Member Moderator

    Did you change to root via su or did you directly login via root?
    If you did su, try su - otherwise you profile won't be loaded and pathes maybe set wrong.

    did you try a
    which postconf

    and if that does not help
    find / -name postconf
  3. Xenobi

    Xenobi New Member


    That did it! Thanks much

    I used su, su - did the trick
  4. Ben

    Ben Active Member Moderator

    I ran in that *** problem some time, because after denying root login directly via ssh I added another user an "su"ed but stuff like service did not work.... so I came to that.

    To solve that you can make sth like

    alias su='su -'

    in /root/.bash_rc

Share This Page