08-09-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: I receive the following error message when I try to logon to my Solaris 2.6 system;
"No utmpx entry. You must exec "login" from lowest level "shell" "
What does it mean ? I can't logon to the system at the moment!
Any help appreciated.
Regards (3 Replies)
Discussion started by: boristhespider
3 Replies
2. UNIX for Dummies Questions & Answers
I run my nightly backup thru a crontab job. Is there any way to get the message to mount a new tape to the console? Currently it appears to go to an email. (1 Reply)
Discussion started by: aixhelp
1 Replies
3. Solaris
Dear Frnz
I have a solaris box with running 5.8
My default window manager is CDE.When i login as a normal user and try to open console it is vanishing quickly.
When i check the logs the message is
Wed Nov 21 19:27:03 2007 (/usr/dt/bin/dtexec) /usr/dt/bin/dtterm
/dev/console: Permission... (1 Reply)
Discussion started by: sriram.s
1 Replies
4. UNIX for Dummies Questions & Answers
How can I send a message for all the users connected into the system at the same time? Let's say I need to reboot the server and I ask the users to save their jobs becasue the server will be rebooted? (5 Replies)
Discussion started by: agasamapetilon
5 Replies
5. Shell Programming and Scripting
Hi all,
I have a requirement, where I need to do some calculations and based on the results I need to write a message to the user from a shell script.
Is it possible to `write' inside the script? Something like the below one..
#! /bin/ksh
write user12 << EOF
Hello World
<<EOF
For... (2 Replies)
Discussion started by: guruparan18
2 Replies
6. AIX
Hi,
What is the diference between these two ?
thanks
Vilius (3 Replies)
Discussion started by: vilius
3 Replies
7. AIX
I'm trying to create an automated script, which (I feel) needs to be able to map local processes of a certain program with certain remote hosts. The script will know which remote host and local program it will be looking for during the mapping. Essentially the goal is to programmatically pull which... (3 Replies)
Discussion started by: thmnetwork
3 Replies
8. Solaris
Is there a utility built into Solaris that will allow me to see console messages from a tty?
I've done a search and see that this is possible through software like ILOM, but I'm looking for a method to do this with built in utilities.
For example, on AIX, I can use swcons `tty` (6 Replies)
Discussion started by: makodarear
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Sun Solaris. I am working on the console, I have pulled the network cable out. I am in the process of changing the IP address and few others thing. But this message comes every few seconds.
SUNW,hme0: Link Down - cable problem?
SUNW,hme0: Link Down - cable problem?
It's very... (2 Replies)
Discussion started by: samnyc
2 Replies
10. Shell Programming and Scripting
Hi All,
Whenever I login to server via console, after providing username (root) it displays a banner message. I want to remove this message
Serverabc : root
Welcome to Server !!!
Password:
It is Centos 5.4 box.
I have checked /etc/issue and /etc/motd. It does not... (8 Replies)
Discussion started by: kalpeer
8 Replies
LEARN ABOUT OPENDARWIN
last
LAST(1) BSD General Commands Manual LAST(1)
NAME
last -- indicate last logins of users and ttys
SYNOPSIS
last [-n] [-f file] [-h host] [-t tty] [user ...]
DESCRIPTION
Last will list the sessions of specified users, ttys, and hosts, in reverse time order. Each line of output contains the user name, the tty
from which the session was conducted, any hostname, the start and stop times for the session, and the duration of the session. If the ses-
sion is still continuing or was cut short by a crash or shutdown, last will so indicate.
-f file Last reads the file file instead of the default, /var/log/wtmp.
-n Limits the report to n lines.
-t tty Specify the tty. Tty names may be given fully or abbreviated, for example, ``last -t 03'' is equivalent to ``last -t tty03''.
-h host Host names may be names or internet numbers.
If multiple arguments are given, the information which applies to any of the arguments is printed, e.g., ``last root -t console'' would list
all of ``root's'' sessions as well as all sessions on the console terminal. If no users, hostnames or terminals are specified, last prints a
record of all logins and logouts.
The pseudo-user reboot logs in at reboots of the system, thus ``last reboot'' will give an indication of mean time between reboot.
If last is interrupted, it indicates to what date the search has progressed. If interrupted with a quit signal last indicates how far the
search has progressed and then continues.
FILES
/var/log/wtmp login data base
SEE ALSO
lastcomm(1), utmp(5), ac(8)
HISTORY
Last appeared in 3.0BSD.
4th Berkeley Distribution June 6, 1993 4th Berkeley Distribution