Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Can I trace who asked for reboot Post 303041698 by rbatte1 on Monday 2nd of December 2019 08:59:35 AM
Old 12-02-2019
Does the output from last show you who (and where from) people were logged in at that time? Look especially for lines that say down in them.

Does that help you?


It might help in future if you logged all commands run by root to the syslog. Anything run by sudo may well be in /var/log/secure already.




Kind regards,
Robin
These 2 Users Gave Thanks to rbatte1 For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Simple Question ever asked

How do I cahnge my plan under my profile? (5 Replies)
Discussion started by: D3adRabbit
5 Replies

2. Shell Programming and Scripting

I thought I asked the question before but I haven't sorry

:D could any one answer my previous question... just looked through logg and found no such question that I had asked.. please any input would help \.. :confused: (2 Replies)
Discussion started by: moxxx68
2 Replies

3. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

4. Shell Programming and Scripting

how to set up ssh, so password not asked

Hi All Plz guide me in setting ssh on local machine so that password will not be asked. I have written a script abc.ksh on machineA to execute a script sampletest.ksh available on machineB Conent of abc.ksh is as follows ssh -q bali@machineB sh ClaimGenFeed/claim/sampletest.ksh... (1 Reply)
Discussion started by: balireddy_77
1 Replies

5. Programming

put the prog asked in your interview

Submit the program asked to write in the interview eg. write a prog to generate fibonacci series using recursion (2 Replies)
Discussion started by: useless79
2 Replies

6. AIX

Career Advice Asked

Dear All i am working on windows plattform and i am interested in Aix so i have done IBM Aix certification, can you please suggest Aix filed is good for my carrier,currently i am working as Desktop admin edit by bakunin: please understand that the question you raised has nothing to do with the... (1 Reply)
Discussion started by: manzur13
1 Replies

7. Shell Programming and Scripting

variable not getting asked....

Hello all, I am trying to pass or trying to get a variable assinged...but seemed like i am doing something wrong here.... so lets say abc.txt(spool the output out) is my file, where i am doing select * Fro mv$version inside my DB and getting some info. -/home/oracle/logs >cat abc.txt SQL>... (1 Reply)
Discussion started by: abdul.irfan2
1 Replies

8. Shell Programming and Scripting

Username password asked during loging

Hi, Whenever I open my unix box,after providing username and password I get the following message. Are you authorised to use this computer as detailed above? (Y)es/(N)o : y Export: Release 10.2.0.2.0 - Production on Mon May 16 16:00:15 2011 Copyright (c) 1982, 2005, Oracle. All rights... (5 Replies)
Discussion started by: emilybose
5 Replies

9. UNIX for Beginners Questions & Answers

Sudo asked for root password .

i have tried to use a sudo command from a user level . but instead of asking for user password it asked for root password . how should i go about it . james@opensuse:/etc> sudo ifconfig root's password: And i wish to ask how should i allow a list of command to be allowed to used for a... (4 Replies)
Discussion started by: lobsang
4 Replies
reboot(2)							System Calls Manual							 reboot(2)

NAME
reboot - boot the system SYNOPSIS
DESCRIPTION
causes the system to reboot. howto is a mask of reboot options (see specified as follows: A file system sync is performed (unless is set) and the processor is rebooted from the default device and file. The processor is simply halted. A sync of the file system is performed unless the flag is set. should be used with caution. On systems with cellular architecture, all cells in the partition are rebooted in order to reconfigure the stable complex configuration data. On systems with non-cellular architec- ture, the default is A sync of the file system is performed unless the flag is set. Shut down the system firmware to a "ready to reconfigure" state and do not reboot. This option can be used only in combination with A sync of the file system is not performed. Unless the flag has been specified, reboot(2) unmounts all mounted file systems and marks them clean so that it will not be necessary to run fsck(1M) on these file systems when the system reboots. Only users with appropriate privileges can reboot a machine. RETURN VALUE
If successful, this call never returns. Otherwise, a -1 is returned and is set to indicate the error. ERRORS
fails if this condition is encountered: [EPERM] The effective user ID of the caller is not a user with appropriate privileges. DEPENDENCIES
The default file and device for is on the current root device. AUTHOR
was developed by HP and the University of California, Berkeley. SEE ALSO
reboot(1M), privileges(5). reboot(2)
All times are GMT -4. The time now is 10:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy