General :: Sudo Password Incorrect

Apr 19, 2010

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.

View 9 Replies


ADVERTISEMENT

Ubuntu :: Sudo: 3 Incorrect Password Attempts

Feb 7, 2010

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".

So, how to I get root privileges back again?

Code:
name@machine:/media$ sudo rm -R FreeAgent
Sorry, try again.
Sorry, try again.
Sorry, try again.

[Code].....

View 9 Replies View Related

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

View 11 Replies View Related

General :: Entered An Incorrect Password Too Many Times Trying To Us SSL VPN?

Jun 21, 2011

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.

View 3 Replies View Related

Software :: Su - Incorrect Password - When Screen Saver Is Lock It Won't Accept My Password As Well

May 21, 2010

I can log into the user directly, ssh, but can't su to anyone

My problems: When i try to so su to any of the user I get this message

Also when screen saver is lock it won't accept my password as well

Example:

Steps and other way I have try to get this problem fix but fail

1] boot up a working version machine and look at

2] check the permission and the sticky bit on /bin/su file

3] went and copy the entire /bin; /usr/bin ; and /etc/pam.d from a working system over the the failed system and it also doesn't help

View 1 Replies View Related

General :: Sudo No Password

May 23, 2011

I have an old server running RHEL 5.5 and I normally just type sudo nothing else and I'm instantly root. I copied my sudoers file from here to a new server but it seems not to work cause I type sudo and it ask for usage. Is something else besides the sudoers file that prevents me from logging in with sudo only.

View 5 Replies View Related

General :: How To Get Sudo Password?

Apr 28, 2011

how to get sudo password? login not working for password

View 10 Replies View Related

General :: Safer No Password Sudo?

Nov 22, 2010

This is on my host machine. I'm the only one using it so it's fairly safe, but I have a very complex password that is hard to type over and over. I use the console for moving files around and executing arbitrary commands a LOT, and I switch terminals, so sudo remembering for the console isn't enough (AND I still have to type in my terrible password at least once!) In the past I have used the NOPASSWD trick in sudoers but I've decided to be more secure. Is there any sort of compromise besides allowing no password access to certain apps? (which can still be insecure) Something that will stop malware and remote logins from sudo rm -rf /-ing me, but in my terminals I can type happily away? Can I have this per terminal, perhaps, so just random commands won't make it through? I've tried running the terminal emulations as sudo, but that puts me as root.

View 6 Replies View Related

General :: Sudo With Seprate Password

Oct 7, 2010

Is there a way I can setup sudo with a seprate password other than root and the user password and yet I need it to pull the password from the passwd file. Ok here is why they are wanting to tie the sudo password into cyberark appliance that manages the passwords. So when the user needs to run a root command they would check out a password from cyberark. cyberark changes password from in the password file. So to restate myself is there a way to set sudo up to pull its own password from the password file and not the users or root.

View 3 Replies View Related

General :: Sudo - Run All Commands With Password?

Feb 16, 2010

Having a problem with sudo. I'm down as a user who can run all commands as root provided I enter my password. The relevant line from my /etc/sudoers file :

Code:

user1 ALL=(ALL) ALL

There are several commands that I run quite frequently such as mount and fdisk but would like to avoid having to enter a password each time I use them. What would be the appropriate change to the sudoers file ?

UPDATE: I neglected to scroll down to the bottom of the /etc/sudoers file where there was the line :

Code:

%admin ALL=(ALL) ALL

and since user1 was a member of the admin group any predeeding lines were being overidden by this. Commenting out this line and adding

Code:

user1 ALL= NOPASSWD: /bin/mount, /sbin/fdisk

View 1 Replies View Related

General :: Enable One User To `sudo` Without A Password?

Jun 4, 2010

How can a user be setup to sudo (or su -) without entering a password?

View 1 Replies View Related

General :: Make Sudo Ask For The Root Password?

Jul 9, 2010

When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to run commands as root. So how can I make sudo ask for the root password instead of the invoking user's password? I know it'd be done with a line in /etc/sudoers, but I can never seem to properly parse the BNF grammar in the man page to figure out exactly what to write.

View 4 Replies View Related

General :: Sudo Su Runs Without Password Prompt?

May 25, 2011

So here's the problem. We've got the /etc/sudoers file set up so that users can run commands from /bin like "cat" or "mkdir" without entering a password. The problem is that the "su" command is also in /bin, so if they enter "sudo su", it gives them root access without a password. Here's the /etc/sudoers file:

Defaults targetpw
%users ALL=(ALL) ALL
root ALL=(ALL) ALL
support ALL=(ALL) NOPASSWD: /sbin/, /bin/, /opt/, /etc/init.d/, /elo/
support ALL=(ALL) NOPASSWD: /usr/bin/mysql

Is there a way I can deny /bin/su while still allowing the rest of the /bin commands?

View 1 Replies View Related

General :: Sudo For A Single Command With No Password Entry

Apr 20, 2010

I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.

I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?

View 3 Replies View Related

General :: Specify Password For Sudo Command When Running Bg Process?

Jun 23, 2010

I'd like to start a background job using the sudo command and route its output to a file. This presents a problem because the prompt for the password doesn't work properly. It looks something like this when I try it:

Code:
Mac:server user$ sudo php crossdomain_server.php > data/crosscomain_output.txt &
[3] 30303
Mac:server user$ Password:
[3]+ Stopped sudo php crossdomain_server.php > data/crosscomain_output.txt
Mac:server user$

Basically I'm not properly prompted for the password and as soon as I type anything in my background job fails because it didn't receive the password. Is there any way to execute a sudo command by supplying the password on the same line as the command?

View 9 Replies View Related

General :: "Login Incorrect" Error After Boot - No Password Prompted

May 17, 2011

I have built a linux image based on kernel 2.6.32.10. The image boots up fine & at the login prompt when I enter the login Id - the
system doesnt prompt for password - instead throws an error message "Login incorrect".

mygway login: admin
Login incorrect
login: root
Login incorrect

From all the search I did, I narrowed this down to be a pam configuration issue. I checked that the /etc/securetty has an entry "/dev/ttyS0" to allow root to logon via serial console - so I ruled out this file to be a cause for that error. Few files that I am not entirely sure are as below:

1) /etc/pam.d/login
sudo cat login
#%PAM-1.0

[code]....

View 5 Replies View Related

General :: Error Message "the Password Is Incorrect"

Jul 24, 2010

i downloaded alinux 14.0 and when i restarted my pc to install it,it asked for login and password and i tried many and many of them but it always give the same message "the password is incorrect"

View 2 Replies View Related

General :: Sudo And Command Line - Get The Result Without Having To Supply A Password

Mar 31, 2011

I have the following commande /sbin/fuser -f -u /u/DT01/F010107 1>/tmp/null 2>/tmp/seausr.T0069 when executing as root 'su' this give me all user using the file. but when tried with 'sudo' i am asked with 'user password'. Is ther anyway to simply get the result without having to supply a password and to see all user not only me. (i have the file open also).

View 1 Replies View Related

General :: Sudo Command Occasionally Asks For Root Password?

Sep 9, 2010

In Ubuntu 10.04, I logged in as user1 and when I open a new terminal and issue any command it is asking password.user@ubun-laptop:~$ sudo ifconfig[sudo] password for user: It is asking for password only for first time.From the next command onwards it is not asking.Can some one please tell me if it is possible to issue ONLY ONE COMMAND, in which even if the password request comes, it will automatically fill the password.Just like "ps -elf | grep NetworkManager". I am expecting any combination of commands in a single line, so that password is filled automatically IF PASSWORD IS ASKED. If password is not asked, the command must be executed.

View 17 Replies View Related

Debian :: Incorrect Password - Try Again

Jun 30, 2015

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: Select all:~# cd ..
:/home# cd ..
:/# mkdir -p /root/.local/share/
:/# touch /root/.local/share/recently-used.xbel
:/# exit
exit
:~$ gksu mousepad /etc/apt/sources.list

Got another window prompting me for password, gave "Incorrect password...try again"

View 2 Replies View Related

Software :: Get - Su - Incorrect Password ?

Jun 29, 2011

I type "su" or "su -" either as a normal user or as root I get "su: incorrect password" back.

When I execute 'su' or 'su -'from one user to another user,(the password I input is right.) like this

Code:

Code:

The strange thing is, before I switch to the oracle is from the root without password.And I am sure I input the correct password.

By the way, I can login the system by oracle,the account is not disabled.

The system is CentOS 5.1

Code:

Code:

Code:

And,

Code:

Code:

View 4 Replies View Related

Red Hat :: Su: Incorrect Password PAM As Root?

Apr 15, 2011

I've inherited a linux box, redhat I believe.

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..

[Code]...

View 6 Replies View Related

Ubuntu :: Sudo And Login Password Recognized - Password Box Does Not Like

Apr 27, 2010

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?

View 4 Replies View Related

Ubuntu :: Incorrect Password For Administrater

May 11, 2010

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!

View 2 Replies View Related

Red Hat / Fedora :: Centos5.5 - Can't Su - Incorrect Password?

Oct 6, 2010

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.

View 4 Replies View Related

CentOS 5 :: Su - Command And Incorrect Password?

Feb 23, 2011

I have a new install of cent os 5. When I try to use the su - command. I get a invalid password error. I am using the correct password.

View 1 Replies View Related

Fedora :: Checkgmail Incorrect Username Or Password?

Oct 19, 2009

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.

View 2 Replies View Related

Ubuntu :: Install New Printer - Password May Be Incorrect

Jan 8, 2010

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?

View 9 Replies View Related

Ubuntu :: Application Password Is Incorrect - 10.10 With The GUI On A Spare Box

Jan 31, 2011

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.

View 4 Replies View Related

Ubuntu :: Login Password To Be Different Then SUDO Password?

Jun 25, 2010

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.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved