Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Can´t edit visudo file

  1. #11
    Join Date
    Feb 2008
    Location
    Funky Town, AUS
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Can´t edit visudo file

    Quote Originally Posted by wilbbe01 View Post
    In order to enter things in vi you have to hit the i key (there are others, but i is all you need to know).
    Thanks for that. That is where I am missing I think. Is the line I am wanting to insert the way to go, before I do it?

    ustudio ALL=(ALL) ALL

    Underneath the line that says:

    root ALL=(ALL) ALL


    Duh, might check on my laptop which is working perfectly and see what the settings are on that for comparison (this is happening on my desktop just to refresh memories).
    Last edited by Bucky Ball; August 16th, 2008 at 05:01 AM.

  2. #12
    Join Date
    Jun 2008
    Beans
    184

    Re: Can´t edit visudo file

    ustudio ALL=(ALL) ALL
    If your username is ustudio then yes that is accurate.

    Also, to save and quit you need to hit escape, then type ":wq"
    Ben

  3. #13
    Join Date
    Feb 2008
    Location
    Funky Town, AUS
    Beans
    Hidden!
    Distro
    Xubuntu

    Talking Re: Can´t edit visudo file

    I am going to mark this as solved for the moment and post again if I have trouble later.

    adding the

    Code:
    ustudio ALL=(ALL) ALL
    line seemed to have worked as I can now open from inside terminal on my regular desktop using

    Code:
    sudo visudo
    whereas I couldn't before. Now seems I need to mount my hard drives and set some permissions there. I can also launch nautilus GUI whereas I couldn't before.

    Rather than change subjects mid-stream and confuse people, as I say, will post again if I experience any more probs but this bit should be cool ... (he said! lol), so, for now, thanks once again all ... )

  4. #14
    Join Date
    Jun 2008
    Beans
    184

    Re: Can´t edit visudo file

    I'm glad to hear you got it working, good luck with the rest of your project.
    Ben

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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