Skip to main content

Posts

Showing posts with the label CentOS

ssh authentication with kerberos

This documentation have been tested on CentOS 7. Install KDC # yum install -y krb5-server krb5-workstation pam_krb5   Hostname and resolving Set your hostname   # hostnamectl set-hostname hanthana.ucsc.com verify your hostname # hostname Your domain should resolve. In case if you do not use dns service.. [danishka@kdc ~]$ cat /etc/hosts 192.168.1.101 hanthana.ucsc.com 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 Server Configuration # ls /var/kerberos/krb5kdc/ kadm5.acl kdc.conf   ACL grant all privileges to anyone with admin role.  Replace EXAMPLE.COM with your realm.   # cd /var/kerberos/krb5kdc/ # cat kadm5.acl */admin@UCSC *   # cat kdc.conf [kdcdefaults] kdc_ports = 88 kdc_tcp_ports = 88 [realms] UCSC.COM = { #master_key_type = aes256-cts acl_file = /var/kerberos/krb5kdc/kadm5.acl dict_file = /usr/share/dict/words admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab ...

How to install Stride on Fedora RHEL CentOS

Stride is the complete communication solution that empowers teams to talk less and do more. It's everything teams need to stay connected but keep moving. Stride is a new kind of messaging that:  Turns conversations into action with integrated collaboration tools Brings all the right people together instantly with built-in voice and video conferencing Gives you the space to disconnect when needed so you can get to done, faster Please note that Stride is not an open source tool. Still you can use stride on Fedora, CentOS or RHEL in case if your employer asked to use stride. 01. Create yum repo file sudo cat /etc/yum.repos.d/stride-yum-repo.repo [stride-yum-repo] name=Repo for Atlassian Stride baseurl= https://packages.atlassian.com/stride-yum-client gpgcheck=0 gpgkey= https://packages.atlassian.com/stride-yum-client/repodata/repomd.xml.key 02. sudo dnf makecache --repo=stride-yum-repo 03. sudo dnf install stride Now start stride on Fe...

Quick guide to fix your fedora/rhel/centos and Mac from Shellshock bash exploit

Check your Bash version $ bash --version GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13) Copyright (C) 2007 Free Software Foundation, Inc. Run this following commend on your terminal to find whether your system is vulnerable env x='() { :;}; echo vulnerable' bash -c "echo this is a test" If your system infected by Shellshock you will see the following result. vulnerable this is a test What is the good result?  You don't want worry about Shellshock bug if you see the bellow result in your system bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test For Fedora, RHEL, CentOS $yum update bash -y To fix bash on your mac Update brew $brew update Install bash with $brew install bash Now add  /usr/local/bin/bash to /etc/shells I have tested this on my Mac and updated to bash 4.3.25. seems I am safe. :)

Fedora 8/9 මත සිංහල සහාය

මෙම උපදෙස් Red Hat Enterprise Linux සහ CentOS සඳහාද භාවිතා කල හැක. Fedora 11 මත සිංහල සැකසීම සඳහා උපදෙස් ඔබට Fedora 8/9 මත සිංහල සහාය ලබා ගැනීමට නම්, ක්‍රම දෙකක් ඇත. 01. Fedora 8 / Fedora 9 ස්ථාපන අවස්ථාවේදී. හෝ 02. Fedora 8 / Fedora 9 ස්ථාපනයෙන් පසු අවස්ථාවකදී. 01. Fedora 8 / Fedora 9 ස්ථාපන අවස්ථාවේදී. මෙය ක්‍රම දෙකකට සිදු කල හැක. (අ) මෙහිදි ඔබගේ අභිමත භාෂාව සිංහල ලෙස භාෂා රුචිය විමසන අවස්ථාවේදී සලකුණු කළ විට, එම මොහොතේම ස්ථාපනය ඉංග්‍රිසි මාධ්‍යයේ සිට එක්වරම සිංහලට වෙනස් වන අතර එතැන් සිට ඔබට ඉදිරියට කටයුතු කරගෙන යා හැක. හෝ (ආ) ඔබගේ අභිමතය පරිදි ස්ථාපන කටයුතු ඉංග්‍රිසි භාෂාවෙන්ද කල හැකි අතර, ඒ අනුව අවශ්‍ය මෘදුකාංග තෝරාගන්නා අවස්ථාවේදි සිංහල භාෂා පහසුකම එක් කර ගත හැක. 02. Fedora 8 / Fedora 9 ස්ථාපනයෙන් පසු අවස්ථාවකදී. මෙය ක්‍රම දෙකකට සිදු කළ හැක. (අ) මෙහිදි ඔබට ප්‍රධාන මෙනුව භාවිතා කරමින්, Applications > Add/Remove Software වෙත යන්න. ඉන්පසු පහත දසුනේ පරිදි සිංහල භාෂාව තෝරා ඉදිරියට යන්න. හෝ (ආ) මෙහිදි ටර්මිනලය භාවිතා කරමින් පහත විධාන ලබා දෙන්න. (i) (root පරිශීලක ලෙසට ක්‍රියාත්මක ...