Sponsored Content
Full Discussion: Log-Off a user
Operating Systems AIX Log-Off a user Post 75637 by malcom on Tuesday 21st of June 2005 07:16:56 AM
Old 06-21-2005
Hi,

yes with who you see who is looged in to your system ... the same is for finger if installed ...

To 'logout' a user, simply kill the shell of them ...

/malcom
 

10 More Discussions You Might Find Interesting

1. Programming

log user off from c prog

ok, heres what i want i need....well want, hehe... in a program, its a simple menu, i need to log the user running the program off...back to the login prompt. this is not a super user, just a normal account. i know i could just set the program to be the users login shell..but i'd rather do... (1 Reply)
Discussion started by: acromi
1 Replies

2. UNIX for Advanced & Expert Users

User log in info

Hi, I am using SunOS and HP-UX. I am trying to removed user that has not been using the system for a period of time. Is there anyway to find out how long since the last time the user logged on. I know there is command "last" that read from the file /etc/wtmp that hold some of information. ... (1 Reply)
Discussion started by: vtran4270
1 Replies

3. UNIX for Advanced & Expert Users

User logging log

Hi, Does anybody knows is there a way or how to records user logging record? thanks in advance (4 Replies)
Discussion started by: jennifer
4 Replies

4. Shell Programming and Scripting

log out user in script

Hi, I have a script giving option to allow user who run the script log out the server. I used 'exit' when user chose this option. But it didn't work the way I wanted. It only exit the program not the machine. I used 'logout' after 'exit'. Still not working. Anyone has some ideas? Thanks!!! (6 Replies)
Discussion started by: whatisthis
6 Replies

5. UNIX for Dummies Questions & Answers

Doubt User Log

How can I identify usernames on UNIX, when these users don't access the server, they access folders on this server. Is it possible? :confused: (4 Replies)
Discussion started by: DyDyLc
4 Replies

6. HP-UX

HP - New user who cant log on

Hi, Please could you tell me how I can create a new user account on HP-UX who can only sign-on from the console ? Thanks (4 Replies)
Discussion started by: catheram
4 Replies

7. Solaris

New user can not log in

Recently I created new user because I don not wont to use root account as default but when I want to login I can choose Java desktop and after few seconds , system returns me back to login screnn , only root account woks fine (16 Replies)
Discussion started by: microbot
16 Replies

8. Shell Programming and Scripting

User last log

I need know when user was loged last time? So when my user log in his account he will see welcom message: Hello username. Today is: date. Last time You loged on : date. I tried to use comand lastlog -u username but it shows me time from few seconds ago. I need logging one before. ... (1 Reply)
Discussion started by: Budrys
1 Replies

9. UNIX for Beginners Questions & Answers

Tried to change user name, now cannot log in

I have been trying to change my user name and machine name, however now I cannot log in and I am directed as guest. Is there a way to resolve this problem? (33 Replies)
Discussion started by: kristinu
33 Replies

10. Shell Programming and Scripting

Log all the commands input by user at real time in /var/log/messages

Below is my script to log all the command input by any user to /var/log/messages. But I cant achieve the desired output that i want. PLease see below. function log2syslog { declare COMMAND COMMAND=$(fc -ln -0) logger -p local1.notice -t bash -i -- "$USER:$COMMAND" } trap... (12 Replies)
Discussion started by: invinzin21
12 Replies
ruptime(1)						      General Commands Manual							ruptime(1)

NAME
ruptime - Displays the status of each host on a network SYNOPSIS
ruptime [-ar] [-l | -t | -u] ruptime [-ar] [-l | -t | -u] [machinename] The ruptime command displays the status of each host on a local network that is running the rwhod daemon. If machinename is specified, only the status of that machine is displayed. OPTIONS
Includes all users. Without this option, users whose sessions are idle an hour or more are not included. Sorts the list by the load aver- age over 5-, 10-, and 15-minute intervals prior to a server's transmission. The load averages are multiplied by 10 to represent the value in decimal format. Reverses the sort order. Sorts the list by the length of uptime. Sorts the list by the number of users. DESCRIPTION
The status lines are sorted by hostname unless the -l, -t, or -u option is indicated. The status information is provided in packets broad- cast once every 3 minutes by each network host running rwhod. Any activity (such as the power to a host being turned on or off) that takes place between broadcasts is not reflected until the next broadcast. Hosts for which no status information is received for 11 minutes are reported as down. EXAMPLES
To get a status report on the hosts on the local network, enter: $ ruptime Information similar to the following is displayed: host1 up 5:15, 4 users, load 0.09, 0.04, 0.04 host2 up 7:45, 3 users, load 0.08, 0.07, 0.04 host3 up 2:28, 0 users, load 0.01, 0.02, 0.03 host4 up 3+01:44, 1 user, load 0.01, 0.02, 0.03 host7 up 7:43, 1 user, load 0.06, 0.12, 0.11 (Output may be formatted differently on your system.) To get a status report sorted by load average, enter: $ ruptime -l Information similar to the following is displayed: host2 up 7:45, 3 users, load 0.08, 0.07, 0.04 host1 up 5:18, 4 users, load 0.07, 0.07, 0.04 host7 up 7:43, 1 user, load 0.06, 0.12, 0.11 host3 up 2:28, 0 users, load 0.01, 0.02, 0.03 host4 up 3+01:44, 1 user, load 0.01, 0.02, 0.03 (Output may be formatted differently on your system.) FILES
Indicates data files received from remote rwhod daemons. SEE ALSO
Commands: rwho(1), rwhod(8) ruptime(1)
All times are GMT -4. The time now is 03:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy