Fedora :: Sudo Hanging Waiting For Password But No Prompt

Jul 22, 2011

A little while ago I moved to F14 from Ubuntu; I've been ok, but recently sudo has been causing me trouble :/It seems to hang, but eventually produces some output indicating that it has been waiting for me to input a password; but it hasn't prompted me for one.

$ sudo ls
Sorry, try again.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts

View 10 Replies


ADVERTISEMENT

OpenSUSE Install :: Login Very Slow Waiting For Password Prompt

Feb 4, 2011

OpenSUSE 11.2 (i586) IBM x3250

Login is taking forever. Nothing is running, server is idle.

Finally get prompt.

Password:

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

Security :: Limit Sudo Access - No Password Prompt

Feb 17, 2011

I have been reading guides for a while now and so far have not found an exact solution to my problem.

I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.

In the sudoers file

Code:
User_Alias Patrol=dave,john
root ALL=(ALL) ALL
Patrol ALL=(patrol) NOPSSWD: ALL

[Code].....

View 6 Replies View Related

Programming :: Automate The Password Prompt Required For Sudo Commands?

May 31, 2011

I have written a script to run commands on remote servers, it is working fine. But when I am running "sudo commands" on the remote servers, it asks for me password after prompting for ssh password. I am unable to automate this password prompt (which is just after ssh password prompt). This is the function I am using to provide passwords

Code:

pass ()
{
cd $DIR/"$dt1"_"$dt"
/usr/bin/perl << 'EOF'
use strict;

[code]....

I want the same function to be used , when it expects for sudo passwords for any of the below lines:

Code:

[sudo] password for vikas: orPassword: This is my "cmd" file passed in pass () function.

Code:

ssh -t -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 192.168.1.100 "bash rcmds"

This is my script output

Quote:

[vikas@box1 ~]$ ./rscript.sh
++ rm -rf /home/vikas/May_31
++ mkdir -p /home/vikas/May_31
++ set +x

[code]....

how to automate the password prompt required for sudo commands.

View 8 Replies View Related

Programming :: Bash Scripting With Sudo / Password Prompt And Accepting User Input?

Jul 30, 2011

I'm creating a bash script to do some tasks for me. I would like the script to be run at a set time of everyday. My first question is if it is possible that if one of the commands in the script requires sudo, is there a way to get around it with out making sudo not require a password. Such as, is there a way to include the password in the script? If that is the case, I can always just set the file as read only by sudo. I've been looking for a way to do this, with no success. if I have a command that wants input, how do I give it to the program. For example, if I want to make a zip file that is encrypted, the command would go as:

Code:

zip -r example * -e

now how would I get the script to insert my wanted password.

View 14 Replies View Related

Fedora :: Kpackagekit Keeps Waiting Forever 'Waiting For Service To Start'

Dec 23, 2009

kpackagekit keeps waiting forever "Waiting for service to start".what is this service that it is waiting for? i am running fedora 12

View 1 Replies View Related

Fedora :: Automatic Login Without Password Prompt ?

Jun 19, 2010

I made my Fedora 13 box boot up automatically by adding the following to /etc/gdm/custom.conf

Code:

However, when it boots up it prompts me for my password so it can connect to my wireless network (I think it said something about not getting my user password at login). Is there anyway I can get it to remember this?

I would like to make this automatic because this will be a remote box that I will use as a file server, but it wont be turned on all the time. So I'll turn it on when I need it, but I'll need to connect to it remotely, so obviously it needs to be on the network.

View 4 Replies View Related

Fedora Networking :: Hidden WPA Password Prompt ?

Nov 8, 2010

Has anyone else encountered the really irritating issue of a hidden WPA network not auto connecting, and prompting for the root password when you manually select 'Connect to hidden wireless network'?

It works fine if I enable broadcasting of SSID but a proviso of my broadband is to keep this disabled. Ubuntu does it without any issue, can't figure out why it won't work on FC14.

View 4 Replies View Related

Fedora :: How To SUDO With No Password?

Aug 2, 2010

I made it just like the example in visudo, but every time I exit I get an error: sudoers file: syntax error, line 87 <<<

I have tried it on several machines and always get the same thing, yet it is exactly like the example. Has anyone got an Idea what I am doing wrong ?

View 3 Replies View Related

Fedora :: Sudo Password For Root Not Going?

Oct 29, 2010

I need to run a command in a terminal, but cannot get root. I can in "Add Software" to install, I know and tried all the passwords I know from the install, but no show.What can I do?I tried sudo password, then typed in the space, no letters appear, but no success.TO "sudo password" after putting is my password, my username comes up and it says I am not in sudoers file.My Laptop has only one user, I know as I tried switching for a test.

View 12 Replies View Related

Fedora :: User Uses Root Password With Sudo

Sep 20, 2010

I want to use root password instead of adding my user to the list of sudoers,In Arch wiki ander Root password:Users can configure sudo to ask for the root password instead of the user password by adding "rootpw" to the Defaults line in /etc/sudoers: but that did not work for me. it asks for root password.Why do I want to do that:
1. I want to do that, I like sudo more than su -c 'some_command'.
2. sudo enables bash completion, su -c does not.
3. I don't want to add my user to sudoers list.

I found many users Suggesting alternatives and lowering the important of my need for this, when I asked this question in anther please.

View 8 Replies View Related

Fedora :: Using Terminal With Sudo - Would Not Accept My Password

Nov 14, 2010

My 1st time using Terminal with sudo it would not accept my password.I use it successfully to log in and is the only password i used during installation.is there a way to get terminal yo accept my password-it does recognize my user name.

View 2 Replies View Related

Fedora :: Does Sudo Have To Ask For Password Every Single Time?

Feb 9, 2011

It seems that every time I use the 'sudo' command I have to type a password. Is there a way to get 'sudo' to remember the password at least for the current session after I use it once or something like that?

View 14 Replies View Related

Ubuntu :: No Administrator Password - VLC Install Blocked By Password Prompt

Feb 23, 2011

I am new to using Ubuntu 10.10 that was installed by a friend of mine, but he didn't give me a password for administrator and now when I try to install VLC I am blocked by a password prompt. To make things worse I can't use F1 key, esc key, tab key, 1key (I copy and paste 1 from other pages when I need it). I am at a loss here and all I want is to change the administrator password without validating the current password first.

View 2 Replies View Related

Fedora :: Usual Username/password Prompt Laptop Comes Up With Smart Card Authentication & Can't Login?

Feb 8, 2010

Something has gone awry with my login. After the usual username/password prompt my laptop comes up with smart card authentication & I can't login. How do I get away from the graphical login so I can login & correct the problem?

View 3 Replies View Related

Ubuntu Installation :: "gave Up Waiting For Root Device" - Page With A Command Prompt Flashing At Initiramfs

May 26, 2010

I have a Toshiba NB305 netbook running windows 7. I installed netbook ubuntu 10.04 from a USB drive this morning after playing with the live ISO off the USB. I chose to repartition and keep Windows 7. Upon boot, I get GRUB and when I choose either the Ubuntu or the Recovery I get a "gave up waiting for root device" page with a command prompt flashing at initiramfs.

The Alert reads, "/dev/disk/by-uuid/49024e15-119a-4339-ad23-f201ce4a6d1f does not exist. Dropping to Shell!

I'm still able to boot windows 7 as well as the live cd and see all the partitions and operating systems.

I've looked inside the Grub.cfg file and the commands aren't pointing to /dev/sda5/ but rather to the uuid? Is this normal? Does this need to be changed?

I will run this script and try and get some more info.

[url]

View 9 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 :: 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

Fedora :: Sudo Password For Fedora

Jun 16, 2010

I'm using fedora 13.i had been using the su command in the kernel to grant priveleges as root for software installations in my fedora OS,it is working fine.but my question is how to set sudo password in fedora ?

View 2 Replies View Related

Ubuntu Security :: Scripts Or Applications Cannot Install Without The 'sudo' Prompt And User Input?

Feb 12, 2010

Would it be safe to say that if I build a restricted user: "Desktop" or "unprivileged" user I will be ok? From what I understand - most scripts or applications cannot install without the 'sudo' prompt and user input.

View 8 Replies View Related

Fedora Security :: Pam_auth_radius - Change The "Password:" Prompt?

Jul 25, 2011

pam_auth_radius - Change the "Password:" prompt.Im currently working on getting a two-factor supplier working with my servers.Ive installed the pam_auth_radius.so and it works fine.HOWEVER.When I SSH to the server , I get this:

warning: Need basic cursor movement capability, using vt100
Keyboard-interactive:
Password:

[code]....

View 1 Replies View Related

Fedora :: Terminal Won't Let Enter Password After Enter Sudo Command ?

Jan 12, 2011

I am pasting sudo commands without problems as a user (ales in my case) and then immediately the ask the user password.

The keyboard seems to be dead, no keys work, not allowing me to enter the password.

View 6 Replies View Related

Programming :: SSH With No Password Prompt?

Apr 19, 2010

I'm writing a script which will log into a list of servers if they have public/private keypairs set up. If a server doesn't, I want the script to move on to the next server rather than wait at a password prompt.I'm using OpenSSH version 5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 on both client and server.I'm using this command: Code: ssh root "at" "IP" -o PasswordAuthentication=no KbdInteractiveAuthentication=no I had to write "at" instead of the symbol, as I'm not allowed to "post URLs to other sites after you have made 15 posts or more."This works for most servers, but not all (on some of them the script halts at a password prompt). I suspect those servers may run an older version of SSH which doesn't support the options I'm providing

View 3 Replies View Related

Ubuntu :: Remove Password Prompt With 11.04?

Jun 22, 2011

Is there a way to getting around not having to put in the user password everytime my Wireless connects, or Install software, etc? I changed the user role to Administrator under users from the control panel (x Windows user )

View 4 Replies View Related

Slackware :: Delay SSH Prompt After Bad Password?

May 14, 2010

delay the retry response from SSH (for, say, 10, 20 or 30 seconds) when a bad password is tried by a whacker? I mean, when I'm getting hit by 10 or more break-in attempts, is there some way to make SSH delay the next try from the site that's trying?I seem to remember something about this but haven't been able to find it and, so far, reading the SSH documentation hasn't been

I have DenyHosts running (that puts entries in /etc/hosts.deny after a few tries to break in) and I completely block China, Korea and a few others that are a constant annoyance with IPTABLES but I do get hit pretty much every day and would like to discourage the bastards as much as possible (the hits are a second or so apart which tells me they're automated and I figure delaying the response will discourage 'em).For example, here's the overnight entries from /var/log/messages (the "refused connect" are from /etc/hosts.deny entries generated by DenyHosts):

Code:
May 13 03:49:50 fubar sshd[30255]: refused connect from 200.49.226.12 (200.49.226.12)
May 13 03:51:27 fubar sshd[30256]: refused connect from 200.49.226.12 (200.49.226.12)

[code]....

View 12 Replies View Related

Debian :: SSH Password Prompt Delay In Lenny

Feb 22, 2010

Before upgrading to Lenny there was no noticeable delay between entering a username & the prompt for a password when logging in via ssh. Now there is about a 5-second delay which is rather annoying. There is no delay when logging in through the Gnome UI. Anyone know why the delay is there? Is it something about ssh under Lenny? Is there a setting that can be changed?

View 1 Replies View Related

Ubuntu :: How To Disable Password Prompt On Login

Nov 12, 2010

I click on the corresponding checkbox in users and groups but but it doesn't do anything. I also want to disable password prompts in general. Also when I try using Computer Janitor it says it could not complete and to check if other package managers are open, but none are.

View 9 Replies View Related

Ubuntu :: Could Not Log In After Crash (no Prompt To Enter Password)

May 11, 2011

My Ubuntu desktop crashed last night after I accidentally bumped into the CPU box. Right after I bumped into it, it restarted automatically ... then it ran disk integrity check, also automatically ...

The issue is that I can NOT log into it. There is no way that I could enter my password. Though I could telnet into it using my laptop (I have set up telnetd into this desktop before).

I am trying to search for similar issues in this forum but I could not find one that is really like this.I have all 5 years of work in the hard drive.

The two images below shows the issue it had done.

This is my login screen (note: whenever I click "nd-desktop", it doesn't give me prompt for password.

Uploaded with ImageShack.us

This is just the screen it gives me when I click "nd-desktop" above. Also, take note there are no usual options below that could change my preferred desktop etc.

Uploaded with ImageShack.us

View 9 Replies View Related

Ubuntu :: Disable Password Prompt After Suspend 11.04

Aug 23, 2011

Can I disable the password prompt after I come out of suspend. I remember a setting in the last release but I can't find it in 11.04. Is this setting still there? Where can I find it?

View 4 Replies View Related







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