MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Command Not Found With Visudo

scmuser created the topic: command not found with visudo
Hi,

I want to edit visudo and include one user for running apache but when i type following command as a user”root”
visudo

i get following error…
command not found..

P.S: I have tried to edit directly /etc/sudoers but it was not allowed.

rajeshkumar replied the topic: Re: command not found with visudo

Try with this options…
su –
visudo
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

scmuser replied the topic: Re: command not found with visudo
I am getting following error… when login as a normal users… and run following command..
sudo ./apachectl start

i get following error….

USER is not in the sudoers file. This incident will be reported.

rajeshkumar replied the topic: Re: command not found with visudo
Normal users is not having permission to execute “sudo” command..

you will have to do the following…

Login as a root
su root

password: XXXXX

su -

visudo

Add the following line in sudoers file…

# User privilege specification
root ALL=(ALL) ALL
rajesh ALL=(ALL) ALL –
This was added by me…

and then “rajesh” can execute any command with sudo

Regards,
Rajesh
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Junior Linux Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path

The **Junior Linux Administrator** supports the availability, security, and day-to-day operability of Linux-based infrastructure used by an enterprise IT organization to run internal services and business-critical applications. The role focuses on executing standard administration tasks, responding to tickets and alerts, performing routine maintenance, and following established runbooks under the guidance of senior administrators and SRE/Platform teams.

Read More

Linux Tutorials: Commands for Linux Administrator

1. sudo – Execute commands with elevated privileges, a fundamental for system administration. 2. useradd – Create a new user account, essential for managing user access. 3….

Read More

Linux Tutorials: chown command & example

The command chown, an abbreviation of change owner, is used on Unix and Unix-like operating systems to change the owner of file system files, directories. Unprivileged users…

Read More

Linux Tutorials: Commands for Linux User

ls – List directory contents. cd – Change the current directory pwd – Print the name of the current working directory. touch – Create an empty file…

Read More

Best Practices of Linux Security

User Security Password Security Securing the root account File System Security System Security User Security Avoid shared accounts Ensure each user is assigned a unique account name…

Read More

Complete Referance of Linux Security

Course Outline Introduction To Linux Security A Bit About Linux Current Security Problems which is more secure: Windows vs Linux? Requirements of a Secure OS Overview of…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x