However, when
i use the command su to switch to user1 ( which i commented out from
/etc/passwd/) i get a message telling me that the user does not exist.
/etc/passwd is the list of users in a *nix operating system.
commenting out user1 makes that account no longer exist. you cannot
'su' to a user which doesn't exist.