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)
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)
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)
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)
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)
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)
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)
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)
:(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 HPUX
wtmp
utmp(4) Kernel Interfaces Manual utmp(4)NAME
utmp, wtmp, btmp - user login record format
SYNOPSIS DESCRIPTION
These files, which hold user and accounting information for such commands as and (see last(1), who(1), write(1), and login(1)), have the
following structure as defined by
#define UTMP_FILE "/etc/utmp"
#define WTMP_FILE "/var/adm/wtmp"
#define BTMP_FILE "/var/adm/btmp"
#define ut_name ut_user
struct utmp {
char ut_user[8]; /* User login name */
char ut_id[4]; /* /etc/inittab id(usually line#)*/
char ut_line[12] /* device name (console, lnxx) */
pid_t ut_pid; /* process id */
short ut_type; /* type of entry */
struct exit_status
short e_termination; /* Process termination status*/
short e_exit; /* Process exit status*/
} ut_exit; /* The exit status of a process*/
/* marked as DEAD_PROCESS.*/
unsigned short ut_reserved1; /* Reserved for future use*/
time_t ut_time; /* time entry was made*/
char ut_host[16]; /* host name,if remote*/
unsigned long ut_addr; /* host Internet addr, if remote*/
};
/* Definitions for ut_type */
#define EMPTY 0
#define RUN_LVL 1
#define BOOT_TIME 2
#define OLD_TIME 3
#define NEW_TIME 4
#define INIT_PROCESS 5 /* Process spawned by "init" */
#define LOGIN_PROCESS 6 /* getty process awaiting login */
#define USER_PROCESS 7 /* A user process */
#define DEAD_PROCESS 8
#define ACCOUNTING 9
#define UTMAXTYPE ACCOUNTING /* Max. legal value of ut_type */
/* Special strings or formats used in the "ut_line" field */
/* when accounting for something other than a process */
/* No string for the ut_line field can be more than */
/* 11 chars + a NULL in length */
#define RUNLVL_MSG "run-level %c"
#define BOOT_MSG "system boot"
#define OTIME_MSG "old time"
#define NTIME_MSG "new time"
File contains a record of all users logged onto the system. File contains bad login entries for each invalid logon attempt. File contains
a record of all logins and logouts.
Note that and tend to grow without bound, and should be checked regularly. Information that is no longer useful should be removed periodi-
cally to prevent it from becoming too large. Also note that and are not created by the programs that maintain them. Thus, if these files
are removed, record-keeping is turned off.
FILES AUTHOR
and were developed by HP and the University of California, Berkeley.
SEE ALSO last(1), login(1), who(1), write(1), acctcon(1M), fwtmp(1M), utmpd(1M), getut(3C), getuts(3C), getutx(3C).
STANDARDS CONFORMANCE
TO BE OBSOLETED utmp(4)