Error while Sudoers file Import

Showing results for 
Search instead for 
Do you mean 
Reply
Participant III
Posts: 12
Registered: ‎10-10-2018
#1 of 5 1,187

Error while Sudoers file Import

Hello,

I am facing issues while importing sudoers file on access manager. I also made changes in sudoers file according to my requirements, My sudoers error while importing also attached for your information.

 

[IMG]http://i65.tinypic.com/anj5om.jpg[/IMG]

 

[IMG]http://i67.tinypic.com/ra6uzo.jpg[/IMG]

 

[IMG]http://i63.tinypic.com/w6zkg0.jpg[/IMG]

 

Participant III
Posts: 12
Registered: ‎10-10-2018
#2 of 5 1,164

Re: Error while Sudoers file Import

 

 

Output of grep schema.*.group /etc/centrifydc/centrifydc.conf

 

#         (2) If parameter auto.schema.groups is set, please ensure the primary
# user may have problem logging in.  Please look for auto.schema.groups parameter
# auto.schema.private.group: false
# auto.schema.private.group: true
# This parameter will be ignored if the parameter auto.schema.private.group is
# in "auto.schema.allow.groups" are able to log in using their Active Directory
# automatically assigned a GID. Use "auto.schema.groups" to include a group in
# auto.schema.allow.groups: centrify_users, "Domain Admins", Domain\ Users, group1, group2@domain.com, DOMAIN+group3, CN=group4\,CN=Users\,DC=domain\,DC=com, domain.com/Users/group5
# auto.schema.allow.groups: file:/etc/centrifydc/auto_user_groups.allow
# auto.schema.allow.groups:
# member of a group and that group is NOT specified in "auto.schema.groups",
# Any groups listed under "auto.schema.groups" can be domain local, global or
# auto.schema.groups: centrify_groups, "Domain Admins", Domain\ Users, group1, group2@domain.com, DOMAIN+group3, CN=group4\,CN=Users\,DC=domain\,DC=com, domain.com/Users/group5
# auto.schema.groups: file:/etc/centrifydc/auto_groups.allow
# auto.schema.groups:

 

 

output of id amin

 

uid=385877166(amin) gid=385877166(amin) groups=385877166(amin)

output of adquery group Security

 

Security is not a zone group

 

 

 

 

 

 

 

 

Centrify Advisor I
Posts: 89
Registered: ‎09-23-2015
#3 of 5 1,162

Re: Error while Sudoers file Import

Hi @Umor_siddique,

 

Welcome to Centrify community!

 

May we know if the sudoer files had been copied and pasted to a text file, as it will cause some imbedded characters that could not be interpreted by the parser.

 

Please let us know if it helps. Thank you!

 

BR

Ivan

Participant III
Posts: 12
Registered: ‎10-10-2018
#4 of 5 1,161

Re: Error while Sudoers file Import

Also, how can i upload images inline there is not feature supported i can add links from thirdparty storages i.e tinypic but its not effective solution?

Participant III
Posts: 12
Registered: ‎10-10-2018
#5 of 5 1,160

Re: Error while Sudoers file Import

Yes, it has indeed been copied and pasted but then i checked with notepad++ to remove any encoded / special characters there were none.

 

 

Furthere i tested with visudo -f /etc/sudoers 

the errors are identical.