Sponsored Content
Full Discussion: Sudo installation failure
Operating Systems HP-UX Sudo installation failure Post 302875942 by Peasant on Thursday 21st of November 2013 04:58:02 AM
Old 11-21-2013
Check your $PATH if it includes /usr/local/bin echo $PATH, or invoke the commands with full path like /usr/local/bin/sudo <your stuff>
 

10 More Discussions You Might Find Interesting

1. OS X (Apple)

GRUB Error and Installation Failure

...I haven't been here in along time! Anyways, I didn't know where I should put this, as this involves practically three OSes, so if this is in the wrong place, feel free to move it. Recently, I thought about this: installing OpenSUSE 10.1 on my Mac Mini's (Intel Core Duo) external hard... (0 Replies)
Discussion started by: Danny_10
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. 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

4. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

5. Solaris

Solaris Re-installation failure

Hello Community. I had installed solaris 5.10 OS on an X86 server using a custom-jumpstart installation program and it was performed successfully. Due to some issues, i had to go for reinstallation using the same jumpstart but this time it failed giving below error. Starting Solaris... (1 Reply)
Discussion started by: mystition
1 Replies

6. Solaris

t2000 Sol10 installation failure

Hi folks, I've searched as much as possible with regards to the installation of Solaris 10 and this error that I keep getting no matter which arguments I use. sol-10-u9-ga-sparc-dvd.iso sc> showhost Sun-Fire-T2000 System Firmware 6.7.12 2011/07/06 20:03 Host flash versions: OBP... (3 Replies)
Discussion started by: dnetcrawler
3 Replies

7. SuSE

Failure of Vmware Server 2 installation on SLES 11 SP2

Issue: I am trying to install Vmware Server 2(VMware-server-2.0.2-203138.x86_64) installation on SUSE Linux Enterprise Server 11 (x86_64) SP2 and it fails with error: None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try... (3 Replies)
Discussion started by: rupeshkp728
3 Replies

8. SuSE

Wine Installation Failure

When I try to install wine either through yast or zypper it fails with below message: zypper in wine Refreshing service 'nu_novell_com'. Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides libOSMesa.so.8()(64bit) needed by... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

9. Post Here to Contact Site Administrators and Moderators

EEM Installation failure

I am trying to install EEM on Linux but found with below issue 27 Sep 2013 01:10:41 INFO iGateway - Check if we can upgrade from Linux 2.4 to 2.6 installer 27 Sep 2013 01:10:41 INFO iGateway - iGateway components conf, Spin.conf] Please suggest, If any further information is required... (1 Reply)
Discussion started by: rakesh_411
1 Replies

10. Shell Programming and Scripting

Gamit installation error: showing Failure in make_gamit -- install_software terminated

what i should to do next? read full query first please!! harshbhu@harshbhu:/usr/local/gg/10.6/updates/Source$ sudo ./install_software sudo: unable to resolve host harshbhu install_software version 2017/06/29 GAMIT and GLOBK to be installed into /usr/local/gg/10.6/updates/Source If... (0 Replies)
Discussion started by: ankit lohar
0 Replies
sudo_root(8)						      System Manager's Manual						      sudo_root(8)

NAME
sudo_root - How to run administrative commands SYNOPSIS
sudo command sudo -i INTRODUCTION
By default, the password for the user "root" (the system administrator) is locked. This means you cannot login as root or use su. Instead, the installer will set up sudo to allow the user that is created during install to run all administrative commands. This means that in the terminal you can use sudo for commands that require root privileges. All programs in the menu will use a graphical sudo to prompt for a password. When sudo asks for a password, it needs your password, this means that a root password is not needed. To run a command which requires root privileges in a terminal, simply prepend sudo in front of it. To get an interactive root shell, use sudo -i. ALLOWING OTHER USERS TO RUN SUDO
By default, only the user who installed the system is permitted to run sudo. To add more administrators, i. e. users who can run sudo, you have to add these users to the group 'admin' by doing one of the following steps: * In a shell, do sudo adduser username admin * Use the graphical "Users & Groups" program in the "System settings" menu to add the new user to the admin group. BENEFITS OF USING SUDO
The benefits of leaving root disabled by default include the following: * Users do not have to remember an extra password, which they are likely to forget. * The installer is able to ask fewer questions. * It avoids the "I can do anything" interactive login by default - you will be prompted for a password before major changes can happen, which should make you think about the consequences of what you are doing. * Sudo adds a log entry of the command(s) run (in /var/log/auth.log). * Every attacker trying to brute-force their way into your box will know it has an account named root and will try that first. What they do not know is what the usernames of your other users are. * Allows easy transfer for admin rights, in a short term or long term period, by adding and removing users from the admin group, while not compromising the root account. * sudo can be set up with a much more fine-grained security policy. * On systems with more than one administrator using sudo avoids sharing a password amongst them. DOWNSIDES OF USING SUDO
Although for desktops the benefits of using sudo are great, there are possible issues which need to be noted: * Redirecting the output of commands run with sudo can be confusing at first. For instance consider sudo ls > /root/somefile will not work since it is the shell that tries to write to that file. You can use ls | sudo tee /root/somefile to get the behaviour you want. * In a lot of office environments the ONLY local user on a system is root. All other users are imported using NSS techniques such as nss-ldap. To setup a workstation, or fix it, in the case of a network failure where nss-ldap is broken, root is required. This tends to leave the system unusable. An extra local user, or an enabled root password is needed here. GOING BACK TO A TRADITIONAL ROOT ACCOUNT
This is not recommended! To enable the root account (i.e. set a password) use: sudo passwd root Afterwards, edit the sudo configuration with sudo visudo and comment out the line %admin ALL=(ALL) ALL to disable sudo access to members of the admin group. SEE ALSO
sudo(8), https://wiki.ubuntu.com/RootSudo February 8, 2006 sudo_root(8)
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy