[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[augeas-devel] [Augeas] #48: sudoers lens does not handle multiline strings



#48: sudoers lens does not handle multiline strings
-------------------------+--------------------------------------------------
 Reporter:  fsweetser    |       Owner:  lutter
     Type:  enhancement  |      Status:  new   
 Priority:  minor        |   Milestone:  next  
Component:  Augeas       |     Version:  0.4.1 
 Keywords:  sudoers      |  
-------------------------+--------------------------------------------------
 Multiline strings prevent augeas from properly parsing the sudoers file.
 This example of the problem is from the default RedHat/Fedora sudoers
 file:

 {{{
 Defaults    env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \
                    LS_COLORS MAIL PS1 PS2 QTDIR USERNAME \
                    LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \
                    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME
 LC_NUMERIC \
                    LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS \
                    _XKB_CHARSET XAUTHORITY"
 }}}

 Putting everything on one line allows everything to work.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/48>
Augeas <http://augeas.net/>
a configuration API



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]