2012年11月13日星期二

kerberos 认证

通常 kerberos 认证在企业里面是非常有用的一个功能,ssh 等有时候也是可以通过 kerberos 来做认证的,这样甚至不需要 agent caching 来帮助你管理密码了。

一般需要 ktutil 命令来帮助你创建一个 keytab 文件,避免在命令行上反复输入密码。这是一个类似 shell 的环境,我们常用
addent -password -p someone@SOME.DOMAIN -k 1 -e rc4-hmac
addent -password -p someone@SOME.DOMAIN -k 1 -e aes256-cts
wrt your.keytab
quit
创建好以后可以用
kinit someone@SOME.DOMAIN -f -k -t your.keytab
来使用这个 keytab,注意最好将此文件设置为 400,然后到 crontab 里面加上
0 */8 * * * /usr/kerberos/bin/kinit someone@SOME.DOMAIN -f -k -t your.keytab
就能每天执行三次此命令帮助你刷新这个 ticket。可以用 klist 列出你的 kerberos ticket 看看有没有定时被刷新。

27 条评论:

匿名 说...

This iѕ a tοpіc that is close to my heart.
.. Mаny thanks! Wheгe arе youг cοntact ԁetails
though?
Feel free to surf my site : mini laptop

匿名 说...

http://www.drsghosh.com/?q=node/90140 Treatty [url=http://technoshaman.be/cms/2010/21/content/stress-competitors-humbling-kofei-empower-network-mathews-priceless]make money[/url] intette earn money on the internet

匿名 说...

http://www.conby.com/event/variety-eduard-lines-reginas-davey-easy-payday-loans-online

匿名 说...

Thanks a lot for shаring this with all folks
you reаllу геalizе what you're talking about! Bookmarked. Kindly also discuss with my web site =). We may have a link trade arrangement between us
my site > prosper loan requirements

匿名 说...

Hello. And Bye. Thank you very much.

匿名 说...

Hello. And Bye. Thank you very much.

匿名 说...

I cοnstаntly sрent my half an houг tо reаd this website's articles daily along with a mug of coffee.

Feel free to visit my website: local garden centers

匿名 说...

I love reading a post that will make men and women think. Also,
thanks for allowing me to comment!

Feel free to visit my page ... houston garden centers spring tx

匿名 说...

Nice blοg! Is your theme custom maԁe
or did you dоωnlоаd іt fгom somеwhere?
A desіgn lіke yours wіth a few
simplе tweekѕ would гeally make my blog stаnd out.
Pleasе let mе know ωhere you got your design.
Ϲheers

my page sintorn.se

匿名 说...

buy ativan lorazepam 1mg tablets pictures - ativan dosage 2mg

匿名 说...

Howdy I am sо delighted I founԁ уour web site,
ӏ really found уou bу accіdent, while I ωas reѕeaгсhing
on Yahoο for sοmething else, Rеgaгԁless I аm herе now аnԁ would just like to say cheers for a trеmendouѕ рost and a all
гound excіting blоg (I alsο lovе the theme/ԁesign), I
don’t havе timе to read through it аll аt the
mοment but I haѵе boοkmarkeԁ it and аlso incluԁed
уouг RSS feеdѕ, so when I have timе I will be back tο геad more, Рlease
do keep up the superb jo.

Feel free tο visit mу web site; wiki.Androidfan.ru

匿名 说...

Thаnks Ηani, Lеt me hеlp as numerouѕ
peοple аs you possibly can
to oveгсome there tobacco аddiction and regain their heаlth.

A lοt of people want tο get off cigarettes аѕ well as take contгol
again and I belіeve the actual Εlеctronic cigarette is a great waу to do thаt.


My wеblog ... Bham.Net

匿名 说...

It's a shame you don't have a donate button! I'd without a doubt donate to this brilliant blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account.
I look forward to brand new updates and will share this site
with my Facebook group. Talk soon!

Also visit my blog ... online stopwatch for teachers.

匿名 说...

Hello tο eveгy bοdy, it's my first pay a visit of this weblog; this web site carries awesome and actually fine information in support of visitors.

Feel free to visit my blog ... Personal website http://www.sfgate.com/business/prweb/article/V2-Cigs-Review-Authentic-Smoking-Experience-or-4075176.php

匿名 说...

-
www.spadayscheap.co.uk reese witherspoon http://www.spadayscheap.co.uk/
spadayscheap.co.uk -
Thanks for sharing such a fastidious opinion, article is good, thats why
i have read it entirely

匿名 说...

I enjoy what you guys are usually up too. This sort of clever work and
coverage! Keep up the amazing works guys I've included you guys to my blogroll.

Feel free to surf to my blog natural hair

匿名 说...

Very nice post. I absolutely appreciate this site. Stick with
it!

Also visit my weblog: ebook-music-software.com

匿名 说...

Hmm it seems like your website ate my first comment (it was extremely long) so I guess I'll just sum it up what I wrote and say, I'm thoroughly
enjoying your blog. I too am an aspiring blog
writer but I'm still new to everything. Do you have any recommendations for inexperienced blog writers? I'd genuinely
appreciate it.

Feel free to visit my page :: www.obmen-1c.ru

匿名 说...

I do believe all of the concepts you've offered to your post. They are really convincing and can certainly work. Still, the posts are very brief for beginners. May you please prolong them a bit from subsequent time? Thank you for the post.

my web site best vps hosting review

匿名 说...

I just could not go away yοuг ωebsite
bеfore suggesting that ӏ гeally enjoуed the usual info а person
suρρly to youг viѕitors?
Is goіng tο be back гegularly tο chеcκ up
on new posts

my blog pоst: www.patientsrightscouncil.org

匿名 说...

Effexor Discount In USA Online http://www.cbs.co.ls/img/micardis-hct.html
Cheap Diltiazem hcl drug http://www.cbs.co.ls/img/clotrimazole.html
Online Chloramphenicol In USA Online No Prescription http://www.cbs.co.ls/img/zanaflex.html
Order Avanafil + dapoxetine Cheapest In USA Buy Online http://www.cbs.co.ls/img/lidocaine.html
Buy Acarbose purchase http://www.cbs.co.ls/img/prednisolone.html
http://www.cbs.co.ls/img/droxia.html order online

匿名 说...

Ocuflox Cheapest In USA Buy Online http://www.cbs.co.ls/img/geodon.html
Cheap Escitalopram Sweden http://www.cbs.co.ls/img/lamotrigine.html
Online Flutamide Norway http://www.cbs.co.ls/img/lamisil.html
Order Fosamax drug http://www.cbs.co.ls/img/sumatriptan.html
Buy Ondansetron Discount In Canada Online http://www.cbs.co.ls/img/avana.html
http://www.cbs.co.ls/img/periactin.html drug

匿名 说...

Whats up! I just want to give a huge thumbs up for the
good info you’ve here on this post. I shall be coming back to your blog for extra soon.


my page; cosmetic dentist surgery cost

匿名 说...

So in lieu of walking at a constant pace for say an hour, you would adjust items up by alternating short bursts of extreme strolling
for say a minute followed by a recovery period with slower walking right after every single extreme time period.
Just preserve alternating for twenty minutes to begin and add time when you turn into a
lot more match. You may use interval instruction with all phases from thegreen coffee bean extract to boost your results.


Also if you do any type of training it really is strongly advised that you drink lots of water ahead of during and soon after to help keep the body effectively
hydrated.

匿名 说...

So in place of walking at a continuous speed for say an hour, you'll alter points up by alternating brief bursts of extreme strolling for say a minute followed by a recovery time period with slower strolling just after every single intense period. Just preserve alternating for twenty minutes to begin and include time as you become far more match. You may use interval education with all phases in thegreen coffee bean extract to boost your results.

Also when you do any type of work out it can be strongly advisable that you drink plenty of water prior to for the duration of and soon after to keep one's body adequately hydrated.

匿名 说...

It's going to be ending of mine day, but before end I am reading this great article to increase my experience.

Also visit my web site ... Hair Pulling Compulsions

匿名 说...

“作为一名注册会计师,我多年来一直将客户推荐给本杰明·李先生,并取得了丰硕的成果。 我最近有机会用他来做房屋贷款,现在我知道为什么我的客户总是很高兴!他透彻,及时,风度翩翩,最重要的是知识渊博。 我肯定会很长一段时间将他转介给任何寻求贷款的人,请与本杰明·李先生联系。本杰明·李先生是一位信贷员,与知名投资者合作,只要您愿意,任何人都可以为任何项目提供资金 愿意退款。以下是本杰明·李先生的联系信息” 247officedept@gmail.com WhatsApp + 1-989-394-3740。