Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

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

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x