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
ADVERTISEMENT
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
View Related
Apr 13, 2010
As per my knowledge, one can use systemcall to call the driver functions for example using open, close... Now is there any way to call driver functions directly from application without using system call?
View 4 Replies
View Related
May 28, 2010
I am running a VPS of CentOS. clock command doesn't work.[174-37-247-102.lx-vs.net ~]# clock hwclock is unable to get I/O port access: the iopl(3) call failed. How to solve the problem? I have tried "timeconfig" and set to New York and System Clock uses UTC and restart the server but it was not useful.
View 2 Replies
View Related
Apr 2, 2010
I have one requirement i.e I want to call the java file from the php function using shell_exec command , i am using the chroot jail concept , if i using this command i am getting the empty file because java environment is outside the chroot jail,so how to access the the files those are out side the chroot jail.
View 3 Replies
View Related
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
Jul 25, 2011
I have logged into one Linux VM and I want to test remote access to another Linux server on the same network but I cannot recall the Linux application to call?
View 10 Replies
View Related
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
Aug 13, 2010
I've got my username on Ubuntu (I can't remember version number, but its 6 months old aprox)..
I'm the sole user (& admin)..
I have /home/myusername/ & can edit all files (without using sudo), but if I want to edit a file in another directory - i need to use Sudo..
I'm setting up a website /home/website/
(this is the same structure as the external website I'm going to edit, i want the directory structure to be the same..)
is there a way, I can allow FULL access to the /home/website/ directory - While logged in as /myusername/
(IE So I do not need sudo (or any 'admin' command), to edit the files )
View 7 Replies
View Related
Apr 23, 2010
It's been a few years since I last installed Ubuntu. I searched the forums and can't seem to find the answer. I want to be able to do a "su root" and have root access. I know Ubuntu wants you to do the sudo command, and I know you can really mess things up being root. I know I got this to work before. What do I need to do?
View 3 Replies
View Related
May 11, 2010
I'm the only user, can login (meaning I know my pass). But cannot Sudo. I'm on Ububtu Studio, the latest release. Doesn't make any sense.
View 2 Replies
View Related
Nov 24, 2010
I do a lot of testing and developing on an Ubuntu machine at my university, and I don't have sudo access to the machine. It hasn't been a problem so far because the tools I've needed have been installed.
However, I have to build OpenCV, which has a lot of dependencies, some of which (notably, libbz2-dev) aren't installed.
I have access to localtmp on the local drive, and of course my own home folder (which is on NFS). Is there a way for me to install a local version of the tools I need using apt-get without sudo access? If not, is there another way to install them? I've been using CMAKE_INSTALL_PREFIX=/localtmp for some builds, but I'm not sure if this is the way to go, or if there is a better way.
tl;dr Is there a way to install applications locally without the ability to sudo?
View 5 Replies
View Related
Mar 8, 2011
Sorry if this is on the forums some where but I couldn't find what I needed, and not even with Google's mighty help. Basically I have a game, called Age of Conquest III, which I got working just fine, but it won't save any setup or game files unless I run it as sudo from the terminal, example in terminal: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" Now I created a short cut with the command being just: /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III"
What command do I put in my shortcut command to get it to open up like in my terminal command? I tried: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" but this won't open anything.
View 6 Replies
View Related
Jul 13, 2010
How do I give a regular user account sudo access?
I'm using CentOSv5 (essentially Red Hat Enterprise 5).
View 11 Replies
View Related
May 31, 2011
I want to know how to setup SUDO, here is exactly what I mean. I have Zorin which is a ubuntu build, I have it upgraded to the newest 11.04 - My main user is Hevithan and I have a seperate user account called GUEST for anyone who wants to use my laptop. Hevithan I guess was setup to have max root powers cause when I type sudo in terminal with no option specified it returns:
Code:
Hevithan has access to
all (ALL)
all (ALL)
all (ALL)
I want to setup my GUEST account to have virtually no powers (no installing files or programs, no using Ubuntu software,no altercation of anything on the Hevithan account,etc), But I want anyone using it to be able to fix things using the terminal if need be (such as my cousins or girlfriend). To what things should they be allowed to do to able to fix but not alter? And if I want them to not be able to install programs or download porn (video at least) and $#!+, but still get things like MP3s and wallpaper images is that possible?
View 5 Replies
View Related
Jan 18, 2011
I am trying to get a non-root account on one of our servers to run a script with sudo capability. To that end, I went into the /etc/sudoers file, and added the following syntax:
Code:
## Enable the nagios user to run the check_iptables.sh script as root
nagios ALL=NOPASSWD: /usr/local/nrpe/libexec/check_iptables.sh, /sbin/iptables
I restarted the nagios service, and tested the results. The results were the user account still could not run the script due to the user, nagios, not having permission to run the iptables binary.
Is there another step(s) that I need to take in order to get the sudo access available to the user account?
View 1 Replies
View Related
Feb 22, 2011
In order to allow me to shutdown my PC from within fluxbox without being root I ran "visudo" and added the following line:
Code:
psionl0 ALL=(ALL) NOPASSWD: ALL
A check that the line had been accepted showed all ok:
Code:
bash-4.1$ sudo -l
User psionl0 may run the following commands on this host:
(ALL) NOPASSWD: ALL
Yet when I tested it out, I got nowhere:
Code:
bash-4.1$ sudo pkgtool
sudo: pkgtool: command not found
bash-4.1$ sudo shutdown -h now
sudo: shutdown: command not found
bash-4.1$
Have I done something wrong or isn't sudo meant to be used this way?
View 12 Replies
View Related
May 29, 2010
I have used other distros on and off in the past with no trouble, but for some reason I seem to have had this problem with several versions and flavours of Ubuntu on various systems. I've never solved this problem the previous times I've had it, just given up. But this time I actually need to get this working. I've recently upgraded my computer, so my old system has been relegated to HTPC duties in my lounge. I installed Ubuntu 10.04 and I'm having issues getting internet access with some programs, while others work fine.
Firefox and Evolution haven't been able to access the internet from the start.Empathy IM has no trouble connecting to my MSN and Facebook accounts.I had no trouble downloading and installing Google Chromium browser through Ubuntu Software Center, and have no trouble accessing the internet with Chromium.On the first boot after the install, Ubuntu automatically told me to update my nVidia drivers online, and did so without error.Update Manager detects updates, but fails to download them.
I successfully and flawlessly downloaded installed XBMC Media Center and some related skins and things through Synaptic, but XBMC cannot access the internet. However it can access shared files over my LAN, including Windows 7 shares.Ubuntu itself cannot access any files on my Windows 7 computer. It can access the work group and see my Win7 shares, but refuses to mount them. Strangely, XBMC can access these shares and stream media from them fine.
View 3 Replies
View Related
Dec 9, 2010
I need to provide sudo access to Oracle User, run only this particular "SRVCTL" command.
Do I need to edit "sudoers" file .if so where do I need to add these two lines in sudoers file.
1. apps/opt/grid/bin/srvctl
2. /apps/opt/oracle/product/11.2.0/db_1/bin/srvctl
View 2 Replies
View Related
Feb 17, 2011
I have been reading guides for a while now and so far have not found an exact solution to my problem.
I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.
In the sudoers file
Code:
User_Alias Patrol=dave,john
root ALL=(ALL) ALL
Patrol ALL=(patrol) NOPSSWD: ALL
[Code].....
View 6 Replies
View Related
Feb 22, 2011
At least this is what it looks like to me.
Amarok can play music but asks to open kde wallet manager for some password. All other programs (vlc, media player, audacity, etc) seem to function normally but no sound comes out of the speakers. code...
So simply running program requiring sound enabling as root does not work - plus it would not be very good practice, IMHO.
What should I do?
View 2 Replies
View Related
Mar 8, 2011
I have a project stored on a university server which I'd like to be able to work on from home.
I already have an SFTP folder set up, which I can access easily in Nautilus, and I can freely copy files back and forth, or open them in e.g. gedit.
However, the project is in Matlab, and I cannot see the mounted SFTP folder from within Matlab. This means that I can't work on the project in Matlab without copying the whole lot across to my local machine when I want to work on it.
Is there some way I can get Matlab to "see" the connection so that I can use the mounted SFTP folder like any other in my filesystem? It appears on my desktop when connected - does it have some other mount location?
View 2 Replies
View Related
Oct 7, 2009
I have F11 running on an MSI wind. I installed KDE and then downloaded LXDE and have been using it for a few days. All of the sudden LXDE panel and a program called GTK-gnash started eating up all my cpu. So, I stopped the processes and restarted the desktop via CTL-ALT_BACKSPACE and rebooted. Now I cant open anything in the fedora menu, no programs, nothing comes up. Cant find any info on what I should do. Can still run firefox and stuff from applets, just cant access my programs menu.
View 7 Replies
View Related
May 14, 2010
I am behind NAT using private IPs like 172.x.x.x in my lab. I need to access programs from other machines which are also behind NAT. What is the syntax of ssh command that i can run? Because when i make connection within one LAN for example:ssh -X 172.x.x.10 to 172.x.x.3 it works fine. I can access programs like gedit, firefox etc. But when i try to do the same on the machine that are behind NAT then i get this error;
[root@localhost ~]# gedit
(gedit:3977):WARNING **: cannot open display:
View 6 Replies
View Related
Dec 19, 2010
I made a Desktop User account. When I went on that account, it allowed me to execute sudo as if I was an administrator. I don't know what might be causing this. I do have ufw set up and blocking incoming connections. Do you guys know what might be at the root of this?Also, when I used sudo from the user account (which I shouldn't have been able to do), I provided the password for my admin account.
View 9 Replies
View Related
Apr 29, 2011
I have a log server that collects logs from all the cisco devices on our network.he company policy states that any logs should only be accessible by root. So I have the following permissions set on the directory, as well as everything inside the directory where the cisco logs are kept.
Code:
drwx------ 65 root root 4096 Apr 29 7:38 rsyslog
The cisco folks are requesting access to these logs, which is allowed by company policy.
[code]...
View 12 Replies
View Related
Jul 17, 2010
I went to download a typing tutor and it says if you have linux, it should come with most new distros in a file library called KDEEDU ... how do I access and install programs from KDEEDU? I'd like to install kTouch.
View 2 Replies
View Related
Jan 27, 2010
installed sabayon 5 kde last week... am downloading game cd for sabayon gnome.. will i b able to use this on my sabayon kde? i was told there is 'wine' which can be used to access windows programs but i din find it in sabayon 5..
View 6 Replies
View Related
Mar 16, 2009
I see from the netspeed applet that my computer is downloading stuff almost constantly. Not a whole lot, 8b - 700b per second while apparently doing nothing. Some of this is just responding to broadcasts from the router, but surely not all. I would like to be able to determine which programs are accessing the internet over that wireless card, with a view to cutting down on my bandwidth usage. Is there a program that can tell me which ones are doing what at a given time?
View 5 Replies
View Related
Jan 9, 2011
What distro is the easiest for a new person to get started? I also need wireless internet access. I've tried to do this once before with linux (mandriva as I recall, I gave up)before and had problems installing the programs that would allow that. Also are there Linux versions that I could install on my pocket PC?
View 8 Replies
View Related