sudoers run as another user - Axtarish в Google
Suppose you want user smith to be able to run a given command as user jones. /etc/sudoers: smith ALL = (jones) /usr/local/bin/mycommand. User smith runs:
2 янв. 2015 г. · To invoke a login shell using sudo just use -i. When command is not specified you'll get a login shell prompt, otherwise you'll get the output of your command. su - How to run command as different user Allow user to run command as another user with their ... Другие результаты с сайта unix.stackexchange.com
However, if you want to run a command as another user, you need to specify that with -u . So, for example sudo -u nikki command . Commands, Meaning. sudo -l ...
11 окт. 2024 г. · sudo , short for "superuser do," is a command-line utility that allows a permitted user to execute a command as the superuser or another user, ...
27 сент. 2024 г. · sudo allows specified (non- root ) users or a group of users to run privileged tasks, like calling system functions as root or another user.
9 апр. 2022 г. · This guide explains how to run commands as another user via sudo in Linux and how to run certain commands without sudo password.
2 мар. 2022 г. · To run a command as another non-root user, using sudo: sudo -u USER COMMAND It's that simple. Note that using sudo does not change the directory to the user's ...
Novbeti >

 -  - 
Axtarisha Qayit
Anarim.Az


Anarim.Az

Sayt Rehberliyi ile Elaqe

Saytdan Istifade Qaydalari

Anarim.Az 2004-2023