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
try:
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