05-24-2011
How much data should be in the wtmpx database? More than one week?
In this case, I am the administrator. We're basically using a straight install of Solaris 10. So if it's being aged, it's not on purpose.
Thanks for the help,
LeonD
10 More Discussions You Might Find Interesting
1. Solaris
Help!! I cannot log in. Last command I entered was set REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE. Since rebooting the server I am unable to bring up the OS bebcause 'root' is gone and I am guessing all other users' files. If anyone knows a back door way into server so I can rebuild passwd file I'd... (1 Reply)
Discussion started by: mayewil
1 Replies
2. UNIX and Linux Applications
the method to find out the all the user who are the current user of the system?
i tried with the who. but with that i receive the TTY like something. (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies
3. Shell Programming and Scripting
I have written a script which checks server load and emails me.
I am running into the error:
./load_alert.sh: line 8: ; then
printf "WARNING - cpu load high in xyz server"
fi (2 Replies)
Discussion started by: vsmurali
2 Replies
4. Shell Programming and Scripting
Can you help me in providing the following output or a quite similar to this from a shell script ?
*** Logins Summary Information *****
----------------------------------
Failed Login Attempts for Invalid Accounts
Date Time IP-ADD Account ... (0 Replies)
Discussion started by: linuxgeek
0 Replies
5. HP-UX
Hi
please suggest .. how can i get my original user from which logged in to another server.
my main current login is
$whoami
nitin
ssh nit01@n01
i m going (redirected)to log in below path..
nit01@n01:/home/n01 -> pwd
/home/n01
nit01@n01:/home/n01 ->
on this server i want get... (1 Reply)
Discussion started by: nitindreamz
1 Replies
6. Shell Programming and Scripting
how to find out total number of users logged in a server from uptime . i mean to say i need the total output of unix command . who gives the out put at a particular time . I need at all time from which machine who has connected , (3 Replies)
Discussion started by: amiya.te@gmail
3 Replies
7. UNIX and Linux Applications
Hi,
I am using EXIT command to log out of the server, But this logs me out of the Putty. Is there any way that I can still be present on Putty and just log out of the server.
Every time I have to open a new session of PUTTY for a new server (3 Replies)
Discussion started by: himvat
3 Replies
8. Red Hat
Scenario:
1. Log into a linux server interface as root.
2. Inititiate an SSH session with the server using Putty and a valid user account (e.g. fakeuser).
3. Log into TTY2 of the linux server interface using another valid user account (e.g. faketester).
Issue:
With these three login... (1 Reply)
Discussion started by: walterthered
1 Replies
9. Linux
Scenario:
Log into a linux server interface as root.
Inititiate an SSH session with the server using Putty and a valid user account (e.g. fakeuser).
Log into TTY2 of the linux server interface using another valid user account (e.g. faketester).
Issue:
With these three login sessions,... (8 Replies)
Discussion started by: walterthered
8 Replies
10. Shell Programming and Scripting
Hi ,
when i am logging to the server i need to give input of specific key like k or l or m etc. and then need to put enter. need to use this in script . please assist. (1 Reply)
Discussion started by: rupesh.bombale
1 Replies
LEARN ABOUT NETBSD
loginx
LOGINX(3) BSD Library Functions Manual LOGINX(3)
NAME
loginx, logoutx, logwtmpx -- login utility functions
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <util.h>
void
loginx(const struct utmpx *ut);
int
logoutx(const char *line, int status, int type);
void
logwtmpx(const char *line, const char *name, const char *host, int status, int type);
DESCRIPTION
The loginx(), logoutx(), and logwtmpx() operate on the utmpx(5) database of currently logged in users, and the wtmpx(5) database of logins
and logouts.
The loginx() function updates the /var/run/utmpx and /var/log/wtmpx databases with the information from ut.
logoutx() updates the entry corresponding to line with the type and status from type and status.
logwtmpx() writes an entry filled with data from line, name, host, status, and type to the wtmpx(5) database.
RETURN VALUES
logoutx() returns 1 on success, and 0 if no corresponding entry was found.
SEE ALSO
endutxent(3), utmpx(5)
BSD
September 26, 2002 BSD