Albert Meyburgh wrote: > if i log in with a user, > > then a root user simultaneosly adds that user to a new group > > then that user does not see the group when they type "groups" > > and can't execute anything owned by the new group until they log out > and back in. > > is there a command the user can run to "refresh" their group permissions? The newgrp command will spawn a new shell with the updated groups. There is no way for a non-root process to change its identity information (UID, GID, supplementary GIDs), which is why newgrp is setuid root. The "groups" command reflects the state of the process (which will be inherited from the caller), not the configuration files. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html