How to set Drush sql-sync not to clone users between @dev and @staging? As I wrote in my previous question,
I am using the following drush commands to synchronize development and staging environments.

drush rsync @dev @staging 
drush sql-sync @dev @staging


How to set up drush sql-sync not to clone users between @dev and @staging environments? 
I would like to have separate users (and passwords) on @dev and on @staging sites.
The drush sql-sync has an option --skip-tables-key that allows you drushrc.php to skip tables during the synchronization.

In your drushrc.php you add this line. 

$options['skip-tables']['staging'] = array('users', 'users_roles', 'roles', 'permission');


Your drush command line should look like the following.

drush sql-sync --skip-tables-key=staging @dev @staging


You've to be careful, as you've to skip all tables that had informations related to your users, including the tables used from third modules.