General :: Installing Arch - Warning: Do Not Edit /etc/sudoers Directly With An Editor
Sep 7, 2010
Warning: Do not edit /etc/sudoers directly with an editor; Errors in syntax can cause annoyances (like rendering the root account unusable). You must use the visudo command to edit /etc/sudoers. In the previous section we added your user to the "wheel" group. To give users in the wheel group full root privileges when they precede a command with "sudo", uncomment the following line:
%wheelALL=(ALL) ALL
so i signed in as root and typed in visudo now i alreayd made the changes but how do i exit and save super+x doesnt seem to do it for me since im not using nano and not supposed to cause it causes errors
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.
I'm running Ubuntu Server 11.04. It came time to add User to the sudoers file: so I decided to simple add User to the admin group: usermod -a -G admin user Then I used visudo to check if admin users had been set to receive sudo privileges. I uncommented the line admin ALL=(ALL) ALL. Nothing happened. I've even tried to add user directly into the sudoers file as user ALL=(ALL:ALL) ALL, but that failed too.
The first problem is that I cannot use the Arch repository. Every time I try to, it brings up a "no address record" error. I have configured my network interface properly and can ping www.google.com and receive a whole load of crap. Definitely working. Whats wrong?
The second problem is that the boot-up process hangs for a very long time at "Starting Network." This make my boot of Arch just as slow as *buntu! WTF? Whats wrong there? Aside from that, I am unhappy that my Ethernet card is not detected but thats another question. The only ting I am pleased with right now is the speed of the system, and the fact that I used 4 different file systems on 7 different partitions without a hitch.
I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying it back?
I want to create a group called scripts, add www-data to that group. I then want to edit the sudoers file and tell it that the script group doesn't need a password. Where should I put this line excatly in the sudoers file?
I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like
cat "text to add" >> huge_file
To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?
I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.
I don't know were this goes so I'm just gonna put it here Basically earlier today i figured i wanted to try out backtrack 4 but I could only have a maximum of 4 partitions on an hd at a time. So i deleted my partition that contained my arch home directory (didn't really have any data on it and i figured i could just make a new one later) to create an extended partition to put backtrack on. Well all went well except now when I select arch instead of backtrack i get a disk check error. This is the first part of the error, I can't exactly copy and paste it as its on my laptop. code...
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.
I'm trying to view directly a partition with a damaged filesystem on it (NTFS) and so far the hex editors I tried do not do that. I tried GHex for example and it complained that /dev/sda is not a file. The partition is unmountable as NTFS however since it is damaged so I couldn't mount it first. Are there any hex editors out there that would allow me to view the contents directly and copy and paste stuff in there?
I'm trying to change my Visual Effects in the appearance menu to Extra. I had it working before, then uninstalled and reinstalled Compiz and Advanced Desktop Effects Settings (ccsm) to try to fix somethingand now when I go into the appearance menu to change the visual effects, it let's me change the radio button, I confirm the changes (no wobbly windows though), close the window and open it again, but it's reset to None. how to fix this? Is there a prefs file I can edit directly?
I recorded someone using a VCR (tape) camcorder-it was all I had available. I've now recorded/transfered the tape to DVD format, so it's now digital instead of analog. I want to edit the file and separate it into smaller files. What's a good program to use?
Is there a video editor that also allows me to edit the audio. For example I have 2 videos and want to take the audio from one clip and add it to the other clip. I have tried Avidemux and Pitivi but these don't seem to have this ability.
Trying to get this server to work and abandoned trying to do it with Xubuntu last night and installed Ubuntu server. But now I'm stuck on Samba again as I decided to use the vi editor to edit the smb.conf file and now I can't get out of it.
My system is fedora 15 and i have been using quanta plus as my editor to edit html and php files... I need windows based quanta plus .. though I googled a lot for windows platform I may not be able to get ..
When I try to edit p2p1 with nm-connection-editor, it aborts back to the command prompt with the following error.
Quote:
# ./nm-connection-editor (nm-connection-editor:1879): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0).
[code].....
My /etc/sysconfig/network-scripts/ifcfg-p2p1:
Code:
# New Fedora Core 15+ Ethernet naming convention: use "ifconfig -a" to find # new port name # Use "ethtool -p port_name" (ethtool -p p2p1) to blink LED's on backup of # port jack to find which port goes to which name
I've been looking for a good, easy to install, video editor. All searches thus far have lead into blind install alleys. All I want to do at this point is edit, cut, and paste AVI and MPEG4 files.
when I type "crontab -e" to edit the file, it is not opening in the editor & showing output as "285". I just wanted to edit crontab, So could anybody please tell me which is the real file of crontab, so I can manually edit that file using vi editor or nano. Or if that default editor is corrupted when I type "crontab -e", how can I change default editor before using "crontab -e" command. I will be waiting for your kind reply
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
[code]...
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
I use to use Ubuntu and recently came to Fedora, I am not a fan of the package manager in Fedora so I am trying to install things through terminal and when I use Sudo cause that is what I am familiar with this is what it gives me. Devon is not in the sudoers file. This incident will be reported. What do I do? I am just trying to install Libreoffice 3.3 and Banshee 2.0
I just did the pacman -Syu command today since i have had limited access to internet i could use with arch lately, (been tethering via droid which is only compatible in ubuntu) The command line works fine, i even reinstalled X to see if that was the problem,whenever i do startx it loads up for a second but before my xfce screen even pops up the screen blinks and blackens.
When i go top and click on the link to download/install de debian-multimedia-keyring, a pop-up windows appears with the choice to open the file with file-roller. But i want to open it with aptitude to get it installed.i missing something? How can i setup Iceweasel to make sure the next time .deb files can be installed directly from the source website
However - is there such a thing as a decent HTML editor like dreamweaver? Komposer is buggy as hell - useless! Bluegriffon, well umm - screen fonts are bizarre, especially in viewing source code - brake down, multicoloured obviously a bug - no deb either, looks like a windows program install (?). This does look really good, but is unusable as I cant see in souce code view without getting a headache! Also, ignores css on links.
Seamonkey - you have to open browser then editor, then open your file. Ignores css totally. Amaya - ignores used fonts unless you re-edit - and ignores css on links. Weird way to select things as well, such as images. There must be at least one decent editor?
I have a laptop with a busted screen and no way to boot directly to the external monitor with ubuntu installed and the thing is I want to install windows 7. Anybody know of anyway to do this without being able to see the screen before the os loads? So far I have messed around with installing windows 7 in vm box and trying to turn the vdi file into a valid partition and also tried installing it with wine but it couldn't find the temp folder to copy the install files.
i'm running Linux Suse 11.2 with Gnome 2.28 and i want to install a php, html and css editor but i don't know which one to use or how to go about installing it on linux Is there any tutuorials or guides on installing software on linux suse 11.2 and which editor would you recommend?
Is there a bluefish rpm that I can install on Centos 5.5 64 ? I did find some on the bluefish web site but all had a bunch of dependency issues..... had no clue where to find them.... yumex showed nothing.