Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_components:dpiui:user_guide:admin_section:equipment_management:sudo_user:start [2023/10/13 09:36] – elena.krasnobryzh | en:dpi:dpi_components:dpiui:user_guide:admin_section:equipment_management:sudo_user:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Sudo user ====== | ||
- | {{indexmenu_n> | ||
- | The connection and control of the equipment is carried out via the SSH protocol. The connection must be made under a user with sudo privileges, or under the root user (not recommended). | ||
- | <note tip> | ||
- | |||
- | On the connected equipment, you need to create a sudo user. | ||
- | |||
- | Using the dpisu user as an example: | ||
- | |||
- | - Create user dpisu <code bash> | ||
- | passwd dpisu</ | ||
- | - Write the following to the file / | ||
- | Defaults secure_path = / | ||
- | dpisu ALL=(ALL) NOPASSWD: ALL</ | ||
- | - Disable requiretty in the file / |