Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Sudo list.

  1. #1
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536

    Sudo list.

    How do I add myself to the sudoers.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Sudo list.

    Quote Originally Posted by rrfish72
    How do I add myself to the sudoers.
    As root visudo then use the examples in the file for your guide.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Aw cmon Stephen are you gonna punish the noobs w/ vi? vi is about as friendly as a coiled rattlesnake! You don't have to use vi you can use any editor you want.

    su
    <passwd>
    xedit /etc/sudoers

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by mzilikazi
    Aw cmon Stephen are you gonna punish the noobs w/ vi? vi is about as friendly as a coiled rattlesnake! You don't have to use vi you can use any editor you want.

    su
    <passwd>
    xedit /etc/sudoers

    Code:
    # sudoers file.
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # See the man page for details on how to write a sudoers file.
    #
    Not according to that ...

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Well I don't even have vi on my Linux boxen but I'm a sudoer! OK so I'm a rebel. :P

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Me too! I purged vi because, I couldn't figure that editor out. How anyone ended up liking vi as an editor is beyond me, that is the most unfriendly, unintiutive editor I have ever laid eyes on. Perhaps the warning could have said that it can be edited in a straight ascii editor such as nano, mcedit, ... you get the idea, as long as it is anything but vi.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Durand Hicks
    Me too! I purged vi because, I couldn't figure that editor out. How anyone ended up liking vi as an editor is beyond me, that is the most unfriendly, unintiutive editor I have ever laid eyes on. Perhaps the warning could have said that it can be edited in a straight ascii editor such as nano, mcedit, ... you get the idea, as long as it is anything but vi.
    The warning is there because when using the visudo it locks the file and prevents any other editing access to it for as long as you have it open this is the same reason vipw exists as well. Oh and BTW you were using VIM (vi improved) not VI if you think it was bad you should try the real thing.

  8. #8
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by Stephen
    Quote Originally Posted by Durand Hicks
    Me too! I purged vi because, I couldn't figure that editor out. How anyone ended up liking vi as an editor is beyond me, that is the most unfriendly, unintiutive editor I have ever laid eyes on. Perhaps the warning could have said that it can be edited in a straight ascii editor such as nano, mcedit, ... you get the idea, as long as it is anything but vi.
    The warning is there because when using the visudo it locks the file and prevents any other editing access to it for as long as you have it open this is the same reason vipw exists as well. Oh and BTW you were using VIM (vi improved) not VI if you think it was bad you should try the real thing.
    I never understood why this warning was there before. I've long since edited it out.

    Personally I use Kate, I have a RootKate icon on the desktop. Just drag'n'drop the Kate icon from the start menu & edit to run as root...with KDE3.2 this is in 'advanced application' properties setups. Anyway, I highly recommend using Kate for newbies unfamiliar with CLI editors.

    For CLI editor I use 'joe' (Ms Cuddles favorite app javascript:emoticon('') just because it's an interface I'm familiar with from a long time ago in the land before Windows or Linux.

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Is this where you post your favorite editor?

    I think visudo also refuses to save the file if you've made a mistake in the syntax, or at least tells you about the mistake.
    That said, I once ran vimtutor and the next command was apt-get install nano.

  10. #10
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    So how do I add to the llist? I don't know how to edit the list because I can't find it. Help?

Page 1 of 2 12 LastLast

Similar Threads

  1. problem with sudo
    By waellinux in forum General Support
    Replies: 2
    Last Post: 04-30-2005, 05:36 PM
  2. Sudo under HD install
    By clarjon1 in forum Tips and Tricks
    Replies: 2
    Last Post: 03-11-2005, 10:05 PM
  3. knoppix sources.list repository incomplete list.
    By vdesibabu in forum Customising & Remastering
    Replies: 0
    Last Post: 01-05-2005, 05:47 PM
  4. screwed up sudo
    By nishtya in forum General Support
    Replies: 5
    Last Post: 11-20-2004, 09:48 PM
  5. what's the difference with sudo ???
    By ptesone in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-18-2004, 07:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lot 100 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Reg Server Memory RDIMM RAM picture

Lot 100 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Reg Server Memory RDIMM RAM

$8599.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



HpyerX Predator DDR4 128gb 16x8 DDR4 3000 MHZ CL15 HX430C15PB3K8/128 Tested picture

HpyerX Predator DDR4 128gb 16x8 DDR4 3000 MHZ CL15 HX430C15PB3K8/128 Tested

$700.00



WARIS 32GB (4x8GB) DDR4-3200 PC4-25600 288-Pin UDIMM Desktop RAM H4737130 picture

WARIS 32GB (4x8GB) DDR4-3200 PC4-25600 288-Pin UDIMM Desktop RAM H4737130

$119.99



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Corsair Vengeance LPX 64GB (2x32GB) DDR4-3200 PC4-25600 DIMM CMK32GX4M2B3200C16 picture

Corsair Vengeance LPX 64GB (2x32GB) DDR4-3200 PC4-25600 DIMM CMK32GX4M2B3200C16

$300.00



Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module picture

Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module

$29.25



SK hynix 72GB (9x8GB) DDR4-2666 PC4 2666V-SA2-11 260-Pin SO-DIMM Laptop RAM picture

SK hynix 72GB (9x8GB) DDR4-2666 PC4 2666V-SA2-11 260-Pin SO-DIMM Laptop RAM

$250.00



LOT OF 5 RAM STICKS-SAMSUNG/SK Hynix 16GB 2Rx8 PC4-2133 (16GBX5=75GB TOTAL) picture

LOT OF 5 RAM STICKS-SAMSUNG/SK Hynix 16GB 2Rx8 PC4-2133 (16GBX5=75GB TOTAL)

$345.00