removing user from IAM but keeping their home folder on compute engine vm instances
627 views
Skip to first unread message
Reto Steffen
unread,
Mar 9, 2017, 10:47:49 AM3/9/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gce-discussion
Hi,
I need to remove a user and his permission from google cloud platform admin panel and from logging-in a compute engine. But I would still like to keep the files that are in their home folder on the vm instances.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gce-discussion
Hello Reto,
Removing the user from your project will block the access to the resources in the project. You still need to delete user's ssh keys or block ssh access to the VM. This can be done by removing user's ssh key from project metadata or instance itself. If you remove the user from project metadata, user's files are directories will be kept on current VMs and user will not be provisioned on new VMs. Another way to block access without deleting the ssh keys is by using OpenSSH directives.