Giter Club home page Giter Club logo

mit-kerberos-installation's Introduction

MIT-kerberos-installation

This is very simple shell script to install and configure the MIT kerberos on Linux Operating system.

This script has been written in shell script and tested on Centos 7 with minimal/less security configurations.

To setup the MIT kerberos server modify below lines and run the follwoing command.

Note: before run this script,Make sure kdc server and kdc client hosts are able to communicate through FQDN and necessary host entries are updated in /etc/hosts file

KRB_DOMAIN_NAME="TANU.COM"

KDC_PASSWD=kdc123 ADMIN_PASSWD=admin123 KDC_SERVER=krbserver.tanu.com

On KDC server host, run below command

./install_mit_kerberos.sh server

On KDC client host, run below command

./install_mit_kerberos.sh client

On kdc host run below command to create test user principle using root account

kadmin.local -q " addprinc -pw user123 user1"

verify user1 account in kdc client server by running below command

[root@krbcln1 kerberos-setup]# kinit user1 Password for [email protected]:

[root@krbcln1 kerberos-setup]# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: [email protected]

Valid starting Expires Service principal 05/12/2018 18:29:00 05/13/2018 04:29:00 krbtgt/[email protected] renew until 05/13/2018 18:28:56

mit-kerberos-installation's People

Contributors

skumarx87 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.