08-31-2005
History command
I am working on solaris and audit is not configured on server.
I get last commands used on server by HISTORY command, but I want some extra information like by which user command fired & by which host id
Because same time we have many people use one login & fire commands
& want History command with above information.
Please if any body can help me to do so without using audit
AKASH
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I am using ksh shell, and I am unable to use the command !n (where n is the number in the history list).
Please help me...
:confused: (2 Replies)
Discussion started by: jack
2 Replies
2. UNIX for Dummies Questions & Answers
Dear all,
I am using solaris 6 O.S. and root previlege.I want to know how to get history of commands given by diff. users logged into the server.
I know that history command gives the list of previous commands for that particular log in session. In the simillar manner can I get simillar history... (3 Replies)
Discussion started by: vikasdeshmukh
3 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone,
I am aware about the history command we use in bash. Just had a question regarding the history of commands. Is there any way i can limit my commands to be remembered or is there any way to delete the commands used by myself? Thank you (8 Replies)
Discussion started by: a25khan
8 Replies
4. Shell Programming and Scripting
in my system history command is set to 60
how to remove all the command status even if i give history command.
i mean:
if i give history command in unix it should not show anything.........how to achieve this (2 Replies)
Discussion started by: ali560045
2 Replies
5. Shell Programming and Scripting
Hi all experts,
I want to see all the command that is typed in the server 3 days ago. I typed HISTORY command but it does not show all the things. The reason is my senior DBA could see all the commands ran in the server 3 days ago but i cannot see. Please let me know is there anyway i can view... (6 Replies)
Discussion started by: ma466
6 Replies
6. UNIX for Dummies Questions & Answers
How do you look at the whole list of previous commands you have used in VI? I know you can use the up and down arrows, but I know there's a way to see the full list. (5 Replies)
Discussion started by: cokedude
5 Replies
7. UNIX for Dummies Questions & Answers
hi,
i had to submit a project into a directory. i copied it from my location to the specified folder, no problemo.
just one thing though.
after i copied and searched for the time i copied using the history command, the system would not show. even using the up arrow key would not display my... (0 Replies)
Discussion started by: iluvsushi
0 Replies
8. UNIX for Advanced & Expert Users
Hi,
I want the command which has to tell all the commands used in different terminals of same Unix box.
Command "history" will give the commands used in the same terminal.
Advance thanks for your response. (1 Reply)
Discussion started by: senkerth
1 Replies
9. UNIX for Dummies Questions & Answers
Can anyone tell this:
If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used.
Thanks in advance for your help.
Iamnew2solaris (1 Reply)
Discussion started by: iamnew2solaris
1 Replies
10. UNIX for Dummies Questions & Answers
hi
i want to show my history command in UNIX solaris ( bash shell ),,
i tried this command ( HISTTIMEFORMAT="%d/%m/%y %T " )
but it's not working with me ,, is there any restricted condition to do this command
any one know why it's not working to me ..
thanks (10 Replies)
Discussion started by: mondo32
10 Replies
LEARN ABOUT SUNOS
asadmin-create-audit-module
asadmin-create-audit-module(1AS) User Commands asadmin-create-audit-module(1AS)
NAME
asadmin-create-audit-module, create-audit-module - adds an audit-module
SYNOPSIS
create-audit-module --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive=true] --classname realm_class [--property (name=value)[:name=value]*] audit_module_name
Adds the named audit module for the plugin module that implements the audit capabilities. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--classname Java class which implements this realm.
--property optional attributes name/value pairs of provider implementation specific attributes.
OPERANDS
audit_module_name name of this audit module.
Example 1: Using create-audit-module
asadmin> create-audit-module --user admin1 --password adminadmin1
--host pigeon --port 5001 --classname com.sun.appserv.auditmodule
--property defaultuser=admin:Password=admin sampleAuditModule
Command create-audit-module executed successfully
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-audit-module(1AS), asadmin-list-audit-modules(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-audit-module(1AS)