Programming :: Suid Disabled From Running All Scripts Or Just From Running Them As Root ?
Sep 4, 2009
Is suid disabled from running all home made bash scripts or just from running them as root or:
Who would know for sure.
I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.
View 2 Replies
ADVERTISEMENT
Nov 1, 2010
I recently installed Ubuntu (with Gnome) in expert mode and disabled the root account.
Now I am on Gnome and would like to run gparted and it gives me the following error:
glibmm-ERROR **:
Aborting...I ran gparted from the Desktop and the from console (gksu & sudo su -), re-enabled root using "sudo passwd root" but it did not start correctly. Is the problem that I disabled the root account.
Code:
View 2 Replies
View Related
Jun 1, 2010
My root Vixie cron crontab is set to perform a system snapshot via fsarchiver: 0 0 * * * fsarchiver savefs -o -A /backups/p30_root.fsa /dev/sda2 /dev/sda3 The command itself works fine, generating about a 7G snapshot of my Suse server. I then wish to rsync this to a NAS I have located in another building: 0 3 * * * rsync -av -e ssh --delete /backups/ root{at address}:/DataVolume/os_backups/
(yes, I'm rsyncing as root. I absolutely loathe it, but I got thrown into an quasi-SA position with a ridiculous to-do list and no time to do it. I'm having to make things just work and then go back and try to improve them/learn how. I couldn't make it work in a non-root way quick enough, so for now I'm having to cron rsync jobs as root because of all the differing file permissions on this samba/MySql server. I set the NAS to only accepts ssh from the server IP, and we're behind a campus firewall... It's serious trial by fire.) The crontab also has rsync commands for the samba areas, our specialized chemistry software and affiliated MySQL databases............
View 2 Replies
View Related
Jun 4, 2011
I'm running Fedora 15/2.6.38.6-27.fc15.x86_64. When I run <code>qemu</code> I'm getting "Could not initialize KVM, will disable KVM support" I know my CPU supports hardware virtualization, it has the vmx flag (grep vmx /proc/cpuinfo). I've checked that:
1. kvm and kvm_intel modules are loaded
2. /dev/kvm exists.
3. I'm in the kvm group, so I can access /dev/kvm..
Why KVM doesn't work?
View 1 Replies
View Related
Dec 5, 2010
Is there anyway to run KDE without Plasma?At install I opted out of the kdebase-workspace package, but then didn't have the xwmconfig option to run KDE.Duplicating, then commenting out the original, and on the uncommented line: removing everything after 'Exec='. Taking the 'plasma.desktop' out. ...Deleting the entire file will only get it rewritten again by the system..Now it loads into beautiful void.I still have my GUI, complete with any kApps you might want: konsole, konqueror, and even krunner; but no panels or Desktop Activities.Is it still loading plasma only no longer implementing it? Am I losing precious RAM'CPU usage with plasma getting loaded without being used?
View 6 Replies
View Related
Jan 18, 2010
I received an amber light warning "IB110 - SBE Log Disabled." I've learned from Red Hat documentation that this is "for information only". Where can I find a better explanation of this warning? Also, what is the SBE Log, how can I enable it, and where can I view it? It doesn't seem to be in /var
View 1 Replies
View Related
Jan 20, 2011
want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.
View 1 Replies
View Related
Aug 16, 2010
KDE panels look strange with black colors when I login using root account.Is it possible to make KDE look normal? I am using root account because I spend most of the time performing administration tasks and I don't want to type my strong password so frequently.
View 1 Replies
View Related
May 29, 2011
When I run OpenSUSE from the Live CD using normal settings, booting stops with a blank screen a moment after the kernel is loaded. When running it with ACPI disabled, it works, but direct rendering is disabled, even though it detects my video card (Mobility Radeon HD 5650) correctly Here's the Xorg.0.log file: my xorg log - [URL]
View 3 Replies
View Related
Nov 13, 2010
I have some software that I need to run as root, I know I can open a terminal and su etc. if I was going to stay there to control it, that would be fine, but as the software is graphical, I would like to click it's icon, be prompted for the root password, then have it start.
View 3 Replies
View Related
Mar 13, 2010
I need to have root permissions to move files onto a said device. How do I run thunar with such permissions?
View 5 Replies
View Related
Oct 18, 2010
In maverick, I made a menu shortcut to be able to run nautilus as root (gksu nautilus), when I need to (for example, to clean the /var/apt/archives or anything like that).When I used this in intrepid, karmic or lucid, this worked fine.In maverick, when I do so, I always afterwards have the gnome desktop of root and still the rights of root outside nautilus. I have to logoff and re-login as my user to see my personal background and gnome environment again.
View 4 Replies
View Related
Jun 25, 2011
I have an external usb hard drive that spins down every 10 min. The commands in 'hdparm' do nothing to override the internal settings. So, I wrote a script to touch a file every 5 minutes, and it will run as root because of the mount command, and I want it to run for every user. The script is executable, owned by root, and root is the group, with 755 permissions.
no_sleep.sh in /usr/sbin:
Code:
#!/bin/bash
# Script to keep external drive from spinning down
diskmounted=$(mount | grep Backup | wc -c)
[Code]....
View 4 Replies
View Related
Jul 20, 2011
I like cleaning up my install with Bleachbit. I see that when you install it, it also install Bleachbit as root. What is the difference between this and the user version and is it safe to use it as root? I am assuming it cleans up stuff on a deeper level but have always wondered about how safe it would be to use.
View 5 Replies
View Related
Jul 23, 2010
I'd like to run my Apache start-up script under my own userid and not have to su over to root each time in order to run it. But if I run the script as myself I get errors on the "/usr/local/apache2/bin/apachectl start" portion (which is the 'main' purpose of the script):
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
I don't care to waste anymore time just now, or spend anymore energy just now trying to resolve *those* problems. The script works fine when I execute it logged in as root (su). I've changed the permissions to 4777 so that *me* running the script that is executed *as root* should work:
ls -l apache_up.sh -rwsrwxrwx. 1 matt matt 1114 Jul 22 16:42 apache_up.sh But it still gives the above errors. I thought changing the sticky bit would work. How do I run this script myself and have it execute the "/usr/local/apache2/bin/apachectl start" command - so that I don't have to su each time?
View 4 Replies
View Related
Jan 1, 2011
There is a very simple method to Run TeamViewer as a "root". This can be risky but if any users wants to running TeamViewer 5 and 6 As root then I have written a small article for the same. Requesting you to visit article and let me have some feedback or whatever comments you feel. read this article :- http://blog.ask4itsolutions.com/2011...tu-rhel-cento/ This practical performed on Red Hat Enterprise Linux 5.x, Ubuntu Desktop Edition, Fedora and CentOS
View 4 Replies
View Related
Apr 27, 2011
I run fetchmail to download all my emails from remote mail server to my linux server.
But every time when i run fetchmail -v i am getting a warning that " Running as root is discouraged"
I just want to know whether it is unsecure to run fetchmail as root user.
View 4 Replies
View Related
Jul 19, 2009
After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.
If I run one session of emacs everything works fine.
Once I start a second session and try to resize or move the emacs window, the system stops responding.
View 1 Replies
View Related
Dec 25, 2010
Hi. I have Ubuntu 10.04, nm-applet is running in the background, my battery icon and sound icon are showing but my network icon has been missing for the past 2 days. It was working fine before but now it's not. How can I fix this issue if I don't have an ethernet cord? Is there a way to roll back the recent updates or do I need to reinstall my network manager?
I've tried restarting the system and I've tried killing nm-applet and reloading it using Alt F2. I get some Debug error.
When I try to run nm-applet --sm-disable
It says an instance is already running and then gives me a warning.
I tried removing "iface eth0 inet dhcp" from /etc/network/interfaces and then tried restarting by "sudo /etc/initi.d/networking restart"
It says:
What can I do to connect to the internet? I have a flash stick if its possible to download a .deb package on this mac and transfer it over to my other laptop to fix the problem. If its possible.
View 7 Replies
View Related
Jul 26, 2010
I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....
I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).
View 1 Replies
View Related
Aug 6, 2010
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
View 1 Replies
View Related
Mar 19, 2010
We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.
View 5 Replies
View Related
Jun 26, 2015
In Iceweasel, WhatsApp does not properly work, because you can't download images. Oddly, that doesn't happen on Firefox, so I'm considering using it.
As Firefox is not in the repos, I downloaded the tar.bz2 file from Mozilla and uncompressed it at my home. What I don't know is, what will happen when a new version is released? It has the option to autoupdate enabled but... will it be able to do so without root privileges?
View 1 Replies
View Related
Apr 4, 2016
I use two separate systems both running Debian 8. On one (my main) I can't do some commands including ping, shutdown and reboot without running them as root user, however on my other system I can ping and reboot as a non-privileged user. The permissions on both systems are the same for /bin/ping and /sbin/systemctl (reboot). I thought at first it was something to do with what groups my main was in, but that doesn't seem to be the gase.
I know I can fix it by setting setuid for both, but my question is why is it different on both machines? Is there a global setting controlling this in /etc or perhaps an icmp setting?
View 7 Replies
View Related
Jan 25, 2010
I have a weird question about the sudoers file. Currently, I am running "Red Hat Enterprise Linux ES release 4 (Nahant Update 8)".
I edited the sudoers file (via visudo) and added the following:
User_Alias RPTS2 = vtmtest
RPTS2 xxxxx = (jboss) /oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh
The user (vtmtest) issues the following command
sudo /oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh
and gets this message:
user vtmtest is not allowed to execute '/oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh' as root on xxxxx
When I look at the log, I see the following:
Jan 25 14:17:57 xxxxx sudo: vtmtest : command not allowed ; TTY=pts/12 ; PWD=/export/home/vtmtest ; USER=root ; COMMAND=/oracle/app/oracle/apps/rptsd/deploy-jboss/deploy_rpts_jboss.sh
1. Why does sudo try to run as the root user, when I have specified in the command to run as jboss?
2. Do I need to specify anything else so that this command can run as the "jboss" user and not "root"?
View 2 Replies
View Related
Apr 14, 2010
Is there a way I can run 'completely' one of my script when ubuntu's desktop appears no matter if root , administrator, desktop user or an unprivileged user logged in?
What does the script do? The script mounts a partition, looks for a file in that partition and finally on the basis of that file a decision of copying a partition to another partition is made. That copying is done via
[Code]...
View 5 Replies
View Related
Mar 7, 2010
I've been searching the web on this, followed up hints and tips (e.g. URL...) but with no results.I'm running Ubuntu 9.10 on 3 disk configuration:
1: 80GB SSD running root with /home mounted to the next disk
2: 250GB HDD where /home lives
3: 250GB backup of disk 2
My system is complaining since just now with:The volume "file system root' has only 640MB od disk space left
View 9 Replies
View Related
Apr 8, 2010
I just installed Wine (1.1.3* dev release) and installed Notepad++ (OSS) and Net Meter (Freeware, the latest beta is actually OSS too). I also intend to install a few other things later. The only failure so far is the latest WinSCP So it made me wonder about what running a process/software as "root" actually means. When I use U.S.C or 'apt-get install' to install software on my computer, and type my password, it displays that keyring icon on my systray.
Does this mean I am root at that moment? And how about running wine, the wine processes, and any windows *.exe I'm installing and running? I basically am afraid that I am running all the wine-related stuff as root, even though there is no indication that I at least have elevated privileges. What is/are the worst-case scenario(s) about wine?
View 9 Replies
View Related
May 7, 2010
What's the command for running natilis as root? What about my natilis spelling?
View 2 Replies
View Related
Oct 11, 2010
I'm running behind a 2wire NAT Router with only have smtp, www, pop3 open routing to my ubuntu VM server. Network also includes three other ubuntu VM server's and a Desktop. I'm the only one on the network so my question is, what security risk is there running WireShark as root? Because running it under dumpcap is horrible after you quit. It hogs up all the resource to remove the dump.
View 7 Replies
View Related