FG
💻 Software

Run Linux command as predefined user

Fresh5 days ago
Mar 15, 20261391 views
Confidence Score0%
0%

Problem

I have created a shell script to start a program. When above command will executes, it will try starts the as . To achieve this my script has written like this. When i execute the command it asks for password. Is there any other way to do this so, it will not ask for password. I have seen this beha…

Error Output

startup.sh  start

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Run Linux command as predefined user

Low Risk

If you are root, just use sudo:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment