Ubuntu :: Disable Sudo Password For Nano Editor?

Aug 11, 2011

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 ?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Sudo Password - What Is It / Can I Disable That

Apr 26, 2011

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?

View 3 Replies View Related

Software :: What Is The Processing Of Nano Editor

Nov 4, 2009

what is the processing of nano editor in linux???

View 4 Replies View Related

Ubuntu :: How To Save Cron Job In Nano Text Editor

Jan 17, 2010

I've looked at tutorials but can't find out how to save a cron job in nano text editor.

I open crontab with

Quote:

crontab -e

The cron job I want to save is

Quote:

wget --output-document=dwr_$(date +\%Y\%m\%d\%H\%M).gif http://imd.gov.in/section/dwr/img/caz_chn.gif

So now I've got this in nano text editor

Quote:

# m h dom mon dow command
wget --output-document=dwr_$(date +\%Y\%m\%d\%H\%M).gif http://imd.gov.in/section/dwr/img/caz_chn.gif

What exactly do I do now to save the cron job? File doesn't have a Save As option,;just Open Terminal, Open Tab and New Profile.

View 9 Replies View Related

Debian Hardware :: Use Nano Editor To Set Which Display To Use?

Nov 14, 2015

debian 8 64bit
lxde

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?

View 7 Replies View Related

General :: Copy/Paste From Nano To An Outside Text Editor?

Mar 27, 2011

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.

View 4 Replies View Related

Software :: Midnight Commander Using Nano, Not Built-in Editor?

Jun 26, 2010

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.

View 1 Replies View Related

General :: Nano /pico Text Editor Required For SUSE10?

Jul 23, 2009

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.

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

Ubuntu Servers :: Disable 'sudo' For All Or A Particular User And Allow Only 'su'?

Jul 30, 2010

How to disable 'sudo' for all or a particular user and allow only 'su'?

View 6 Replies View Related

OpenSUSE Install :: Any Way To Disable SU And Only Use Sudo

Aug 12, 2010

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?

View 9 Replies View Related

Ubuntu :: Sudo - Disable Confirmation And Simply Execute Command

Aug 5, 2010

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?

View 3 Replies View Related

Ubuntu :: Sudo Isn't Asking For Password?

Jul 27, 2010

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?

View 5 Replies View Related

Ubuntu :: Run Sudo Without Password

Aug 2, 2011

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

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

Ubuntu :: 10.04 Sudo Not Needing Password

May 4, 2010

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.

View 3 Replies View Related

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

Ubuntu :: Sudo Doesn't Accept Password?

Oct 10, 2010

I've read through some threads here but the problem I'm having doesn't seem to be the problem others are having.

I just reinstalled 10.04 today after my last installation messed up after a month.

early when I first installed the terminal and sudo were working perfect but now, this is what I'm getting:

[sudo] password for dimebag:
<password>
Sorry, try again.
[sudo] password for dimebag:

[Code].....

I tried every solution I saw and nothing works. I've been having a heck of a time trying to install things.

View 3 Replies View Related

Ubuntu Security :: Sudo Su. No Password Needed

Mar 22, 2011

why when I type sudo su in a terminal there's no need to enter my password, I just go straight into root

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

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

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

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

Ubuntu :: Require Sudo Password On Partition Mount?

Apr 30, 2010

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.

View 9 Replies View Related

Ubuntu :: Use Sudo Without A Password For Non Interactive Login Using Plink ?

Jun 2, 2010

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.

View 4 Replies View Related

Ubuntu :: Sudo Command Doesn't Recognize My Password?

Jun 18, 2010

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.

View 2 Replies View Related

Ubuntu :: Run Basic Script Without Need To Input Sudo Password?

Aug 19, 2010

I have a basic script that I have thrown together and have created a launcher for it so I can update my computer with one click:

Code:
#!/bin/bash
tty -s; if [ $? -ne 0 ]; then gnome-terminal -e "$0"; exit; fi

[code]...

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







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