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


ADVERTISEMENT

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

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?

View 1 Replies View Related

Ubuntu :: Synaptic Asks For Root Password?

Nov 7, 2010

I can't use synaptic. Starting it from the gui appears to make it ask for the root password (of which there is none!). If i sudo synaptic, it starts fine with the appropriate privileges.

I ran into this problem first when I used rhythmbox for the first time. It needed to install plugins for my mp3s, but I can't authenticate into synaptic. The dialogue asks for "Password for root:", where I think it should ask for "Password for $USER:"

Why is this, and what can I do about it.

PS, This is a fresh install of 10.10. When transferring my old userfiles over from my old Karmic install I had to userdel the user I used when installing, and then create another user with the same name and details. The reasons for this escape me at the moment, and no doubt were entirely of my own making, but that's what happened. Has this got something to do with it?

View 8 Replies View Related

OpenSUSE :: Configuring Xen / Virtualization - Only Asks For Root Password

Apr 9, 2010

I'd like to boot my windoze partition in opensuse. However,
System > Virtualization > Create Virtual Machines Yields nothing.
Only asks for root PW, and then does nothing else. Xen is installed.

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

Debian :: Gnome 7.8 Asks For Root Password When Trying To Do Software Updates

Apr 10, 2015

When I try to do software updates in Debian Gnome 7.8 it asks for my root password. I try my usual login password but it does not work. I don't recall setting two different passwords when I installed Debian. What can I do now?

View 14 Replies View Related

OpenSUSE Install :: Start A Browser It Asks To Enter Root Password?

Sep 7, 2011

Whenever I start a browser, it asks me to enter my root password because of some pgp keyring issue. I set my password as standard in seahorse, but no change.

The Gnome3 interface sometimes lags very noticeably.

Packagekit constantly blocks my zypper use, and it won't shut down. Not even after I log out and log in again. I tried just removing everything related to packagekit, but that just breaks everything.

Searching for repositories is a pain and there are too many different ones and I never know which one is the latest and how these will be upgraded in the future. Zypper itself is awesome, everything else about package and repo management is not.

I can't uninstall applications properly. I remove them via zypper, and when I do a distro update they get added back in. (gnome games for example)

Whenever I install or search for anything in zypper, I get hundreds of these errors: GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See GConf configuration system for information. (Details - 1: Failed to get connection to session: The connection is closed)..but it still finds something.

View 5 Replies View Related

Ubuntu :: Run "sudo Reboot" Through A Key Binding - Asks For My Password

Jun 19, 2010

I've got Openbox working fairly well. I add the following line to the beginning of /etc/sudoers:

Code:

I issue "sudo reboot", sudo still asks me for my password. I'm trying to run "sudo reboot" through a key binding.

View 6 Replies View Related

Ubuntu :: Install Lexmark 5600 Printer Driver - Asks Me For My Root Administrator Password

Mar 3, 2011

I am trying to install a lexmark 5600 printer driver. It asks me for my root administrator password. I enter the only password on the system as it is my home computer and I am the only user. I get error message stating it is the wrong password.

View 4 Replies View Related

General :: Execute Root Command Without Sudo?

Jan 24, 2010

On my ubuntu I have a command pm-suspend, which puts the computer to sleep. It has to be run with sudo. Since it is inconvenient to be forced to type the password every time I want my computer to sleep, I thought maybe there's a way around it. Naively I thought that if I'd create a script as root, that invokes pm-suspend, and then let anyone execute that script, I could run that script as my own user and then that script would be considered run by root and hence be allowed to run pm-suspend. Obviously that didn't work. The root-check procedure in pm-suspend still found out that the original executor was someone different from root.

Still I think something similar (although slightly more elaborate) should work.I'm thinking about the process that allows the user to mount hard drives for example. Normally root is required, but it is somehow bypassed by the gnome utility mounting.

View 8 Replies View Related

General :: Mail Server : Reset The Password For It Using The Password Command From The Root Login?

Jul 23, 2009

I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?

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

Ubuntu :: Ask For Root Password Instead Of Sudo?

Dec 16, 2010

When i install or upgrade the system I want to be asked for the root password instead of just the normal password for sudo. The reason for this is that the kids and so on uses my system and know my password. They do not know my root password though. I do not want them to install or mess up my system by pure fumbling, so is this possible to do. A simple change in who runs the updater/install features...

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

Security :: Sudo To Root Without Password?

Jan 26, 2011

We have a couple of clusters that are running Oracle. If you're familiar with Oracle you know that it basically has to be installed as root. Something I detest. anyway, when we are building out the box, we change the root pw and give it to the DBA team to do their installs and configs. When they are done, we change the root pw (and do not give it to them), and configure sudo to allow them the rights needed to manage Oracle and their databases.

Now however, we have a different situation. The DBAs need access to uninstall and reinstall components and make modifications on an ongoing basis. Since we only support OS and hardware, not app, they are requesting permanent root access. I promptly told them no, and the politics ensued. Their manager went to their director, who went to my director, and suddenly an exception is given for his good golfing buddy. So here I am, forced to turn lose DBAs on my clusters with full root access/pw. I need a way to allow specific users (or perhaps a specific user group) the ability to become root WITHOUT sharing the root pw with them.

View 3 Replies View Related

OpenSUSE Install :: Window Named Login Keyring Appears Asks Root Password Everytime When Login

Jun 13, 2011

when i login to openSUSE a window named login keyring appears and it asks me root password. it happens everytime when i login. how to fix this problem?

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

Ubuntu :: OS Started Asking For 'password For Root' Rather Than Sudo

May 29, 2011

when I try to do admin tasks - e.g. setting my wireless connection to "available to all users" or updating a group's settings - it asks for "password for root" rather than asking for my password so it can sudo.I was forced to enable the root password, so I could do anything on my system ( sudo su; passwd; ) but I'd rather keep my root password locked and use sudo if possible.

View 4 Replies View Related

Security :: Sudo Non-user/non-root Password?

Feb 19, 2010

Stumped on this one. I'm trying to set up limited sudo authority on a desktop with some sensitive user data, and as an extra precaution I wanted to configure sudo to use a password other than the user's or the root's. I'm not sure how to do this. From the manual, we have a few options, such as "runaspw" or "targetpw", but none seem quite what I'm looking for.For instance, "runaspw" could be used if I created a user for nothing other than sudo(ing) purposes, but it requires you set "runas_default", which means that said user would have to have authority to execute said commands in the first place. This is workable, but seems like a lot of extra configuration for each specific command that I want to run, as well as creating some issues with simply commands such as "shutdown" or "reboot". Also, "targetpw" can be used in conjunction with a sudo(ing)-only user if I set an alias, but, again, this isn't quite what I am looking for.

Ultimately, what I am really concerned about in this situation are keystroke loggers, so I would prefer to avoid repeated entering the user or root password when performing administrative tasks. Also, I would prefer not having to create a sudo(ing)-only user as mentioned above to prevent a comprimised password resulting in an attacker being able to log into my system.

View 3 Replies View Related

Debian Multimedia :: KDE 3.5 On Lenny Root Password Or Sudo?

Aug 14, 2010

I have just installed Lenny on a Thinkpad R50p. During the install I opted for no root password, using the sudo option instead (I've been used to this on Kubuntu for a long time). After installing, I added KDE 3.5 with apt-get install kde-desktop - all seems to be OK, except that I am unable to add packages or perform tasks for which a root / admin password is needed. It seems that the install-time choice of sudo (shared password) does not propagate to the KDE install, which is still expecting a root password.

how to either enable the KDE desktop to work with this shared password setup, or whether there is a better route to a KDE 3.5 desktop than just installing as I did (I am aware of Trinity KDE 3.5 but the Pearson Computing source is still not up, are those packages available for Lenny anywhere else, and are they recommended?). I can of course rerun the whole install and choose root & user passwords but if there is a smarter solution it would be less of a 'reinstall Windows' type of fix

I've had a very frustrating time the last few months trying to find a KDE4 based desktop that is stable enough and not lacking some basic functions (print manager, for goodness sake), so I have temporarily thrown in the towel and will try a Stable installation that is not changing (breaking) all the time, until KDE4 series gets past this adolescent stage of development and settles down.

I do need to get back to a system I can work on rather than keep on trying different installations!

View 10 Replies View Related

Ubuntu Installation :: Root Or Su Or Sudo Password Missing?

Sep 1, 2010

I upgraded from Super Ubuntu 2008.11 to Ubuntu 10.04.1 online ( my mistake ). Now I can boot into Ubuntu 10.04 with 2 kernel options and a failsafe. However I can only boot as a user ( rejean ) and not as su or sudo. My other problem is that I don't have a gui. I would like to do a Code:sudo dpkg-reconfigure xserver-xorgbut there is no password that works.What should I do?

View 1 Replies View Related

Server :: Running A Command On A Remote Server Asks For Password (debian)

Jul 8, 2011

I am not seeing what i am doing wrong here, but here goes:

From my server I need to run a command for backup on 25 remote servers (through a script). Now I have pushed the public keys for remote ssh connectivity on all of them and it works ( I can push files using rsync without the need to enter passwords on the remote servers), howver, I need to run the following command:

ssh odsadmin@10.139.111.1 'cp -a /var/www/life /var/www/life-v4'

when I run this command, I keep getting asked to enter the password, I even tried putting sudo in front of the cp, but still get the request to enter the password.

View 9 Replies View Related

General :: Asks For Password When None Was Given On Install?

Aug 22, 2010

Installed mint 8 persistent on 16 gb usb with linux live installer. Everything worked fine, even the os and software updates (the first time I had a usb install that had everything work, boot up, wifi, persistence to name a few) I booted It up twice before, the night before I updated os and the software and tried to find a program to rip cd's. this morning I booted it up and It asked for a user name and password. I always use the same user name & password. Now It won't let me in. Do you think It has anything to do with the os update.

View 2 Replies View Related

General :: Nm-applet Asks To Enter Password

Mar 26, 2010

I use fedora 12. I am facing this problem. Not exactly a problem but I can sure use a work around.

I usually connect to wireless network. The connection is automatic so whenever the connection goes down, it is automatically restored.

But sometimes, the connection goes down, nm-applet asks me to enter the password and will not proceed until I have entered the password. I have observed that this usually happens when the request to connect takes a long time or the wifi router does not respond immediately.

Is there way to change this behaviour? I want nm-applet to keep trying until its connected and not ask me for a password. This way I can be sure that my laptop is always connected and does not need my intervention.

View 1 Replies View Related

Ubuntu :: Bypass Password For A Sudo Command?

Apr 3, 2011

I have to enter the root password every time I want to run

Code:
sudo vpnc
and I know that there is a way to avoid entering password every time but I can't remember what it is.

View 9 Replies View Related

General :: Use The Command "sudo Su Root" From User Besides Ubuntu?

Mar 17, 2011

Why can't you use the command "sudo su root" from a user besides Ubuntu?

View 2 Replies View Related

General :: Samba Asks For Username And Password When Connecting

Sep 29, 2010

I on a windows XP workstation mapping a drive \systemnaneshare and it asks for username and password. I disabled guest account in windows 2k3.

View 3 Replies View Related







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