Professional Web Applications Themes

visudo and NIS. Trying to add a group with a space in the name. - Linux / Unix Administration

Greetings, Using visudo, I attempted to add a group from my windows system. The windows system has Services for UNIX loaded. The group is Domain Admins ie... %Domain Admins (ALL)=ALL ALL When I try to exit the sudoers edit, I get a syntax error message. If I try a windows group without a space in the name such as DnsAdmins to sudoers, there is no error and everything works fine. My question is this: "How can I allow a group name that contains a space?" I tried single quotes and double quotes. Still did not work. Thanks, Ca\/0r+1cu$...

  1. #1

    Default visudo and NIS. Trying to add a group with a space in the name.

    Greetings,

    Using visudo, I attempted to add a group from my windows system. The
    windows system has Services for UNIX loaded.
    The group is Domain Admins
    ie...
    %Domain Admins (ALL)=ALL ALL

    When I try to exit the sudoers edit, I get a syntax error message.
    If I try a windows group without a space in the name such as
    DnsAdmins to sudoers, there is no error and everything works fine.

    My question is this: "How can I allow a group name that contains a
    space?" I tried single quotes and double quotes. Still did not work.


    Thanks,
    Ca\/0r+1cu$

    Cavorticus@gmail.com Guest

  2. #2

    Default Re: visudo and NIS. Trying to add a group with a space in the name.

    com wrote: 


    Even if it's possible, it's certainly not portable. I'd avoid
    usernames and groups with spaces in them.

    Since you're using SFU, you might just ask Microsoft.
    Chris Guest

  3. #3

    Default Re: visudo and NIS. Trying to add a group with a space in the name.

    On Wed, 08 Feb 2006 19:08:29 -0600, Chris Cox <net> wrote: 
     [/ref]

    Call it Domain_Admins and get on with life.
     [/ref]

    Yup.
     [/ref]
     

    Absolutely. There are countless reasons to not force a space into a
    group or username, even if you can do it. Not the least of which is
    "there's no good reason not to just use an underscore".
     

    Ugh. I'd hate to see what kind of charlie-foxtrot they'd come up with
    to force that space to 'work'.

    Dave Guest

  4. #4

    Default Re: visudo and NIS. Trying to add a group with a space in the name.

    Dave Hinz wrote: 
    > [/ref]
    >
    > Call it Domain_Admins and get on with life.
    > [/ref]
    >
    > Yup.
    > [/ref]

    >
    > Absolutely. There are countless reasons to not force a space into a
    > group or username, even if you can do it. Not the least of which is
    > "there's no good reason not to just use an underscore".

    >
    > Ugh. I'd hate to see what kind of charlie-foxtrot they'd come up with
    > to force that space to 'work'.
    >[/ref]

    I was sorta being fecetious :)

    First mistake was giving NIS over to the dark side... Just my
    opinion. It's not unreasonable to ask Microsoft since they've
    supposedly taken on the role of supporting NIS.

    Chris Guest

  5. #5

    Default Re: visudo and NIS. Trying to add a group with a space in the name.

    On Sun, 12 Feb 2006 14:13:06 -0600, Chris Cox <net> wrote: 
    >
    > I was sorta being fecetious :)
    > First mistake was giving NIS over to the dark side... Just my
    > opinion. It's not unreasonable to ask Microsoft since they've
    > supposedly taken on the role of supporting NIS.[/ref]

    Maybe they've started supporting their implementation of NIS, but
    nothing they have to do with anything will ever be on any of _my_ boxes.

    Not sure that sentence is gramattically correct, but it gets my point
    across pretty well, I think.

    Dave Guest

Similar Threads

  1. "group by" - order of rows in group
    By aljosa.mohorovic@gmail.com in forum MySQL
    Replies: 1
    Last Post: September 1st, 08:50 AM
  2. May 29 Sydney Developers Group study group
    By 105 in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: May 25th, 02:56 PM
  3. cfgrid inside a <cfoutput query="myQuery" group="GROUP">
    By DavidGhous in forum Coldfusion Flash Integration
    Replies: 1
    Last Post: April 12th, 07:23 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139