Logging shell commands and send it out


 
Thread Tools Search this Thread
Special Forums Cybersecurity Logging shell commands and send it out
# 8  
Old 08-23-2009
Quote:
Originally Posted by fpmurphy
Second, you obviously did not read the post.
Apparently it can do remote TCP or UDP, I must have read over that. But with syslogging I mean using a facility/prio combo as in 'man 3 syslog' like the others do. I suppose I should have been more specific there.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to Send AT Commands to mgetty?

Hello All, I've been working on something which requires a dialup USB Modem. I have been using minicom with success entering "AT Commands" directly into the terminal window that shows after running the minicom command. I had already configured the modem through minicom and was able to... (2 Replies)
Discussion started by: mrm5102
2 Replies

2. Linux

send remote commands to windows machine?

hey guys, I've done some searching and other than winexe I haven't been able to find a way to send remote commands to a windows machine. The problem I get is with winexe whenever you send the process to the background in a script, I get the following error. :wall: Any help is appreciated! ... (0 Replies)
Discussion started by: terrell
0 Replies

3. Shell Programming and Scripting

can i send shell commands to a open window

i want to write a script that automatically fills in a form and pushes a few buttons. can i do that with bash or something similar? (1 Reply)
Discussion started by: magiling
1 Replies

4. Shell Programming and Scripting

logging into server and excute commands

hi all, I am new to unix and unix scipting. i need a script to logging into servers and to excute some commands in each server. for eg : I tried with below script ,but cant get the desired o/p. please help with this for i in `cat serverlist` do echo $i ssh $i uname -a ; cat... (4 Replies)
Discussion started by: sudharson
4 Replies

5. Shell Programming and Scripting

Make ssh and send commands

Hi, I'm trying to make an SSH into a SGSN node and collect some commands printouts.:confused: I really don't know how this can be done. I think it must be like this: #!/bin/bash ssh user@192.168.88.10 Then I must enter the password, but I don't know how to do it, I tried with: echo... (3 Replies)
Discussion started by: nagomes
3 Replies

6. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

7. Shell Programming and Scripting

How to send AT commands after getting into Kermit window?

We're using Kermit 8.0.209 in Linux environment. We're trying to invoke kermit from an application, send some AT commands and receive the responses from the End terminals like mobiles/modems. We access these deivces through serial ports. For eg., to send a file we use command-line options like... (4 Replies)
Discussion started by: pratiul
4 Replies

8. Shell Programming and Scripting

HELP: Need to send commands to Program

Hi, I am an absolute beginner in Unix and I need to send a commands to a program I have created a script that will let me login to the program, however, i cannot get the script to send commands to this program. When the cript logs into the program, the display/ prompt is as follows: 1>... (1 Reply)
Discussion started by: the_m4ch1ne
1 Replies

9. Solaris

Logging commands and output

I'm looking for a CLI utility that will capture all the commands you type at the Solaris CLI (and their output) into a file. I'm sure it's called "scripter", but I can't find anything on a command called scripter. Does anyone know of a such a command? Your help will be greatly... (3 Replies)
Discussion started by: soliberus
3 Replies

10. UNIX for Advanced & Expert Users

Logging all commands after a sudo su-

Hi there, It might seem tricky, I confess. We use sudo to allow people to initiate priviledged commands (but not all commands) on our Unix systems. To by pass this, some people initiate the sudo su - command ; The main issue is to 'know' what those people do when they gain root access.... (4 Replies)
Discussion started by: linuxmtl
4 Replies
Login or Register to Ask a Question
pop3d(8)						      System Manager's Manual							  pop3d(8)

NAME
pop3d - POP3 server SYNOPSIS
/usr/sbin/pop3d [-d] [-s] [-t trace-file] [-T timeout] OPTIONS
Sets the socket to debugging and turns on debugging. All debugging information is saved using syslogd. Turns on statistics logging using syslogd(8). At the end of each pop3d session, the following information is logged: username, number of messages deleted, number of bytes deleted, number of message left on server, number of bytes left on server. Turns on debugging and saves the trace information in trace-file using the fprintf(3) command. When the server is waiting for a command to arrive from the client, it times out after the speci- fied number of seconds and terminates the session. This avoids having pop3d processes hang forever waiting for command input from clients which have terminated abnormally. A small value is acceptable for small to medium networks where the network delay is within a few seconds. In this case 15-30 seconds is not unreasonable. Networks with large delays in sending packets (for example, SLIP links) may require a larger value. In this case 300 seconds (5 minutes) is not unreasonable. DESCRIPTION
The pop3d server is an implementation of the Post Office Protocol Version 3 from Qualcomm, Incorporated. It provides remote users with the ability to manage electronic mail on a UNIX system. Authentication The operating system supports the following types of authentication for the pop3d server: UNIX authentication using the /etc/passwd file, Authenticated POP (APOP), and enhanced security using C2. The default is UNIX authentication. To enable APOP authentication for a user, you must add the user to the mailauth database. See mailauth(8) and the Network Administration guide for more information. To use C2 secure authentication, you must configure your system to use C2 security. See secconfig(8) and the Security guide for more infor- mation. Logging The pop3d server uses the syslog daemon to keep a record of its activities. Messages are logged in the /var/adm/syslog.dated/date/mail.log file. Debugging The pop3d program will log debugging information when the -d parameter is specified after its invocation in the inetd.conf file. Care should be exercised in using this option since it generates considerable output in the mail.log file. Alternatively, the -t file-name option will place debugging information into file file-name using fprintf instead of syslog. You can confirm that the POP server is running by opening a telnet session to port 110. For example: % telnet myhost 110 Connected to myhost.berkeley.edu. Escape character is '^]'. +OK UCB Pop server (version 1.6) at myhost starting. quit +OK Pop server at myhost.berke- ley.edu signing off. Connection closed by foreign host. Extensions The server implements two extended commands: XTND XMIT Sends a mail message using /usr/sbin/sendmail. XTND XLIST header [num] Extracts and returns the specified header line for the specified message number. If the num parameter is missing, the command returns the header line for all the messages that are not currently marked for deletion. RESTRICTIONS
Note that this implementation of Qualcomm's POP3 server does not support Server Mode, Kerberos authentication, or the bulletin feature. FILES
mail files POP program invocation mail logging file SEE ALSO
Commands: inetd(8), mailauth(8), mailusradm(8), secconfig(8) Network Administration pop3d(8)