how to change user info?
mei@ubuntu:/$ grep 'mysql' /etc/passwd
mysql:x:113:123:MySQL Server,,,:/nonexistent:/bin/false I want change user account "mysql" info like is: mysql:x:113:123:MySQL Server,,,:/nonexistent:/bin/bash what should I do ? thanks |
ok, well to answer the question, you can just change it in a text editor. you could also use chsh. But WHY?? you should never be logging in as a service account, that's a really really bad idea.
|
Try the chsh command. Anyway, why do you need to assign a login shell to the mysql user? It is not intended for login and it could raise some security risk.
Edit: beaten by acid :) |
I am just looking some document about Running Multiple MySQL Instances on One Machine . I want use account "mysql" on bash terminal to browse mysql datadir. and I found I cannot login when using "mysql" account.
|
yeah, so... DON'T do that. There is a reason why things are configured how they already are. just use root.
|
All times are GMT -5. The time now is 11:42 PM. |