Hi,

I?ve forgot to say, that i?m a newbie to linux.
So, what do you want to say, with these lines?
That the 'mysql' user is not a shell user?

Greetz
Andy

> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 6. Juni 2003 17:01
> An: [EMAIL PROTECTED]
> Betreff: Re: mysql linux user
> 
> 
> Dingfelder Andy schrieb:
> > Hello,
> > 
> > if I install mysql under linux, there is a user created calld 'mysql'.
> > My question is, whether this user has a default password, which 
> should be
> > changed
> > to avoid security problems?
> 
> 
> # grep mysql /etc/passwd
> mysql:x:27:27:MySQL Server:/var/lib/mysql:/sbin/nologin
> 
> # service mysqld restart
> 
> # mysql -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 3 to server version: 4.0.13
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> mysql>
> 
> # su mysql
> This account is currently not available.
> 
> 
> 
> 
> 
> # grep mysql /etc/passwd
> mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/false
> 
> # service mysqld restart
> 
> # mysql -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 1 to server version: 4.0.13
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> mysql>
> 
> # whoami
> root
> # su mysql
> # whoami
> root
> 
> 
> hope this helps
> 
> -- 
> shrek-m
> 
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    
http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to