12-04-2006
In theory: Yes you can, if you bypass the 'standard login process' (which is another long story
), but if you have root access nothing stop you from cleaning up the file 'w' uses to get those information (utmp,wtmp ... or something alike
)
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Am having trouble trying to stop the process below ...
bash# ps -eaf | grep "tape erase"
root 29715 1 0 05:16:22 ttyp1 00:00:00 tape erase /dev/rStp0
root 22464 20933 1 03:40:12 ttyp6 00:00:00 grep tape eraseI've tried ... `kill -9 29715` ... but still no luck.
Help... (8 Replies)
Discussion started by: Cameron
8 Replies
2. AIX
Morning, All.
Does anyone know how to stop qdaemon from emailing users when print jobs fail?
This is causing a problem as the application that we use is mail-aware; users get a prompt onscreen when they have unread mail in their UNIX account, however they don't all have access to the part of... (2 Replies)
Discussion started by: alexop
2 Replies
3. Shell Programming and Scripting
Hi All,
My question is how can i stop my users on system from deleting their history.
How can i stop the users from running 'history -c'.
I have searched thoroughly on the forum but didn't find any satisfactory solution to the problem.
kindly help if you any suggestions
Thanx in... (3 Replies)
Discussion started by: xander
3 Replies
4. Solaris
I am using solaris x86 with a pc keyboard. i am trying to get to the ok prompt i have tried ctrl-break but it is not working , alt-break will not as well.
pls any thought? (4 Replies)
Discussion started by: seyiisq
4 Replies
5. Web Development
Hi,
I have the user who runs tomcat: tomcat:tomcats
I want to have another user who will be able to start and stop tomcat process.
Is this possible?
Thanks,
Bianca (1 Reply)
Discussion started by: potro
1 Replies
6. Cybersecurity
Hello there,
I want to know what are the ways to monitorize and control/stop flooding on my server, because I am heavily flooded. At this moment I am doing all this manually (when I see that my bandwidth is lowering or some applications are freezing), my main working tool being iptables.But I... (1 Reply)
Discussion started by: spiriad
1 Replies
7. Linux
Is there a way to stop users changing the time on their machines
we are running fedora
thanks
Adam (4 Replies)
Discussion started by: ab52
4 Replies
8. Red Hat
I have a user ( and actually me too) getting this messages when the screen is idle, I need help on stopping this messages:
2012 Feb 20 13:30:22 servername Audit: LENGTH: "330" SESSIONID: "339384" ENTRYID: "1" STATEMENT: "1" USERID: "OPS$PT2ADM" USERHOST: "zzzzzzzzzzz" ACTION: "100" RETURNCODE:... (2 Replies)
Discussion started by: 300zxmuro
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)