Skip to main content

Posts

Showing posts from October, 2017

Passwordless ssh login

Hello, Thanks for visiting RvKmR.blogspot.in In this blog post, I am explaining about configuring passwordless ssh login. I setup two vms on vagrant environment, name and IP address of respective machines is listed below. I am using image "Ubuntu 14.04.5 LTS " alpha-ubuntu      10.0.0.10 beta-ubuntu        10.0.0.11 At this stage I am logged in to machine alpha-ubuntu. When I login from alpha-ubuntu to beta-ubuntu, it ll ask for password for respective logging in user. lets check it out. vagrant@alpha-ubuntu:~$ ssh beta-ubuntu The authenticity of host 'beta-ubuntu (10.0.0.11)' can't be established. ECDSA key fingerprint is 06:8d:d6:6d:a1:07:8e:19:2d:1a:2e:5c:b8:0a:0b:f5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'beta-ubuntu' (ECDSA) to the list of known hosts. vagrant@beta-ubuntu's password: Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-129-generic x86_64) Last login: Sun Oct 29 09:38

Wheel Users in Linux

Hello, Thanks for visiting RvKmR.blogspot.in In this blog post, I am explaining about Wheel users in Linux. Red Hat release that I am working on is as below.  [ravi@localhost vagrant]$ cat /etc/redhat-release CentOS release 6.9 (Final) An Linux system can have many users like System users, normal users, and admin (root) user. Its common sens that we have is not to share root user credentials with other user, but here is case that we wish to run administrative command by normal user. In that case we need to aware about wheel users group. Let's first understand what is wheel user in Linux and why we needed it. Wheel is one of Linux user group that allow members of that group to run administrative commands those need root access of system, Wheel user facilitate to do that with sudo (superuser do ) privileges. Lets do it on terminal : Add an user and set password [root@localhost vagrant]# useradd ravi [root@localhost vagrant]# passwd rav