UrbanPro

Learn Linux from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How can one build a self-control app for Ubuntu? I can edit the /etc/hosts file using a script but the sudo user can still revert the changes. Please help.

Asked by Last Modified  

1 Answer

Learn Linux

Follow 0
Answer

Please enter your answer

Hello Jana :-). In a linux system the root is called the super user for a reason. The root can do anything. The only way that I know of to restrict is to put a password for the root user. Sudo can do anything on a linux system which can be dangerous or self destructive like deleting everything...
read more
Hello Jana :-). In a linux system the root is called the super user for a reason. The root can do anything. The only way that I know of to restrict is to put a password for the root user. Sudo can do anything on a linux system which can be dangerous or self destructive like deleting everything (happens more often than you think with rm -rf command). So your best bet is to lock your root with password. But most linux distributions don’t allow root users to be accessed. Instead they use sudo to get temporary root privileges. This can be controlled by setting which users are part of the sudo group (If your user account is not part of this group you cannot use sudo for temporary root privileges.) So if the user account is like a Guest account then I suggest you create limited accounts without sudo privileges. You cannot block sites through proxies generally. You may block proxies but it turns into a game of cat and mouse. The ultimate one would be Tor browser which nobody can do much about. The only fool proof solution is to block everything except what you want others to access (like only your company website or something). Blacklists to prevent some sites is difficult because there is so many alternatives. You will probably spend all your time on blocking new sites that people find to circumvent your control. tl;dr Limit the privilege of the user account to not be able to use sudo altogether. (This is what management does at my college for the lab systems with linux) NO sudo - Less hassle. The other one can be limited to a certain extent by firewalls but there is no 100% working solution except if the sole purpose of the network is to connect to an intranet. Thanking You, Ngcc Software Technologies. read less
Comments

Related Questions

What is the cost of linux course and how much do the certification cost?
1000 for basic and 2000 for linux advance, for certification, give exam, clear it and you are certified
Anusha
We are looking for IT Training for Online Training Could you please how i select them
First Of All Congratulations Raheem Your Decision is good . In order to select them you need to do One Main Thing Attend the Demo Sessions .
Raheem
0 0
8

I am having 5+ years exp in civil engineering now I am thinking to move in IT sector can u suggest me which field is better to learn ? I am thinking to do Linux+devops+aws or powerBi 

Hi Waseem, I am a Devops and cloud engineed since last approximatelt 4 years.Linux,DevOps (techniques and tools) and Cloud, all are very much intera-related. DevOps and Cloud both are burning needs in...
Waseem

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

LINUX SERVER ADMINISTRATION
Permissions in Linux rwx|rwx|rwx =user | group | others R==4 W==2 X==1 what's the total? 421|421|421 777 So 7 has 4, 2,1==which means full. Permission (that is read write and execute) ...

Linux File System
Linux File system: Right click on Desktop and click open interminal Login to Linux system and run simple commands: Check present Working Directory: $pwd /home/cloudera/Desktop Change Directory: $cd...

UNDERSTANDING PROCESSES - RED HAT ENTERPRISE LINUX
What is a Process An instance of a program is called a Process. Any command that you give to your Linux machine starts a new process. It is possible that for the same program we have multiple processes. Types...
A

Aseem .

1 0
0

Linux Introdution
Linux is a UNIX-base operating system. Its original creator was a Finnish student name Linus Torvalds, although being ‘open source’ it has change a great deal since its original conception....

How To Start Shell Scripting?
Hi learners, I would like to share my knowledge in shell scripting: Every new Linux learners goal is to learn shell scripting. But only a few starts quickly writing the shell scripts.Why? The reasons...

Recommended Articles

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for Linux Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Linux Classes?

The best tutors for Linux Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Linux with the Best Tutors

The best Tutors for Linux Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more