Creating an OS Login profile
By default, enabling the setting creates OS Login profiles for all users within your organization. If necessary, you can create additional profiles or edit existing ones. You can use OS Login profiles as user profiles when working within VMs or Kubernetes cluster nodes.
To create an OS Login profile for a user:
-
Log in
as the organization administrator or owner. -
Go to Yandex Cloud Organization
. -
Switch to an organization or federation of your choice as needed.
-
In the left-hand panel, select Users
. -
Select a user from the list.
-
Go to the OS Login profiles tab.
-
Click Create profile.
-
Enter the username.
Note
The username may contain Latin letters, numbers, hyphens, and underscores but must begin with a letter, number, or underscore. It must be from 1 to 32 characters long.
-
Enter a unique numeric user ID (UID) within the range of
1,000
to65,534
. -
(Optional) Enter the path to the user's home directory.
-
(Optional) Enter the path to the shell's executable file.
-
Click Create.
Use the createProfile REST API method for the OsLogin resource or the OsLoginService/CreateProfile gRPC API call.
Note
If manually entering the UID, please use values within the range of 1,000
to 65,534
. Using this range will prevent matches between the OS Login profile UID and those of OS system profiles.