Changes between Version 1 and Version 2 of kerberos


Ignore:
Timestamp:
08/30/2012 05:42:36 PM (14 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kerberos

    v1 v2  
    112112Principal "hadoop/admin@PCOLINE"created.[[BR]] 
    113113 
     114 
     1159.在各机器上增加hadoop用户 
     116 
     117/usr/local/bin/kadmin[[BR]] 
     118addprinc -randkey host/hadooptest-11-64@PCONLINE 
     119addprinc -randkey host/hadooptest-11-64.pconline.ctc@PCONLINE 
     120addprinc -randkey hadoop/hadooptest-11-64@PCONLINE 
     121addprinc -randkey hadoop/hadooptest-11-64.pconline.ctc@PCONLINE 
     122不知道为什么要两个,可能前面配错了什么,每台机器都要配 
     123 
     124ktadd -k /data/hadoop-1.0.3/conf/hadoop.keytab hadoop/hadooptest-11-64.pconline.ctc@PCONLINE host/hadooptest-11-64.pconline.ctc@PCONLINE hadoop/hadooptest-11-64@PCONLINE host/hadooptest-11-64@PCONLINE 
     125 
     126 
     127---- 
     128查看keytab文件内容[[BR]] 
     129/usr/local/bin/klist  -e -k -t hadoop.keytab