Fedora :: Visudo - How To Replace VI With Nano Instead
Mar 10, 2010
I need to use visudo in order to make a shell script properly work, certain parts of it require that I can use sudo without being prompted to enter my password and I need to use visudo to properly edit sudoers. I cannot stand vi, I don't know how to use it very well, the documentation/manual is confusing and to be honest i would rather use nano, I personally hate vi or vim and would never in a million years want to use it. Is it possible in fedora 12 to change visudo to sue nano instead? I don't care if I have to recompile visudo to make this a possibility because it beats using vi any day of the week. (In fact I don't get why it is the default, it is very awkward!)
View 3 Replies
ADVERTISEMENT
Dec 1, 2009
i try today to install Firestarter , unfortunately i got some problems regarding of the following messages:
1- insufficient privileges :
2- how can i change and save the file /etc/sbin/firestarter with visudo cammand
3-i got this message when i try to run it through terminal Error reading /proc/net/ip_conntrack: No such file or directory
View 5 Replies
View Related
Jun 12, 2011
Whenever i try to veiw any file in nano through commandline by nano -w <file> it doesnt show my any data on that page it just open up a blank page bt when i installed it ie lst night it was showing the data of the file properlly now whats wrong with hat nano ?
View 7 Replies
View Related
Nov 22, 2009
I noticed a problem when editing files with nano. This problem happens if the terminal window that I run nano from is not wide enough to show the full line.By way of example below is part of my grub.conf
Code:
title Fedora (2.6.31.5-127.fc12.x86_64)
root (hd0,13)
kernel /boot/vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=UUID=47e4c448-8087-4ec6-a67b-814845a598db noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us vga=0x370 nouveau.modeset=0
initrd /boot/initramfs-2.6.31.5-127.fc12.x86_64.img
If we assume the code box above is the size of the terminal window, if I edit anything past what will show as the $ sign in nano, it will automatically add a carriage return. So if we take the kernel line above, if say the screen shows at the end root=UUID=$, if say I were then to add 00 the end of the UUID, it will move everything starting from root=UUID= to a new line. Is there some wrap feature that is enable in Fedora for nano?
View 7 Replies
View Related
Jan 2, 2011
I Updated from Fedora 9 to Fedora 13 several months ago and noticed that AAC audio encoder was no more available in Avidemux (I use version 2.5.3.3 for fedora 13 from rpmfusion repo)Unfortunately AAC is mandatory on the IPod (and probably other Apple devices) to have the sound working.I had faad2-libs (decoder) and faac (encoder) packages installed, but avidemux was not using them.After some search on the web, I found that faac support was removed because of legal issues.Some people recommend to rebuild Avidemux from source but this was a little bit complicated, and I found an easier solution.
In fact the only thing needed to add AAC support to Avidemux is to add the required libADM_ae_faac.so library in /usr/lib/ADM_plugins/audioEncoders, as it is no more supplied in the package avidemux-plugins. Searching for libADM_ae_faac.so on the Web, I found some packages containing this file, such as the ones from other distros, and the package for the same Avidemux version than the one I use but for Fedora 11 : avidemux-plugins-2.5.3-3.fc11.i586.rpm.
View 6 Replies
View Related
Jul 20, 2011
Here is my scenario, I want to create about 3 groups of users:
--Admins-create and manage users
--Support1-Restart basic stack apps(httpd, mysql etc)
--Support2 Backups
So in my sudoers file i have managed to set them all up to perform the tasks above. However, I want to limit the users in the specific groups from running commands from other groups. eg a user in admins shouldnt be able to restart the stack applications etc. I have tried using the ! to create an exception eg !/etc/init.d/httpd start for the users but its not working.
View 6 Replies
View Related
Jun 13, 2010
I was trying to make shutdown without root user using visudoI tried the following still it did not work for mehawk ALL=NOPASSWD:/sbin/shutdown -h now
View 6 Replies
View Related
Jan 16, 2011
I am new to linux and would like to allow a user to use SUDO to change password and also delete/add members to a group without signing in as root or using SUDO. I think you do this in visudo but I dont know the commands to do this.
View 4 Replies
View Related
Apr 5, 2010
what is the best way to share visudo file without the need to use ldap.
View 3 Replies
View Related
Feb 13, 2010
I Love Jdownloader program but can't solve this old problem.
I'm still a little retard with GNU/Linux
Able to do a reconnect by running the following commands
Quote:
This is the script I'm using.
Quote:
It resembles this one in Window$
The program dhcpcd requires root user privileges.
Avahi daemon and network-manager widget should be disabled or uninstalled for this to work on Ubuntu.
Also I'm using Karmic.
I'm not Cisco certified. What I think it does, in a non technical comparison, is tell the ISP hardware that your ip should be 190.189.48.52 or whatever number you like.
For the ISP this would be the last lease you used.
The ISP hardware does not recognize this last lease in its list, so it assigns a new ip.
That does the trick and you get your new ip!
My ISP promotes the service with dynamic ip so no legal matters here.
The problem is how to automatize it.
Sudo runs the script with no privileges problems.
I am able to run it password-less by modifying sudoers file via visudo command.
I add the following line
Quote:
It can also be like (this would need extra security measures?)
Quote:
Then you can run sudo /usr/bin/cambiar-ip and it won't prompt you for a password.
Password issues solved, I cannot get Jdownloader to run it.
In the Settings > Reconnection tab
Tried to use "External" and "Batch" but i get reconnection failed sad face.
I've tried in "External" /usr/bin/sudo /usr/bin/cambiar-ip
It won't work.
I'm missing something of the Unix security structure.
Here is the wiki of the program
[url]
View 5 Replies
View Related
May 24, 2015
I have just installed Debian 8 with Gnome desktop and trying to add my username to sudoers list.
When I open terminal and enter visudo I get the following error message...
Code: Select allfracmo2000@debian:~$ su
Password:
root@debian:/home/fracmo2000# visudo
bash: visudo: command not found
root@debian:/home/fracmo2000#
Although I am quite new to debian, I have done this successfully in the past so not sure why this is happening?
View 7 Replies
View Related
May 2, 2011
I need to add a user to the sudoers in my vps host and edit a couple of files and I just cannot make sense of visudo, vi or nano. The tutorials I find on the net just take too long to study and they are never complete, can someone explain what I need to do? I am running Debian 506.
View 8 Replies
View Related
Nov 13, 2010
Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.
View 1 Replies
View Related
Jul 14, 2015
I would like to configure visudo to authorize user to start only one application with sudo on one peculiar host and forbid everything else so, after reading the man, I came up with :
Code:
Select alluser ALL = (ALL:ALL) !ALL
user host_name = /usr/bin/application
But it does not seem to work.
View 2 Replies
View Related
Apr 23, 2011
Can the Replace function replace more than one word with the same character(s)?
Also, do you know how to access the plugins provided by the gedit-plugins package?
View 3 Replies
View Related
Apr 10, 2010
What app can I use to sync my ipod nano? I use Open Suse 11.2 and it is 32 bit
View 2 Replies
View Related
Feb 16, 2010
is it possible to configure nano to have line breaks on long lines instead of showing a $?
View 2 Replies
View Related
Jul 19, 2010
so i.m just going to ask.... can i get a step-by-step on how to get my ipod working with lucid?
View 1 Replies
View Related
Oct 19, 2010
I have read that rhythmbox will work with 1st through 5th gen ipods, but it says not authorized when i plug my nano in. i have 9.04lts
View 1 Replies
View Related
Dec 18, 2010
I'm trying to restore my ipod nano 3rd gen. Banshee, rhythmbox, and gtkpod do not work properly so I've resorted to using virtualbox and windows xp with itunes.My problem is I can only mount the ipod in virtualbox once per boot. If i have to unplug it i have to completely restart my computer to get the ipod to be mounted again. oddly, this is only a problem after I launch virtualbox. I can unplug and plug in my ipod as many times as i want in ubuntu and it'll mount every time. However, as soon as I launch virtualbox I get one chance in windows vm and then its gone. even if I close virtualbox I can't get ubuntu to see my ipod.
View 1 Replies
View Related
Aug 9, 2011
My problem: I built a computer recently using spare parts lying around and it runs fine... except for the fact that I can't plug in my 4GB Third gemeration iPod Nano. It gives me an error message that says:
Quote:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
View 2 Replies
View Related
Nov 4, 2009
what is the processing of nano editor in linux???
View 4 Replies
View Related
Jun 11, 2011
I'm not a fan of Evolution. However, I like how it integrates with Gnome 3's UI. Is there a way to replace evolution with Thunderbird and still have it show the calendar when you click on the time?
View 8 Replies
View Related
Jul 4, 2011
Because of my problem here:[URL]..I'd like to replace upstart with systemd on F14. Is this as simple as a yum install? In the wiki is it's referred to as a "technology preview" for F14, which is meaningless to me; there are no further notes about installing or enabling it.
View 1 Replies
View Related
Feb 3, 2011
i ve installed fedora 14 a few days ago, but i m not at all happy with it. i also have on the same disk, a windows xp partition, and another disk with data. i am a newbie, so i wanna know if there is a guide, or tutorial, or some guidelines if possible, on how to replace fedora with ubuntu 10.10. i ve tried to initiate the installation, but i only got the options to use free space, or erase entire disk. well, to be honest, there is a third option, prompting me to manually decide the partitions, but i know nothing about it.
View 2 Replies
View Related
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
Oct 6, 2010
I open a file in Ubuntu nano editor from the comand line and I want to copy all the contents of the file so I can paste it in an another application outside the shell. So far I can only copy using shift on the screen that is visible but not on all content.
View 4 Replies
View Related
Feb 21, 2010
after upgrading to Ubuntu 9.10 banshee does not see my Ipod anymore, which is a nano video 3g one. Rhythmbox works though, gtkpod not. I thought I had to install libgpod-dev and libgpod2, but the second library is not available anymore in synaptic. I have installed libgpod4, libgpod-common, -dev.
View 3 Replies
View Related
May 4, 2010
My iPod Nano 3G, which used to work perfectly in 9.10, doesn't seem to work in 10.04. It's detected by Ubuntu and Rhythmbox, but Rhythmbox can't see what's on it and you can't synch to it. Banshee doesn't even detect it at all. I thought iPod compatibility had been improved for this release, not gotten worse? Anyway, what can I do to troubleshoot and hopefully fix the problem?
View 3 Replies
View Related
Jul 8, 2010
I have been install LAMP ok. ware i want to write php lang in nano , vi or vim. how to host the website
View 1 Replies
View Related