Open file
su root
nano /etc/sudoers
Then add the user below admin user like below syntax.
user_name ALL=(ALL) ALL
More Related Contents:
- How to run script as another user without password?
- How to declare 2D array in bash
- how to install gcc 4.9.2 on RHEL 7.4
- How to convert DOS/Windows newline (CRLF) to Unix newline (LF)
- What happens if there is no exit system call in an assembly program?
- How do I run a program with a different working directory from current, from Linux shell?
- Print a file, skipping the first X lines, in Bash [duplicate]
- How do I view the list of functions a Linux shared library is exporting?
- Why are the backslash and semicolon required with the find command’s -exec option?
- How to change the default browser used by the ipython/jupyter notebook in Linux?
- equivalent date from GNU to solaris
- why is the output of `du` often so different from `du -b`
- What is the difference between “source script.sh” and “./script.sh”?
- How to restrict SSH users to a predefined set of commands after login?
- Running a cron job on Linux every six hours
- Piping data to Linux program which expects a TTY (terminal)
- Why is RCX not used for passing parameters to system calls, being replaced with R10? [duplicate]
- How can I programmatically manage iptables rules on the fly?
- Add a newline only if it doesn’t exist
- What are the thread limitations when working on Linux compared to processes for network/IO-bound apps?
- Need a good hex editor for Linux [closed]
- How is the Linux kernel tested?
- Docker command can’t connect to Docker daemon
- How to automatically add user account AND password with a Bash script?
- Forking vs Threading
- Count lines in large files
- How can I forward localhost port on my container to localhost on my host?
- Specifying UDP receive buffer size at runtime in Linux
- Bash `wait` command, waiting for more than 1 PID to finish execution
- How can I get position of cursor in terminal?