adapt to linux

linux auth problem
commit!!