How do I disable sudo password for nano editor in my box ? I've already tried this following line in /etc/sudoers. But I haven't logged off or rebooted the box maybe this is why it did not work.
user ALL=(ALL) NOPASSWD: /usr/bin/nano
so for example when I try to edit file /etc/nginx/nginx.conf I run nano /etc/nginx/nfingx.conf
or this won't work because nginx.conf file belongs to root ?
Whenever I type in Sudo in my terminal, it asks for a Sudo password.. I have not set one up and I don't know what the sudo password is.. Can you disable it or change it?
On a notebook mainboard, that has no display, a vga display is connected, I want to set mainboard display to turned off and vga display turned on and primary. Keeping the settings after restarting.
In lxde there is 'display settings'. If I set 'turn off laptop lcd and use external monitor only vga', it does not keep the setting, not even until the computer is turned off. It defaults to the setting with both displays turned on.
I got this link [URL] ....
I cannot find the location of the file.
Using nano editor on a file, can I set the vga display to get the only and primary display also after restarting the mainboard? What file and location?
Should I edit text to xrandr --output VGA1 --mode 1024x768 --rate 60 xrandr --output VGA1 --primary
What do I write to turn off lvds display? Will the settings apply such that the debian login screen will show on the vga display when starting the mainboard?
I am trying to copy paste from a file in Nano to a text editor outside of nano on my machine (I am running windows using Nano through Putty) and I cannot figure out how to do it. I can select with mouse support enabled everything that I want to in Nano and I can cut it, but when I try to copy into my other text editor, it does not work.
I prefer to use the built-in editor that came with mc, which can be accessed with 'mc -e', however, I find when using midnight commander, if I type 'F4', then I'm presented with nano, which isn't what I want.
i have been trying to find the nano or pine text editor for suse 10 64bit architecture but unable to find it and use it. i am not interested in vi editor. i have been using nano for fedora/RHEL for a long time. in finding rpm of nano/pico for suse 64bit architecture.
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?
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 wondering what the easiest way for me to disable su and perform all root stuff using sudo, the way Ubuntu works. I am using a shared system, openSUSE 11.3, and notice that the only item that gets logged in su is who su'd. I need more information and sudo + command gets logged to /var/log/messages so I can see who did what and when. How can I get openSUSE 11.3 to work similiar to Ubuntu when it comes to running elevated commands or editing files that a normal user doesn't have rights to?
In Ubuntu, When I type sudo and hit enter, the new command will appear on the command line, instead of simply executing. This is different from other operating systems I've used, such as older ubuntu's, mac osx and debian. Is there a way of disabling this confirmation and having it simply execute the command?
I installed ubuntu minimal install with xorg, lxde, and lxdm During the manual install, I do remember it asking something about extra encryption on password or something like that which was "highly recommended" and I chose yes, which probably has nothing to do with my problem, which is: Whenever I run something in the terminal with sudo, it just opens without asking for password. What did I do wrong? How might I fix this?
I have read about 10 treads already and no matter what I try, I can not get this working. My goal: [URL] My specific case: I have created a script /home/pastet/nomouse.sh which contains the lines
[Code]...
(Bash is the correct execution command for .sh on my computer, I have tested and the script works with it). I am usung 9.10
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...
I installed Ubuntu 10.04 as a vm in VMPlayer 3.0. My correct user password is required to log in. When I use the sudo command or enter an area that requires my password, the password box pops up as it should.
The problem is: If I enter my actual password, it is not accepted. But if I enter nothing, as in just hit enter, it works. It shouldn't.
That seems just a little backwards and I don't get it. I've re-installed the vm and still have the same problem.
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".
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.
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.
It appears that Lucid has done away with the gksu prompt that used to greet you when you try to mount a partition. Is there any known way of restoring this? I have a number of partitions which I would rather have protected by a password (even though I know that booting a live cd will give anyone access to any mountable partition, no questions asked). I've had a quick look in gconf and found nothing that looks like it would control this behaviour, but it's quite likely that I overlooked something.
Before you say you shouldn't do that bla bla bla. I know why i shouldn't.
However i have a problem with running sudo commands from a non interactive command line script run using plink.
The automated script needs to use chown and give the current user ownership of some files and folders created by another user.
I can't use things like sudo -s etc as it requires that i enter a password.
I have setup public key authorization in order to login. Do i have to give the root user a password and log in as that. I would prefer not doing this but if that is the only solution i guess i'll have too.
This is a new installation.My system login password is recognized and that same passwd is recognized by the Software Centre, but not with sudo in the terminal.
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?