Subscribe For Free Updates!

We'll not spam mate! We promise.

Showing posts with label Permission. Show all posts
Showing posts with label Permission. Show all posts

Sunday, 11 May 2014

Scheduling a Cron Job


Hello Guys in this session i am going to tell you about Cron Job.
Cron job is similar like schedule task in windows,this program give you ability to execute a command or a script with a sequence of commands, at a specified date , time or at set intervals.

Although the package is installed by default, check to make sure it is installed on your system

#rpm -qa | grep cron

if. for some reason the package not installed, you can install the same via this command

# yum install -y cronie cronie-anacron crontabs

you also need to look at the config file that

/etc/cron.deny
if this file empty, all users are allow to create cron job.

 Before you start using the crontab command, however, you should look at the cron field description so you better understand how to create and edit cron job.

 ***** command_to _execute

 each star denotes Minute Hour Day_of_Month Month Day_of Week

 Minute = Minute of the hour, 00 to 59. * Will indicate   every minute

 Hour = Hour of the day in 24-hour format, 00 to 23. * Will indicate every hour

 Day = Day of the month, 1 to 31. * Will indicate every day

 Month = Month of the year, 1 to 12. * Will indicate every month

 Day = Day of the week, 3 chars - sun, mon, tue, or numeric (0=sun, 1=mon etc).... * Will indicate every day

 Task = The command you want to execute






Saturday, 15 February 2014

ACL Permission on Linux



Hello Friend’s I am back again with new topic, in this session I am going to talk about ACL,

The Access Control List (ACL) advanced permission feature, through this you can specify permissions for each user and group in your system.

Lets suppose in your company have multiple department like sales, marketing, HR,

Now sales department need to share some files with HR department but not with marketing in this case ACL help us to set access permission in HR department only..



Add Permission on Folder




Now i am going to show you how to add permission by group