SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Artwork & Screenshots » May 2010 Screenshot Thread » 2010-05-05 06:50:44

Eh... I'v been working on it for a day or two,
this is what I have so far, I guess...

2nixun9.png

And does anybody know how to change up the whole system's font? I can only change it for my conky, tint2, and window titles, nothing more.

#2 Re: Help & Support (Stable) » Visudo Issues. » 2010-05-04 00:05:47

d2ogch3n wrote:

You leave insert (edit) mode with Esc. To write changes it's :w or :wq to write and quit or :q to quit without applying changes (sometimes needs :q!).
Removing your .tmp files can be done with sudo rm /pathtofile.tmp once you get sudo sorted.

In my visudo I have an extra entry myusername ALL=(ALL) ALL which is what I assume you need.

Thanks very much.
I'v forgotten about the man pages, should probably check them out next time.

#3 Help & Support (Stable) » Visudo Issues. » 2010-05-03 22:15:32

fatleader
Replies: 4

I am trying to edit my visudo file.
I assume it is similar to ubuntu, so I type in terminal,

sudo visudo

which then, in terminal, gives me this screen:

E325: ATTENTION
Found a swap file by the name "/etc/.sudoers.tmp.swp"
          owned by: root   dated: Mon May  3 11:54:47 2010
         file name: /etc/sudoers.tmp
          modified: YES
         user name: root   host name: goudacheese
        process ID: 12668
While opening file "/etc/sudoers.tmp"
             dated: Mon May  3 00:21:44 2010

(1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

(2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r /etc/sudoers.tmp"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file "/etc/.sudoers.tmp.swp"
    to avoid this message.
"/etc/sudoers.tmp" 31L, 709C
Press ENTER or type command to continue

as a newbie, I have never seen this before, and so ignoring it, I follow its directions and push enter, which then, leads me to this screen:

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults        env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

As I read it, I am supposed to change

# User privilege specification
root    ALL=(ALL) ALL

to

# User privilege specification
fatleader #my username    ALL=(ALL) ALL

which is fine, until I need to save. Vim does not give me any options in saving, and I have tried various combinations (Ctrl-S, Ctrl-O...) and none of them seem to save the edited sudoer.tmp file.

How am I supposed to save? And how do I remove all those other unwanted swap files which I have unintentionally created?

Thanks.

#4 Re: Introductions » Distro hopper stopper » 2010-05-03 06:35:19

Same here,
got sick and tired of all the bells and whistles from ubuntu.

Just switched to #! today.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo