How can I make someone enter his ID in logout?

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can I make someone enter his ID in logout?
# 1  
Old 05-26-2002
Tools How can I make someone enter his ID in logout?

hi, Is there any way that I can ask ppl's ID when they wana log out in KDE? I wana know who's the last person who worked with the computer and I need his ID to find it out!

Last edited by confusedoflife; 05-26-2002 at 09:02 AM..
# 2  
Old 05-26-2002
If you wana find out the last person who logged in, then why do you need to find out the last person who logged out? Look the the person who last logged in and that's your answer.
# 3  
Old 05-27-2002
Computer A bit of a paradox!!

well, I thought that the last person who logged in, is actually the last person who loged out! but, ok, it doesn't make any difference! How can I find out the ID of the person who last logged out? Is there anywhere that I should look up?
# 4  
Old 05-27-2002
Try 'last'
# 5  
Old 05-28-2002
Computer Ok!

# 6  
Old 05-28-2002
It is "last"
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Loop logic, enter into respective IF as per enter input file name

have three big data file, however I just need to see the mentioned below one line form the all the file which has SERVER_CONNECTION Value File 1 export SERVER_CONNECTION=//dvlna002:10001/SmartServer File2 export SERVER_CONNECTION=///SmartServer File3 export... (1 Reply)
Discussion started by: Nsharma3006
1 Replies

2. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

3. Web Development

How to make "enter" work in HTML syntax

I have one syntax to find something from desktop on server, the script is as below, I actually speaking don't know anything in this script. It creates a window, where i get a drop down boxes with folder names given below and a blank box where i have to put the folder name to search. and then I... (2 Replies)
Discussion started by: patilrakesh1984
2 Replies

4. HP-UX

How to logout

Hi I am using UNIX version. HP-UX HP-UNIX B.11.00 I am writing a script which on certain condition should logout of unix. But with exit command i am not able to get this.. Plz suggest how i should logout of the session directly. (9 Replies)
Discussion started by: manish.s
9 Replies

5. Ubuntu

Help with a logout scrpt

Hi, I'm new to Linux and this forums. I was working on a logout script and was wondering if anyone could help me out. What I'm trying to do is to delete the content of the ~/tmp/ directory and also to perform a check if any processes are currently running befor logout. this is what I have ... (1 Reply)
Discussion started by: zexin
1 Replies

6. Solaris


I want to execute script while exiting a session, to gather session details. How to implement this in Solaris 10 (3 Replies)
Discussion started by: sharif
3 Replies

7. Shell Programming and Scripting

.logout help

We have an application that uses the csh shell as the default. We can not change this as when we upgrade it will change back to csh. We have several people that log in with this id. I would like to create a .logout exit script to audit what transactions were performed, termal, etc. Does... (3 Replies)
Discussion started by: 2dumb
3 Replies

8. UNIX for Dummies Questions & Answers


Every time the ksh script completes I got message - logout. I don't want to see this message.... Can someone give me a clue Thanks in advance. ZAM SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Sun-Fire-880 (2 Replies)
Discussion started by: zam
2 Replies

9. Red Hat

How do you logout from a session?

Hello all - I'm finishing up a script that I wrote. This is what I did: I added some lines to the .bash_profile that will call my startup script: cd $HOME/startup ./startup.scr This startup script will create some directories, move some files, and then startup an application: cd... (4 Replies)
Discussion started by: Heron
4 Replies

10. UNIX for Dummies Questions & Answers

logout command

hi all The "last" command shows the last login time of the user. is there any command for last logout time. as usual, replies are appreciated. thanks boys. raguram R (6 Replies)
Discussion started by: raguramtgr
6 Replies
Login or Register to Ask a Question