06-16-2005
utmp ACCOUNTING
the utmp.h ACCOUNTING macro is set to 9 on my system.
my question is: what "accounting" is it referring to?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
could probably help me with a unix problem.
Basicallyu, when the users try to connect to the server they get this messge:
No UTMP entry. you must exec "LOGIN" from the lowest level "sh"
They are connecting using a windows emulator called TINYTERM.
We cannot connect from the console either... (3 Replies)
Discussion started by: jernesto_diaz
3 Replies
2. SCO
I am tring to recover a SCO system remotely, when I try to login with multiple user support, i get the following message
No UTPM entry, you must execute from the lowest level (sh)
Can anyone shed some light on this issue. I have never came seen this error before.
Also it will allow me to... (1 Reply)
Discussion started by: scott_williams1
1 Replies
3. Solaris
Solaris 8 E420R, 4CPU, 4GB.
We get the following message in /var/adm/messages:
Feb 22 04:39:43 hostname See utmp(4) for more information
Feb 22 05:39:43 hostname /usr/lib/utmpd: WARNING
: /var/adm/utmp exists!
So I followed the instructions and saw that
DESCRIPTION
The utmp and... (2 Replies)
Discussion started by: dangral
2 Replies
4. AIX
Hi All,
if someone know where I can set dimension of utmp log files like
wtmp
failedlogin
sulog in an AIX system.
These are called security logs and they can reach a max amount in day or MB, where can I steady their size ?
thanks in advance. (2 Replies)
Discussion started by: Carmen123
2 Replies
5. UNIX for Advanced & Expert Users
In a frequent interval the system bootup is not updating the /etc/utmp file with the system boot details.
This leads to blank output of who - b command.
What can be the reason for the same? (1 Reply)
Discussion started by: jyoti_mil
1 Replies
6. Programming
Given the following:
#include <string.h>
#include <stdlib.h>
#include <pwd.h>
#include <unistd.h>
#include <utmp.h>
#include <stdio.h>
#include <time.h>
int main(int argc, char *argv)
{
struct utmp entry;
char *fd;
system("echo before adding entry:;who");
... (1 Reply)
Discussion started by: frequency8
1 Replies
7. Cybersecurity
How do I enable System Accounting on Solaris 8? In Solaris 7 I would copy the /usr/lib/acct file to S22acct and start it like that. That doesn't seem to be an option in Solaris 8.
Thanks for your help! (2 Replies)
Discussion started by: pc9456
2 Replies
8. UNIX for Dummies Questions & Answers
Hi.
I am working on a small assignment where i need to extract the login information of currently logged in users in a Linux client-server environment.I am able to extract only the userID,IP/HOST name,TTY,device name,GID,PID and login time using the structure 'utmp'.Also when i am saving the... (2 Replies)
Discussion started by: maverixxx
2 Replies
9. UNIX for Dummies Questions & Answers
When i run #acctadm command it shows it as inactive but /var/adm/pacct file has todays date such as
-rw-r--r-- 1 adm adm 182397160 Mar 25 15:48 pacct
# acctadm
Task accounting: inactive
Task accounting file: none
Tracked task resources: none
Untracked... (5 Replies)
Discussion started by: Tirmazi
5 Replies
10. Solaris
:(Dear Solaris Experts,
The file /var/adm/utmpx is steadily growing on our standbye Sun Sparc T5220 Solaris 10 server. I have tried everything such as the following steps without success:
root@rainbow # uname -a
SunOS rainbow 5.10 Generic_141444-09 sun4v sparc... (2 Replies)
Discussion started by: gjackson123
2 Replies
LEARN ABOUT DEBIAN
utmpset
utmpset(8) System Manager's Manual utmpset(8)
NAME
utmpset - logout a line from utmp and wtmp file
SYNOPSIS
utmpset [ -w ] line
DESCRIPTION
The utmpset program modifies the user accounting database utmp(5) and optionally wtmp(5) to indicate that the user on the terminal line has
logged out.
Ordinary init(8) processes handle utmp file records for local login accounting. The runit(8) program doesn't include code to update the
utmp file, the getty(8) processes are handled the same as all other services.
To enable local login accounting, add utmpset to the getty(8) finish scripts, e.g.:
$ cat /service/getty-5/finish
#!/bin/sh
exec utmpset -w tty5
$
OPTIONS
-w wtmp. Additionally to the utmp file, write an empty record for line to the wtmp file.
EXIT CODES
utmpset returns 111 on error, 1 on wrong usage, 0 in all other cases.
SEE ALSO
sv(8), runsv(8), runit(8), runit-init(8) runsvdir(8), runsvchdir(8), chpst(8), svlogd(8), getty(8)
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
utmpset(8)