[tac_plus] enable with passwd(5) file

Antonin Vitecek AntoninVitecek at seznam.cz
Wed Feb 14 14:40:16 UTC 2007


Hello,

I have a little question. Is it possible authenticate enable password using passwd(5) file? Because I found it on Shrubbery page(http://www.shrubbery.net/tac_plus/) at the bottom:

 user = bar {
        enable = file /etc/tac_enable_pwd
}

But, if I try it, I get this message: 

192.168.0.1: Error cannot identify password type file /etc/passwd for john

For login it is ok. In pwlib.c I found: 

    /* Oops. No idea what kind of password this is. This should never
     * happen as the parser should never create such passwords. */

What I want is to have same login and enable password.

user = john {
           login = /etc/passwd
           enable = /etc/passwd
}

In /etc/passwd I have line:
john:XXXXXXXXXXXXX::::

Thanks for any advice.



More information about the tac_plus mailing list