[RAILS] Let's use it after understanding sudo!

sudo A command used to execute a command with superuser (or other user) privileges.

command Overview
-A Use the command for entering the password (the command is ""/etc/sudo.conf or the environment variable SUDO_Set with "ASKPASS")
-n Do not prompt for a password (commands that require a password cannot be executed with an error)
-p string Specify the prompt when entering the password (default is "":"symbol)
-S Read password from standard input instead of terminal (newline is required at the end of password)
-k Disable the stored credentials (you will need to enter the password the next time you run sudo). Can be used with commands
-K Completely erase the stored credentials
-V Update saved credentials
-u user The user when executing the command is the "user name" or "user ID (user ID).#Specify with "symbols and numbers)"
-g group The group when executing the command is the "group name" or "group ID (#Specify with "symbols and numbers)"
-P Execute the command in the group to which the user who executes sudo belongs

Recommended Posts

Let's use it after understanding sudo!
After understanding Docker, I actually introduced it.
Let's use jcmd
[Swift] Let's use extension
[Swift] Let's use Segmented Control
[RSpec] Let's use FactoryBot [Rails]
[spring] Let's use Spring Data JPA
Let's use Swift Firebase Firebase Auth
let's try it! Apache Derby