12-02-2019
As root run history to get root's command history.
Check /var/log/secure for system access (through PAM).
/var/log/su* might be special logs fo su/sudo.
This User Gave Thanks to MadeInGermany For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I cahnge my plan under my profile? (5 Replies)
Discussion started by: D3adRabbit
5 Replies
2. Shell Programming and Scripting
: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
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
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
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
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
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
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
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
LEARN ABOUT CENTOS
reboot
HALT(8) halt HALT(8)
NAME
halt, poweroff, reboot - Halt, power-off or reboot the machine
SYNOPSIS
halt [OPTIONS...]
poweroff [OPTIONS...]
reboot [OPTIONS...]
DESCRIPTION
halt, poweroff, reboot may be used to halt, power-off or reboot the machine.
OPTIONS
The following options are understood:
--help
Prints a short help text and exits.
--halt
Halt the machine, regardless of which one of the three commands is invoked.
-p, --poweroff
Power-off the machine, regardless of which one of the three commands is invoked.
--reboot
Reboot the machine, regardless of which one of the three commands is invoked.
-f, --force
Force immediate halt, power-off, reboot. Do not contact the init system.
-w, --wtmp-only
Only write wtmp shutdown entry, do not actually halt, power-off, reboot.
-d, --no-wtmp
Do not write wtmp shutdown entry.
--no-wall
Do not send wall message before halt, power-off, reboot.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
NOTES
These are legacy commands available for compatibility only.
SEE ALSO
systemd(1), systemctl(1), shutdown(8), wall(1)
systemd 208 HALT(8)