Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

36.3. User Authentication

过程 36.2. Authinfo

  1. ckpasswd

    chown root /usr/lib/news/bin/auth/passwd/ckpasswd
    chmod 4555 /usr/lib/news/bin/auth/passwd/ckpasswd
    				
  2. shadow auth

    $ sudo vim /etc/news/readers.conf
    
    auth local {
            auth: "ckpasswd -s"
    }
    
    access local {
            users: "neo"
            newsgroups: "*,!junk,!control,!control.*"
    }
    				
  3. passwd file

    auth local {
           auth: "ckpasswd -f /etc/news/newsusers"
    }
    
    access local {
            users: "neo"
            newsgroups: "*,!junk,!control,!control.*"
    }
    				
  4. dbm,ndbm

    auth: "ckpasswd -d /etc/news/newsusers.ndbm"