Find Jobs
Hire Freelancers

Script to keep an eye on users shell activity.

$30-100 USD

Opravljeno
Objavljeno pred skoraj 22 leti

$30-100 USD

Plačilo ob dostavi
I need a script to grep /home/*/.bash_history and look for keywords or other users usernames. If it finds one of the keywords/usernames email me and make a copy of the .bash_history file. This is what I see the script doing. 1. get a list of users from /etc/passwd 2. search for /home/eachuser/.bash_history 3. When it finds .bash_history grep it for each keyword and the other usernames. Basically looking for the other usernames to make sure they are not messing with other users files. I would also like it to take different actions when it finds different keywords. [login to view URL] if it finds a keyword from this list it will: chsh /bin/false 2. If it finds a keyword from this list it will: /scripts/suspendacct 3. If found on this list it will just email. I would also like 3 to 5 more keyword lists that if the keyword is found it will run another script such as /scripts/something This will give me options for the future. I will also need a place to put a list of usernames 1. not to check at all 2. to check but not chsh or suspend. 3. chsh if any keywords/usernames are found if the keyword is in the suspend list just suspend the account. 4. suspend if any keywords/usernames are found 5. A list of users who's .bash_history needs to be checked but don't check other users .bash_history for their username. If their username is "ls" it would be found in every .bash_history file. It needs to be easy to configure. Everything at the top of the script or a separate config file. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ## Platform linux ## Deadline information 9/15/2002
ID projekta: 2865243

Več o projektu

20 ponudb
Projekt na daljavo
Aktivno pred 22 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
See private message.
$34 USD v 14 dneh
5,0 (4 ocen)
4,0
4,0
20 freelancerjev je oddalo ponudbo s povprečno vrednostjo $43 USD za to delo
Avatar uporabnika
See private message.
$59,50 USD v 14 dneh
5,0 (620 ocen)
7,7
7,7
Avatar uporabnika
See private message.
$21,25 USD v 14 dneh
4,9 (211 ocen)
6,4
6,4
Avatar uporabnika
See private message.
$46,75 USD v 14 dneh
5,0 (59 ocen)
5,2
5,2
Avatar uporabnika
See private message.
$85 USD v 14 dneh
5,0 (11 ocen)
3,8
3,8
Avatar uporabnika
See private message.
$85 USD v 14 dneh
4,5 (9 ocen)
3,3
3,3
Avatar uporabnika
See private message.
$63,75 USD v 14 dneh
5,0 (12 ocen)
1,9
1,9
Avatar uporabnika
See private message.
$42,50 USD v 14 dneh
5,0 (2 ocen)
1,3
1,3
Avatar uporabnika
See private message.
$42,50 USD v 14 dneh
5,0 (2 ocen)
1,2
1,2
Avatar uporabnika
See private message.
$20,02 USD v 14 dneh
5,0 (2 ocen)
0,5
0,5
Avatar uporabnika
See private message.
$46,75 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$42,50 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$17 USD v 14 dneh
0,0 (1 ocena)
0,0
0,0
Avatar uporabnika
See private message.
$42,50 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$38,25 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$42,50 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$25,50 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$34 USD v 14 dneh
0,0 (1 ocena)
0,0
0,0
Avatar uporabnika
See private message.
$42,50 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
See private message.
$21,25 USD v 14 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
Boone, United States
5,0
16
Plačilna metoda je verificirana
Član(ica) od mar. 4, 2002

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.