Install-error This Programrsh Must Be Installed Setuid Root
Contents |
Amanda community forums Amanda 2.6.x Installation, Configuration and Administration amcheck must be run setuid root If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: sudo must be setuid root ubuntu click the register link above to proceed. To start viewing messages, select the forum
Sudo Must Be Setuid Root Linux
that you want to visit from the selection below. Results 1 to 8 of 8 Thread: amcheck must be run setuid root sudo: must be setuid root aix Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode February 20th, 2009,11:36 AM #1 sullivro View Profile
Sudo Must Be Setuid Root Redhat
View Forum Posts Private Message Join Date Feb 2009 Posts 11 amcheck must be run setuid root I installed amanda server-2.6.1 on Solaris 10 using the intel package on the site. Ive been over the config a number of times and I continue to have setuid problems: $ /usr/ucb/whoami amandabackup $ ls -la /opt/amanda/sbin/amcheck -rwsr-x--- 1 amandabackup disk 84816 Jan 26 15:02 /opt/amanda/sbin/amcheck $ /opt/amanda/sbin/amcheck DailySet1 ** (process:19732): CRITICAL **: amcheck must be sudo /usr/bin/sudo must be owned by uid 0 and have the setuid bit set ubuntu run setuid root $ Im running amcheck as the amandabackup user with the permissions set correctly but Im getting the same setuid error that leiw saw. If I chmod u-s amcheck to remove the setuid permission I can run amcheck as root but I run into other errors with the config in that case. Is there something Im missing here? Thanks! February 20th, 2009,12:07 PM #2 dustin View Profile View Forum Posts Private Message Moderator Join Date Mar 2007 Location Chicago, IL Posts 688 It needs to be setuid root, which means the bit must be set, but the owner must be root. Storage Software Engineer Zmanda, Inc. February 20th, 2009,12:42 PM #3 sullivro View Profile View Forum Posts Private Message Join Date Feb 2009 Posts 11 Thanks Dustin! That did it. I made a mistake in changing the ownership of the whole /opt/amanda tree to the amandabackup user. Much appreciated! - sullivro February 20th, 2009,01:26 PM #4 sachin_shetty View Profile View Forum Posts Private Message Join Date Aug 2008 Posts 1 amcheck Error Can some one please help to resolve theese problems when I am runing amcheck -c lucknowbackup I am getting theese types of error -sh-3.1$ amcheck -c lucknowbackup Amanda Backup Client Hosts Check -------------------------------- ERROR: samurai.esoftech.com: [This client is not configured for samba:
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
Chmod: Changing Permissions Of ‘/usr/bin/sudo’: Operation Not Permitted
About Us Learn more about Stack Overflow the company Business Learn more about
Sudo Must Be Setuid Root Solaris 10
hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers https://forums.zmanda.com/showthread.php?1731-amcheck-must-be-run-setuid-root are voted up and rise to the top Error after sudo-ing “sudo: must be setuid root” up vote 9 down vote favorite 4 On a colleagues computer, everytime I use a sudo command, I get this error: sudo: must be setuid root I tried various things mentioned on the internet, like changing the permissions to 4755 from a live cd, but even this command from a live-cd http://askubuntu.com/questions/21931/error-after-sudo-ing-sudo-must-be-setuid-root sudo chmod 4755 /media/device/usr/bin/sudo gives the same error. EDIT: The colleague told me that he executed this command, god knows why :/ sudo chmod -R 777 / or sudo chmod -R 777 He isnt exactly sure. permissions sudo chmod share|improve this question edited Jan 17 '11 at 6:39 karthick87 28.4k40140203 asked Jan 17 '11 at 6:30 theTuxRacer 5,876135183 Can you post the output of ls -l /usr/bin/sudo ? –karthick87 Jan 17 '11 at 6:57 I cant post it now, I changed the permissions, but it was rwxrwxrwx root:root 2 sudo –theTuxRacer Jan 17 '11 at 7:03 add a comment| 3 Answers 3 active oldest votes up vote 12 down vote accepted Reboot the computer,choose recovery console and type the following commands chown root:root /usr/bin/sudo chmod 4755 /usr/bin/sudo Reboot the machine. Also have a look at this link for fixing broken sudo. share|improve this answer edited Jan 17 '11 at 7:10 answered Jan 17 '11 at 6:38 karthick87 28.4k40140203 3 See how to Boot into recovery mode. –karthick87 Jan 17 '11 at 6:45 1 I was able to do this by logging in as root without the recovery console, if you have that available. –jocull
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://stackoverflow.com/questions/16682297/getting-message-sudo-must-be-setuid-root-but-sudo-is-already-owned-by-root hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting message “sudo: must be setuid root”, but sudo IS already owned by root [closed] up vote 8 down vote favorite 11 I'm trying to run sudo, and it's failing: must be gregd@david $ sudo ls sudo: must be setuid root gregd@david $ which sudo /usr/bin/sudo gregd@david $ ll /usr/bin/sudo -rwxr-xr-x 1 root root 165K 2012-05-16 00:25 /usr/bin/sudo* Any suggestions on how to fix this? linux sudo setuid share|improve this question asked May 22 '13 at 1:58 Greg Dougherty 1,11821625 closed as off-topic by madth3, Kevin Panko, rcs, JB., JoseK Oct 11 '13 at 8:45 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions sudo must be about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – madth3, Kevin Panko, rcs, JB., JoseKIf this question can be reworded to fit the rules in the help center, please edit the question. I having the same problem –Raja Simon Oct 5 at 10:04 add a comment| 2 Answers 2 active oldest votes up vote 33 down vote This problem is caused sometimes when the permissions of the file, /usr/bin/sudo get set to 777. If you do something like chmod -R 777 /usr/, you can do this. It effectively ruins sudo. Here is the solution if this is your problem, and the accepted answer doesn't work: To fix: Restart pc, press shift at boot menu. This should bring up GNU GRUB (ie recovery mode) menu. If this doesn't work, just restart mid boot and choose recovery mode when prompted on next launch. Select the line which starts with Advanced options Select the topmost version of the OS ending with ("recovery mode") Press enter In the following menu, go down to "Drop to root shell prompt" Type the following: mount -o remount,rw / mount --all chown root:root /usr/bin/sudo chmod 4755 /usr/bin/sudo restart This should restore sudo privellages. share|improve this answer edited Oct 11 '13 at 3:25 Kevin Panko 5,99283249 answered