[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

identity confusion



This is interesting. I'm not sure what to think about this.

on terminal, as user1
su -
# Enter root password.
su - user2
# No password is needed.
mysql
Access denied for user 'user1'@'localhost' (using password: NO)


# Now if I enter:
mysql -u user2 -pmypassword
# It will let me in.


What surprises me, is that it figures that user1 is wanting access to mysql instead of user2
Knowing a previous user, could have security issues.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com


Reply to: