Software :: See PPID Of A Sudo Call?

Feb 12, 2010

I need to know what deamon process is using sudo.

I tried writing a quick bash wrapper:

Code:
#!/bin/bash
thedate=`date`
echo -e "$thedate $PPID is attempting to use sudo" >> /var/log/secure
/usr/bin/real_sudo "$@"

[Code]....

When I tried using this script as a normal user I just get permission denied

View 2 Replies


ADVERTISEMENT

Ubuntu :: Programs Can't Call For Sudo Access?

Sep 29, 2010

Let me see if I can put this coherently: Programs that require super user authentication AFTER they have been launched (for instance,in the time settings applet, you have to sudo authenticate to update the clock, but not just to open the applet. Another instance is Ubuntu-Tweak, which requires admin rights for some of it's functions.)

[Code]...

Any other information provided on request. I'm using Ubuntu 10.04.1, all updates applied.

View 3 Replies View Related

CentOS 5 :: Call Nautilus File Browser With Root Permissions - "sudo Nautilus" Does Not Work

Feb 12, 2011

How to call Nautilus file browser with root permissions? "sudo nautilus" does not work. Under Ubuntu there is a command:

"gksu nautilus"

but this does not work in CentOS either.

View 2 Replies View Related

Software :: Script That Call A Java Program That Call A System Command?

Nov 29, 2010

In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab

View 4 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies View Related

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

Jan 2, 2011

I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

Code:
ldd /usr/bin/passwd
and

[code]....

View 4 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

Jul 2, 2011

I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password

View 8 Replies View Related

Fedora :: Where SUDO File At / Add Myself As A SUDO'er?

Oct 11, 2009

Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?

View 3 Replies View Related

General :: What's The Difference Between Sudo Su - And Sudo -i

Jun 19, 2011

It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.

Is there any difference between them?

sudo su -
sudo -i

Also, what's the difference between

sudo su
sudo -s

I think that they both ask for my password, and give me a shell with my old environment variables.

View 1 Replies View Related

Server :: Sudo - Command Can't Run By Sudo

Jun 18, 2010

I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.

View 8 Replies View Related

Fedora Security :: Terminal Equivalent Of "sudo" Is It Still Sudo/KDEsudo

May 29, 2010

I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.

The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo

I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?

View 14 Replies View Related

Ubuntu :: Call Web Instead Of Ip With Name?

Jun 8, 2011

My problem is, On my Institution we are using a library management software name koha it installed on ubuntu it works fine .. .we call it web page by our system ipaddress 192.168.1.200:8000 we want to call this page with a name .

View 9 Replies View Related

Programming :: Add Switch To Every Gcc/g++ Call?

Feb 23, 2009

I was wondering if there was a way to add a switch to a gcc/g++ call everytime. I have a few libraries that I need to compile for different processors. Each has a makefile which calls gcc to compile. Here is the best option I could come up with so far:Include a Makefile and define CC as gcc -mcpu=xxx.

View 4 Replies View Related

Applications :: Call Java From The Php?

Dec 2, 2010

I would like to call my java program from php. How is it possible I know of zend bridge but when I read it say it will take our the existing php which I am not sure what other side effect I will have to face.

View 3 Replies View Related

General :: How To Call Other File

Apr 10, 2011

i want to know how to call the other file in linux. example i got this code that store into example1.sh and i want to store the data into other file like example2.

View 2 Replies View Related

Fedora :: How To Call The Configuration Screen

Feb 9, 2010

how to call the configuration screen? I can't seem to find it. It was talked about in the dokuwiki installation but looks like the fedora installation does not have it.

View 2 Replies View Related

Ubuntu :: Call A Huge Nerd (via Ssh)

Dec 5, 2010

call me a huge nerd, but I have official control of my computer on my HTC Evo (via ssh) and I am ecstatic. I seirously just rebooted my computer for the hell of it. Anyways, I am trying to figure out some creative uses of this little trick. I listen to music a lot, and figured "hey, wouldn't it be cool to be able to change the song playing on my computer with the command line some how?" I use rthymbox to play songs, however, am not sure if this is/will be possible.

How can I go about changing the current playing song with the command line? Is there perhaps a shell based music player that can play audio though the computers audio output (while I run the command from my phone)?

View 9 Replies View Related

Ubuntu :: Call A C Program Using Initramfs?

Mar 17, 2011

Can i add a c program file to initramfs such that it runs when kernel loads and before root file system getting busy...

View 3 Replies View Related

Red Hat / Fedora :: Unable To Add System Call

Dec 3, 2010

iam trying to add a system call to the kernel version 2.6.33.7.Iam running fedora 13.I have followed all the steps given in this <hekimian-williams.com/?p=20 -> tutorial,but iam getting a error in make saying undfined reference to mysyscall in syscall_table_32.

View 1 Replies View Related

General :: What Is Signal0 In System Call

Sep 28, 2010

what is what is signal 0 in linux system call ?i can't find that in kill -l signal list . i need to know what is signal 0 . * for examples signal 1 is SIGHUP and signal 2 is SIGINIT . what is signal 0 ?

View 1 Replies View Related

General :: Call Other Script Having Different Permissions

Feb 7, 2010

I am writing a shell script lets say run.sh and i want to call another script lets say test.sh having permissions " root:sys" whereas the permissions for run.sh are "rootther".Problem is that i cannot change the permissions of either of them. run.sh is performing some other important functions as well and test.sh is a system script and i am not supposed to change that.If i do not change the permissions, run.sh simply skips the part where it is suppose to call test.sh.Can anyone tell me how do i call test.sh in run.sh without changing permissions of any of them.

View 2 Replies View Related

General :: How To Create And Call Process

Sep 24, 2010

I had an interview , where the interviewer asked me the question "How to create and call a process in unix". I answered that we can use the command
FORK()/ CLONE() to create a process.
But I didn't have the answer for the second question, how to call a process.

View 2 Replies View Related

General :: How To Call Certain Command Info

Oct 13, 2010

When I an in Emacs, I want to call info pages like in terminal. E.g., info date will call the date info page, but when I in Emacs, I can only use M-x info call the complete info pages, but I only want to see the date info page. Then which command I should execute in emacs.

View 4 Replies View Related

General :: Call Other Executables From Cpp Code?

Jan 18, 2010

I want to launch other executable from my cpp code. I am aware that system() call may do this , But, problem is that , I want my cpp code to capture the standard hat "called" program is writing to stdout.

View 2 Replies View Related

General :: Nfs :RPC Call Returned Error 101

Feb 23, 2010

i am trying to run an application code in nfs host.but facing the problem as shown below.can anybody tell what the problem could be?

[code]...

View 2 Replies View Related

General :: Script Won't Call Other Scripts

Jan 7, 2010

I have 3 scripts that need to be run from the cd, I can run them separately but thought it would be easier to just call them from a single script.When I run the script it just goes straight to reboot, which is the last command. Can you see what I am doing wrong? I am logged in as root when I execute it.

View 3 Replies View Related

Server :: Call A C Function Or To Execute A C Pgm O/p From Php?

Apr 6, 2011

how to call a c function or to execute a c pgm o/p from php file and this output should be displayed in the html page ? I have tried with system() and exec()but its not working.

View 2 Replies View Related

Software :: Can't Receive Call From CRM Users ?

Jun 10, 2010

I am install CRM vtiger & Asterisk Server on ubuntu ,, i can;t get call from CRM ,,,i got this error...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved