LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 10-11-2009, 09:55 PM   #1
newbie01.linux
LQ Newbie
 
Registered: Oct 2009
Posts: 15

Rep: Reputation: 0
Post Alternative to the script command ... ???


Hi,

We are wanting to have some sort of a Linux/UNIX evaluation and want to be able to trap commands ran by the prospective candidate?

We've thought about inserting the script command in the login profile. That seems to work even though there is some binary character on the output of the script command and it does seem a little bit out of whack if the user uses vi.

Is there anyway around this or is there an alternative to using the script command?

Any response will be very much appreciated. Thanks in advance.
 
Old 10-11-2009, 11:40 PM   #2
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 282

Rep: Reputation: 45
you could look at rootsh although used for sudo normally it might give you what you need.
It logs all output/commands etc to syslog.

Last edited by FragInHell; 10-11-2009 at 11:41 PM. Reason: still learning to type.
 
Old 10-12-2009, 11:20 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,743
Blog Entries: 54

Rep: Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972
Quote:
Originally Posted by FragInHell View Post
It logs all output/commands etc to syslog.
Or to file: it's configurable.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
busybox command works, same command within script says permission denied jeroenv Linux - Newbie 2 01-17-2009 03:58 AM
Alternative to host command for users ? frenchn00b Linux - General 2 05-06-2008 06:53 PM
Is there an alternative command for "ipmasqadm" on Fedora Core 6? bluntvillan Linux - Networking 1 02-24-2008 01:14 AM
Alternative command for ls --full-time atul_sp Linux - General 3 01-18-2008 05:23 PM
QUOTA Command alternative? Echo Kilo Linux - General 1 11-15-2004 02:26 AM


All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration