Warning: Unsupported locale setting centos

While working with authconfig in centos you will get locale error please use the following steps to get rid of this error

Open authconfig  file with any editor i am using vim

vim /usr/sbin/authconfig

Then go to line 33

and make changes as shown below
change ” to None

locale.setlocale(locale.LC_ALL, None)
except locale.Error:
sys.stderr.write('Warning: Unsupported locale setting.\n')
def runsAs(name):
return sys.argv[0].find(name) >= 0

Using this error will not be there..

If you got any issue using this please feel free to comment below..

Leave a Reply

Your email address will not be published.


The reCAPTCHA verification period has expired. Please reload the page.

48-Hour Flash Sale! Courses from just $10.99