Hi,
On CentOS we can delete a user from a group by command:
Code:
gpasswd -d [user] [group]
But the gpasswd on OpenSUSE has command gpasswd but no such option to delete a user from a group.
I am aware, this can be done by modifying /etc/groups and by checking the user with ID command and using usermod to add the user again without the group to be removed.
But I need a single command to perform the task. Is anyone aware of it ?