{"tool":"userspec","tool_display":"Userspec","intent":"run-chroot-with-specific-user-group","intent_display":"run chroot with specific user group","title":"Userspec Command: run chroot with specific user group","command_string":"sudo chroot --userspec <username_or_id>:<group_name_or_id> <path/to/new_root>","raw_command_string":"sudo chroot --userspec {{username_or_id}}:{{group_name_or_id}} {{path/to/new_root}}","description":"Exact CLI syntax to run chroot with specific user group using Userspec.","usage_scenario":"For isolating processes and testing software builds or environment configurations.","scenario_context":null,"simulated_output":null,"how_to_steps":null,"inferred_category":"Filesystem","canonical_url":"https://www.syntaxstandard.com/userspec/run-chroot-with-specific-user-group"}