CentOS 5 :: SU Works But SUDO Fails With Incorrect Password?
Mar 27, 2009
I hope I haven't missed this in another forum but was tough to search for.While administering my new centos 5.2 x86 server through SSH I am successfully able to issue
I have set up a new account, with a user name of Benjamin.However, when running a sudo command, while logged in with the user name 'Benjamin', I receive an incorrect password error.Yes, I am entering the password for user name 'Benjamin' and not that of the root account.
My root filesystem recently filled up. I finally established why - that my /media directory had filled up due to the USB-attached device having been unmounted for whatever reason, and SimpleBackup tried backing up without the mount in place - thereby filling up the filesystem.
I discovered that the root directory was full when the machine tried to get updates, and couldn't. So, I went into /media and tried to delete the backup directory and file(s) that were in that directory, but it tells me that permission is denied. So I try to SUDO the same command, and it tells me 3 times in a row, "Sorry, try again", followed by "sudo: 3 incorrect password attempts".
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:
Code: User user1 may run the following commands on this host: root) /sbin/shutdown -h now, /sbin/shutdown -r now
My promlem is that i wrote a few simple script to monitor the network connection as follows: script 1 "netmonitor.sh"
Quote: #!/bin/bash # /usr/local/bin/netmonitor.sh ping -c 1 "$HOST" > /dev/null 2>&1 if [ $? = 0 ]; then echo "`date` Network is ready!" |
[Code]...
Is it possible, that if system don't use the connection after getting the DHCP lease, it close the connection automaticly? Anyway it works ok, but i don't want to owerwrite my router's flash in every 5 seconds with te new lease, my script probably defeat it soon if i don't do anything
Code: Select all:~$ su Password: #Typed user password su: Authentication failure ~$ su Password: #Typed root password su: Authentication failure :~$ sudo su
[Code] ....
The file does open but with a warning in red saying i could harm my system. Had almost got everything configured just as like it, tried adding a custom action (open as administrator) to Thunar and my house of cards collapsed around me.
Debian 8 xfce, single user account, passwords and user names are single characters so it's a given there's no typing error.
Code: Linux tmif3 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux I added a user useradd billy because I don't like being root. I changed the password using passwd billy all as normal. when I try to logon, ssh rsh I cannot. even as root with an su - yields the following..
I needed to use Synaptic Package Manager to install an app, but the dialog box ("enter the Administrative Password") that pops up before you can use Synaptic doesn't recognize my password ("incorrect password). I tried typing it into a text editor and it's spelled right, caps lock not turned on or anything.
In Terminal, sudo recognizes it, and it is recognized when I log into Ubuntu. I'm the sole user, I have admin privileges, I've been doing admin things.
I just now did System > Administration > Users and Groups and got a dialog box saying
"Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL] for information. (Details - 1: Server ping error: IDLmg.org/CORBA/COMM_FAILURE:1.0)"
Moving past that, I changed my user password, and Ubuntu authenticated it.
How do you launch Synaptic Package Manager from the command line?
I'm trying to install the driver for my Lexmark prospect Pro-205 printer which I downloaded from the Lexmark site but when I type in my administrater password it keeps saying wrong password while I know it's the right password!
I don't know how I've managed to mess this one up, but in the midst of securing my webserver (ie. changing default SSH port, add new user, disable root SSH) I seem to have broken su functionality....somehow.
When I ssh as my user "lockdown" I attempt to "su -" and immediately am prompted with "su: incorrect password"
Code: lockdown[ at ]bag [~]# su su: incorrect password lockdown[ at ]bag [~]#
I re-enabled root SSH login (via editing /etc/ssh/sshd_config) and I'm able to SSH as root no problem, however I can't su even from root to another user, getting the same behavior and error message..
Code: root[ at ]bag [~]# su lockdown su: incorrect password root[ at ]bag [~]# Here are my permissions for /bin/su ... Code: root[ at ]bag [/]# ls -l /bin/su -rwSr-xr-- 1 root wheel 28336 Feb 28 2010 /bin/su* My user "lockdown" is a member of the wheel group, and I haven't edit /etc/pam.d/su or system-auth at all.
I've been using checkgmail package on my f10 (x86_64) box for a while now without problems. But all of a sudden, I see a pop-up windowtating: incorrect username or password. No matter how many times I enter my usernamend password the window keeps coming back demanding for the same. My system is up to date and I've rebooted my system a few times, but the problem persists.
I am trying to install a new printer and delete my old one. It keeps asking for my password, I enter the same one that I log on with. It keeps telling me that the password may be incorrect. To my knowledge, I only know the one that I log on with. Does anyone know what the heck this thing is talking about?
I installed Ubuntu Server 10.10 with the GUI on a spare box I had. This is my first experience with Ubuntu. I have never used Linux before this. The system works great and logging on is no problem. However I installed 2 applications, gparted and samba. When I go to open either application I enter my logon password and I am told that the password is not correct. I am the only user on this machine and went to the accounts setting and changed my account type from custom to administrator to no avail.
I formatted my drive and reinstalled the whole thing again and got all available updates also. I reinstalled gparted and samba a second time on the new install and I still am told that the password is incorrect again when opening thes apps. Is there a simple, easy to understand way for this first time Ubuntu 10.10 user to correct this. There must be a minor flaw in this OS that is denying me use of my apps.
I just got a new laptop for work that dual boots with Windows 7 and Ubuntu 10.10.Normally, I can use an sslvpn connection to log onto my office servers to transfer data back and forth through Windows. However, I do my actual work on Linux, which the computing services department at the university where I work has not set up a sslvpn connection method for.I got the JRE set up on Linux and loaded up the sslvpn connection when I was asked for my sudo password. After following some other instructions, I created a different password to act as root.I entered that password over and over again and now I'm not able to attempt to connect again by trying another password.
Is it possible to have your login password t be different then your SUDO password. I did a search on sudo password- Almost every post has the term in it.
I am trying to setup 2-factor authentication for SSH with PAM. Its working well, but if the password is incorrect, it does not ask for validation code, but rather asks for the password again. Any way not to warn about an incorrect password?
today i got this message everytime i try to login to yahoo messenger:"gyachi invalid user or incorrect password !" The user and password are corect, if i switch to kopete or pidgin is all right.Only with gyachi i have that problem. Using Fedora 10, gyachi improved v1.2.3
I'm using Fedora 12 KDE, and I'm trying to connect a Lexmark printer. It's a printer that I can connect to in other KDE distros. When I try to connect to it through the system settings printer manager I get a popup window that says, "Password may be incorrect", and then it goes to the new printer window. However, there is no option for a lexmark printer, lpd, ipp, or anything in the left menu bar. There's only an option for other, and a little box that asks for the uri. Am I missing a package, or is this normal behavior? Do I have to somehow open this up in sudo? Am I missing a package? I have cups, foomatic, and ghostscript installed.
Got latest version of ubuntu, installed skype and i keep logging in it keeps saying incorrect pw. than i made a new account and tried that, still incorrect pw?
After locking my GUI session, if I type my password incorrectly when I come to unlock it, the system often (not always) seems to hang for a long time, with the text "Checking..." displayed. The length of time can be many minutes.The system is not actually frozen - if I hit CTL+ALT+F6 I can log on to a console session, from which I can see a tty7 process (i.e. the GUI session) using the 'ps' command. Sometimes the only way I can recover is to kill this process, upon which a new GUI session starts up, but this is undesirable as I lose any open applications.
One of my servers is displaying the error as login incorrect even after giving the correct password. Once I restarted the Virtual Machine and after that it is accepting the same password to login. I am not able to find out the problem, why the server is not able to validate the password until the virtual machine gets rebooted.
Just like the title says, if I were to try to run anything through gksu and accidentally put in an incorrect password, instead of the gksu window coming up again, it would just terminate.
We have a small cluster of 20 HP systems, all running CentOS 5.3 in an NFS-root environment. Half are quad-socket, quad-core Xeon E7340 @ 2.40GHz (total 16 cores), the other half are 8-socket, quad-core Opteron 8354 (total 32 cores). All systems have a Mellanox Infiniband adapter ("Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] (rev a0)")
With kernel 2.6.18-128.1.6.el5, infiniband works fine on all systems.
With the update to kernel 2.6.18-164.11.1.el5 (and both types of node running the same NFS-root image), the 16-core Xeons still work fine. Infiniband no longer works on the 32-core Opterons. Specifically, either the ib0 interface fails to appear, or it does appear but when configured with an IP address, doesn't actually work. In either case, loading the IB kernel modules takes a long time, but I haven't instrumented the load script yet to see which module, if any, is at fault. More errors listed below.
However, if I tweak the BIOS of the 32-core systems to reduce the per-socket core count to 2 (so effectively 8-socket, dual-core, down to a total of 16 available cores), Infiniband starts working again. Putting it back to 32-cores makes it fail. Booting the older kernel makes it work again. In summary: old kernel, IB works on all systems. Newer kernel, IB only works on 16-core systems.
Updating the IB firmware from 2.5.0 to 2.7.0 (latest available) doesn't help. I also did a full 'yum update' to make sure that libmlx4, openibd all other associated packages were up-to-date. Doesn't help either.
Some errors that appear on 32-core nodes:
ib_query_port failed (-16) for mlx4_0 ib_query_port failed (-16) for mlx4_0 mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16) mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)
Today I have installed Linux SUSE 11.2 . At installation, I was asked for user-name and password. I edit this correctly.
At the end of the installation, the system reboots until the mask 'user name' and 'password' will be displayed. When I edit my user-name and the password the system said, that the login is not correct.
First, I think, I have forgetten my password an do a new installation of Linus SUSE 11.2 . Whatever, the same problem ist still there.
I just did a fresh install of 10.10 and whenever I log on it request the password for default keyring (the same as sign in password) in previous versions of ubuntu it never asked and automatically started the wireless; now it asks and tells me the password is incorrect. I can hit cancel a numerous amount of times and it will eventually allow me to connect, but that doesn't seem like a good fix in my opinion. This also happened when I tried out lubuntu 10.04 which I promptly removed due to the menu style.