In Progress

Need detailed user report based on 'last' command or 'finger'

What we are after is a shell script that can easily tie into an AppleScript, perhaps.

I am familiar with the 'last' and 'finger' commands and that may be what we need.

It needs to work like this:

1. the command is entered or pasted

2. generates a login/logout record of all users for that machine, minus the reboot & shutdown users

3. comes in a spreadsheet friendly format.

A little background:

All machines are tied to an open (active) directory for login on a Mac OS X server.

We would prefer for the output to come in an e-mail using the sendmail command.

Script can run with or without root permissions.

This script will run on the local machine directly.

So to sum up, we want to be able to run this script, have it gather the information needed (login and logout times only --- for each active directory user) and send as an email to a designated address in a spreadsheet friendly format.

We would like to see this wrapped in an applescript application so we can choose date ranges and execute.

Please ask any questions if clarification is needed.

Skills: Linux, Mac OS, Perl, Shell Script, UNIX

See more: last, command, linux login email, applescript perl, run command linux, shell script perl, record mac, work based report, applescript mac, directly mac, linux need root, report using, active directory 2012, mac applescript, active directory perl, script active directory users, linux server active directory, user address, perl script email output, mac user, mac shell, report information, need reboot, linux mac record, run commands

About the Employer:
( 38 reviews ) St. Petersburg, United States

Project ID: #2512604

Awarded to:

drowcito

Hi, I've done a draft of the script. Please see PM

$30 USD in 1 day
(1 Review)
1.1

2 freelancers are bidding on average $40 for this job

shellnerd007

Think I'm pretty good at scripting. Working for a mojor telecom company & handing it's projects. Trying freelancing as a part time. The task you have isn't big & I can finish in few days. Thanks!

$50 USD in 3 days
(0 Reviews)
0.0