Sponsored Content
Full Discussion: Sudo log
Top Forums UNIX for Advanced & Expert Users Sudo log Post 302670809 by crematoriumm on Thursday 12th of July 2012 12:44:28 PM
Old 07-12-2012
Sudo log

Hello,

Is it possible to configure the sudo log to register the logname instead of
the username?
I mean, if user A logs and su (switch user) to user B and then uses SUDO
to execute commands, the log will register actions of user B. What I need
is to register these actions as being executed by user A.

Is it possible?

Thanks in advance,

C.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sudo log files

folks; I just did setup sudo on Solaris 10 through "sudoer" file. Now, i try to look at the log files to see any user activities under /var/log/syslog & all i see if someone try to run "sudo -u root tcsh" & got an error or was successful. But i don't see any activities, for example: if a user... (0 Replies)
Discussion started by: Katkota
0 Replies

2. UNIX for Dummies Questions & Answers

Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:"

Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks! When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error: exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies

3. Cybersecurity

sudo /bin/sh or sudo su -

we are looking at changing the way we get root on our network. in our current system if an admin needs root access he just gets the root password and uses an su. some of our staff have decided that a sudo to "/bin/sh" will be easer. some of our staff think a sudo to "su -" will be better. I... (0 Replies)
Discussion started by: robsonde
0 Replies

4. AIX

sudo log and sudo auditing

Sudo In AIX, how to find out what commands have been run after a user sudo to another user? for example, user sam run 'sudo -u robert ksh' then run some commands, how can I (as root) find what commands have been run? sudo.log only contains sudo event, no activity logging. (3 Replies)
Discussion started by: jalite19
3 Replies

5. Shell Programming and Scripting

ssh foo.com sudo command - Prompts for sudo password as visible text. Help?

I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this: #!/bin/bash rsync /path/on/local/machine/ foo.com:path/on/remote/machine/ ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies

6. Shell Programming and Scripting

sudo: sorry, you must have a tty to run sudo

Hi All, I running a unix command using sudo option inside shell script. Its working well. But in crontab the same command is not working and its throwing "sudo: sorry, you must have a tty to run sudo". I do not have root permission to add or change settings for my userid. I can not even ask... (9 Replies)
Discussion started by: Apple1221
9 Replies

7. Shell Programming and Scripting

sudo: sorry, you must have a tty to run sudo

Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error. Command: sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh Error: sudo: sorry,... (8 Replies)
Discussion started by: Satyak
8 Replies

8. UNIX for Dummies Questions & Answers

Sudo log

hi, i have installed sudo now want to create sudo log file to capture every sudo event like "if any user does sudo and then runs a command line, this all must be captured who did what" kindly assist plantform:- linux RHEL, soalris 10 (1 Reply)
Discussion started by: firozk679
1 Replies

9. Shell Programming and Scripting

Sudo or su keeps flooding my /var/log/messages

It is crazy when you just entered a command example sudo or su or even ps. It will flood your /var/log/messages. Please see duplicate entries except for the pid. At 1 specific time. Thanks $ cat b Jan 13 17:09:05 SERVER1 bash: user1 as root: Jan 13 17:09:05 SERVER1 bash: user1 as root: Jan... (3 Replies)
Discussion started by: invinzin21
3 Replies
gst-register-0.8(1)						   User Commands					       gst-register-0.8(1)

NAME
gst-register-0.8, gst-register - register GStreamer plugins SYNOPSIS
gst-register-0.8 [gst-std-options] gst-register [gst-std-options] [--gst-list-mm] [--gst-mm=string] [--print] DESCRIPTION
gst-register-0.8 registers all of the GStreamer plugins on your system. gst-register-0.8 creates a listing of their properties so that on startup of GStreamer-based applications, you do not need to load plugins until you need them. When run as the root user, gst-register-0.8 creates the Global GStreamer plugin registry which is stored in /var/cache/gstreamer-X.X/reg- istry.xml, where X.X is the GStreamer major and minor version number. When run as a user other than the root user, gst-register-0.8 creates a user registry ~/.gstreamer-X.X/registry.xml, where X.X is the GStreamer major and minor version number. Programs that uses GStreamer use the user plugin registry if it exists, and use the Global plugin registry if not. gst-register is a wrapper script that runs the latest installed version of gst-register-X.X. For example, if both gst-register-0.7 and gst- register-0.8 are installed on your system, gst-register runs gst-register-0.8. OPTIONS
The following options are supported by gst-register-0.8 and gst-register: gst-std-options Standard options available for use with most GStreamer applications. See gst-std-options(5) for more information. The following options are supported by gst-register only: --gst-list-mm List found major/minor versions. This option displays the versions that are available. --gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the default version. --print Print wrapped command line. This option displays the command that will be run, and then runs the command. EXAMPLES
Example 1: Running the Wrapper Script and Displaying the Command Name example% gst-register --print /usr/bin/gst-register-0.8 FILES
The following files are used by this application: /usr/bin/gst-register-0.Executable to register GStreamer plugins /usr/bin/gst-register Wrapper script that runs the latest installed version of gst-register-X.X /var/cache/gstreamer-X.XGStreamer.global plugin registry, where X.X is the GStreamer major and minor version number. ~/.gstreamer-X.X/registrGStreamer user plugin registry, where X.X is the GStreamer major and minor version number. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-media | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
gst-complete(1), gst-compprep(1), gst-feedback(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-thumbnail(1), gst- typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3), gst-std-options(5) NOTES
Original man page written by the GStreamer team at http://gstreamer.net/. Updated by Brian Cameron, Sun Microsystems Inc., 2004. SunOS 5.10 14 Oct 2004 gst-register-0.8(1)
All times are GMT -4. The time now is 12:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy