11-28-2006
Log all connecting users
How can I log all connecting users an log it to a file?
For example:
The user 'megan' login to the machine 'client1' with rlogin.
How and where can I see that she used the rlogin protocol and that her username is megan?
Help..!
/Tonlu
10 More Discussions You Might Find Interesting
1. AIX
How to set a timer for log out users that have been idle for a long time? It is a AIX 5L (0 Replies)
Discussion started by: wtofu
0 Replies
2. UNIX for Dummies Questions & Answers
hi....
how i can configurator a log file on real time....on unix solaris....
thanks a lot....
Best Regards... (3 Replies)
Discussion started by: chanfle
3 Replies
3. UNIX for Dummies Questions & Answers
hi all...
only one question....
what is the file...where show me records login and logout of the unix user's..??
thank you....
I waiting for response... (1 Reply)
Discussion started by: chanfle
1 Replies
4. UNIX for Dummies Questions & Answers
Guys i am new in forum and come to ask some help in this. What i want is to log what users are doing. Someone told me to make a script and get the history commands of all users and storage this in a DB. but the problem in this is, i want to log all things. Why this? why my 2 machines is only a... (4 Replies)
Discussion started by: Amgrim
4 Replies
5. Solaris
Hello,
I'm scurying a server and I'm trying to control what users are using rcp to copy files right now. I've tried to find in last, but it doesn't log there, searched in Sun documentation, so I cannot anywhere telling were rcp stores a log with the users logins. Do you know if is there one and... (1 Reply)
Discussion started by: nefeli
1 Replies
6. UNIX for Advanced & Expert Users
I need to list all the failed log in users as part of audit report. How can I do so in Linux to find all the audit log records and then upload to a table for future reference. I am using oracle 10g on Linux. Hope I will get a quick response from the experts.
Thanks in advance for the tips. (3 Replies)
Discussion started by: oraQ
3 Replies
7. Shell Programming and Scripting
how do i start with this guys?
Sample run:
$ LOGTIME it2015678 <enter>
User it2015678 is CRUZ Tommy H
And has logged on to the system for:
8 hours
12 minutes
from the time this script was run. (1 Reply)
Discussion started by: skypigeon
1 Replies
8. Shell Programming and Scripting
Hi,
please provide the steps/commands to find out the user id list who accessed server before i logon same server.
Thank you very much ffor all your support. (2 Replies)
Discussion started by: sridhardwh
2 Replies
9. Shell Programming and Scripting
I have this task : Check the logintime.txt every minute to only allow user to log in at the specified time.
logintime.txt has the following content: USER TIME_START TIME_STOP
Example:
john 17:00 18:00
My idea is locking the user at the TIME_STOP and unlocking at the TIME_START
while... (4 Replies)
Discussion started by: muffle
4 Replies
10. Ubuntu
I have a user who's having troubles logging into one of my servers, that is authenticating with AD. After glancing over /etc/passwd, I found the users account is different than mine and others who aren't having any issues. What's the difference between these two accounts? What's the "1 60 14 60" ?... (1 Reply)
Discussion started by: Nvizn
1 Replies
LEARN ABOUT NETBSD
rlogin
RLOGIN(1) BSD General Commands Manual RLOGIN(1)
NAME
rlogin -- remote login
SYNOPSIS
rlogin [-468Ed] [-e char] [-l username] [-p port] host
rlogin [-468Ed] [-e char] [-p port] username@host
DESCRIPTION
rlogin starts a terminal session on a remote host host.
rlogin first attempts to use the standard Berkeley rhosts authorization mechanism. The options are as follows:
-4 Use IPv4 addresses only.
-6 Use IPv6 addresses only.
-8 The -8 option allows an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote
side's stop and start characters are other than '^S/^Q'.
-E The -E option stops any character from being recognized as an escape character. When used with the -8 option, this provides a
completely transparent connection.
-d The -d option turns on socket debugging (see setsockopt(2)) on the TCP sockets used for communication with the remote host.
-e char The -e option allows user specification of the escape character, which is ``~'' by default. This specification may be as a
literal character, or as an octal value in the form
nn.
-l username the -l option specifies an alternate username for the remote login. If this option is not specified, your local username will
be used.
-p port Uses the given port instead of the one assigned to the service ``login''. May be given either as symbolic name or as number.
A line of the form ``<escape char>.'' disconnects from the remote host. Similarly, the line ``<escape char>^Z'' will suspend the rlogin ses-
sion, and ``<escape char><delayed-suspend char>'' suspends the send portion of the rlogin, but allows output from the remote system. By
default, the tilde (``~'') character is the escape character, and normally control-Y (``^Y'') is the delayed-suspend character.
All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S/^Q and flushing of
input and output on interrupts are handled properly.
ENVIRONMENT
The following environment variable is used by rlogin:
TERM Determines the user's terminal type.
SEE ALSO
rcmd(1), rsh(1), rcmd(3), hosts.equiv(5), rhosts(5), environ(7)
HISTORY
The rlogin command appeared in 4.2BSD.
BUGS
More of the environment should be propagated.
BSD
July 16, 2005 BSD