• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

newUsers

Some times there will be a requirement for adding multiple users on servers. Using adduser/useradd command we can not create multiple user accounts in one shot. We can write a shell script to do this. But there is no need to write a script for this. There is an inbuilt Linux command called newusers which is used to create multiple users in batch mode. We will see both in this post.

Scenario 1: I want … Continue Reading

Posted by Surendra Anne On Sunday-Aug - 7 - 2011 6 Comments READ FULL POST
password_file_linux_explained

The linux password file location is in /etc. The password file has all the information you need to know about a user such as his username, UID, GID etc. There is one saying… if a beginner in Linux is able to create an entry in passwd file and create a user without using useradd command, he can do anything he wants on a Linux box to carry out something. There are total 7 fields in … Continue Reading

Posted by Surendra Anne On Wednesday-Jun - 1 - 2011 8 Comments READ FULL POST

Q. I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux?

Ans : Here is the script to check the account expires of the users in Linux

#Created on:09-02-2010
#Last modified:02-05-2010
#Purpose:To check the user account status in Linux
#Author:Surendra Kumar Anne
#The below command will grep all the users in shadow file
#whose expiry … Continue Reading
Posted by Surendra Anne On Tuesday-Feb - 22 - 2011 1 Comment READ FULL POST

email newsletter

Redhat Flagship dist

Redhat announced that they are going to release RHEL7 by ...

12 examples to use f

Flower brackets examples This is a small post on how to ...

7 Linux read command

read command examples read command is useful in scripts when reading ...

7 linux sort command

Linux/Unix sort command examples This is a small tutorial on how ...

How to find command

How to find command location in Linux and Unix This is ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »