adapt to linux

linux auth