12-10-2011
Dear Ramana,
You might not be able to see because in your system sudo log is not configured.
You have to configure in syslog.conf to see the details. So please add the below lines in /etc/syslog.conf file and restart syslog.
# This logs successful and failed sudo attempts to the file /var/log/sudo.log
local2.debug /var/log/sudo.log
You add the above configuration in syslog.conf and restart syslog ... and make sure to touch the /var/log/sudo.log file and give full permissions. So that you can see these logs.
Cheers
Sreedhar
This User Gave Thanks to daggulasreedhar For This Post:
9 More Discussions You Might Find Interesting
1. Linux
Hi all..
I'm secering a RH 2.1 server, with gnome (not my choice...), as X manager.
Is ther anyway to get sudo ask for root password other then the actual user's password? Like when you launch the graphical IHM to create a new user, it asks for root's password? Is there a way to do the same... (5 Replies)
Discussion started by: penguin-friend
5 Replies
2. Shell Programming and Scripting
I know that when I'm logged in as root in (Solaris or Linux), I would get the # sign at the terminal screen.
But from a csh script, how do I know if I'm running that script logged in as root or not? (3 Replies)
Discussion started by: newbie09
3 Replies
3. UNIX for Advanced & Expert Users
I am running a serverapplication on a HP-UX machine where I need to handle some of the commands as a specified user called "druser".
When I log on as this user with the command;
sudo -u druser -sit starts an instance of the shell as that user.
However, it doesn't load that users .profile from... (1 Reply)
Discussion started by: ukiome
1 Replies
4. Shell Programming and Scripting
Ok, so, in order to install some dependencies of a program I made, a script has to be run as root. The thing is that I have to copy some things into the home folder of currently logged in user, but the variable $HOME returns '/root' and the $USER returns 'root' :(
Is there any way to see who is... (7 Replies)
Discussion started by: hakermania
7 Replies
5. UNIX for Advanced & Expert Users
I have a server that i need to monitor what the .bash_history file for the root user already logged in to the server
I am logged in as root and have another person logged on as root and i want to monitor what they are doing:
root ? :0 2010-10-19 11:54
root + pts/1 ... (1 Reply)
Discussion started by: calicowboy54
1 Replies
6. UNIX for Dummies Questions & Answers
I'm actually working with a Ubuntu-System here and have a question about executing a command with 'sudo'.
I tried and got a error message like "not allowed".
After this I logged in with 'sudo -s' and typed the command without 'sudo'. This worked well.
Can please somebody explain me this... (0 Replies)
Discussion started by: daWonderer
0 Replies
7. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
8. UNIX for Dummies Questions & Answers
Anyone able to explain why if i run "sudo -i" or "sudo -s" i am able to get into root by just keying my own password?
How to avoid this from happening coz i need all the users to use su - only. (2 Replies)
Discussion started by: timmywong
2 Replies
9. Red Hat
I have a set of RHEL 5 boxes running our ERP software on Oracle databases. I need to allow my DBA's to su to oracle and one other account (banner) without knowing the oracle or banner password. But I need to prevent them from su'ing to any other user especially root. I only want them to be able to... (1 Reply)
Discussion started by: westmoreland
1 Replies
LEARN ABOUT OSF1
fasthalt
fasthalt(8) System Manager's Manual fasthalt(8)
NAME
fasthalt - Halts the system
SYNOPSIS
/usr/sbin/fasthalt [-lnq]
DESCRIPTION
The fasthalt command halts the system and flags a subsequent reboot to skip the execution of fsck. The program creates the fastboot file,
then invokes the halt program. The system start-up script contains instructions to look for the fastboot file. If present, the script
removes the file and skips the invocation of the fsck command.
If the command is invoked without the -l, -n, or -q flag, the halt program logs the shutdown using the syslogd command and places a record
of the shutdown in the login accounting file, /var/adm/wtmp. Using the -q and the -n flags imply the -l flag.
You must have root privileges to use this command.
FLAGS
Does not log the halt using syslog. Prevents the sync before stopping, and does not log the halt using syslog. Causes a quick halt, does
not log the halt using syslog, and makes no attempt to kill all processes.
FILES
Specifies the command path Specifies the path of the syslog daemon
RELATED INFORMATION
Commands: fsck(8), halt(8), syslogd(8)
Functions: sync(2), syslog(3) delim off
fasthalt(8)