LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-07-2016, 01:48 PM   #1
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,715

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Question How is sudo and ufw enabled if the service is not activated in MATE Control Center?


Hi.

How is sudo and ufw enabled if the service is not activated in the MATE Control Center?

I can use sudo without issue and as can be seen in the image, the UFW is working in GUFW.

Can someone explain all this?

Thanks.
Attached Thumbnails
Click image for larger version

Name:	fw-serv.gif
Views:	25
Size:	99.5 KB
ID:	23468  
 
Old 11-07-2016, 06:31 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Sudo can be enabled by editing the sudoers file. There's a special command for doing so: visudo. This article will tell you more: https://wiki.debian.org/sudo

Uncomplicated firewall (which is what I assume you mean by ufw, as opposed to the United Farm
Workers of America) is an application which you will need to install. It is used to configure iptables; gufw is a GUI interface for iptables that is easier to use than ufw. You can also configure iptables by writing iptables rules directly.

Both ufw and gufw should be in the repos.

Last edited by frankbell; 11-07-2016 at 06:33 PM.
 
Old 11-08-2016, 05:13 AM   #3
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,715

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Post

Quote:
Originally Posted by frankbell View Post
Sudo can be enabled by editing the sudoers file. There's a special command for doing so: visudo. This article will tell you more: https://wiki.debian.org/sudo

Uncomplicated firewall (which is what I assume you mean by ufw, as opposed to the United Farm
Workers of America) is an application which you will need to install. It is used to configure iptables; gufw is a GUI interface for iptables that is easier to use than ufw. You can also configure iptables by writing iptables rules directly.

Both ufw and gufw should be in the repos.
Hi Frank.

But as I said, I already use sudo.

Both ufw and gufw are already installed.

My confusion is due to both sudo and ufw not being activated according to the services option in MATE Control Center.
 
Old 11-09-2016, 01:48 PM   #4
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,715

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Question

What the?

Code:
# chkconfig --list | grep sudo
sudo                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
Code:
# chkconfig --list | grep ufw
ufw                       0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on
 
Old 11-11-2016, 09:49 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
My confusion is due to both sudo and ufw not being activated according to the services option in MATE Control Center.
The short answer is this: They have nothing to with MATE. They work at an OS level, not at a GUI level.

It would be possible for the MATE developers to include firewall configuration capability in MATE if they wished to, but that might make MATE less portable to other versions of Linux. The Magiea Control Center and OpenSuSE's YAST both include firewall configuration items, so it can be done.

The same goes for sudo configuration capability, but, in all my distro hopping I have not seen a "control center" that includes sudo configuration, when visudo is readily available. Remember, most distros, aside from Ubuntu and its derivatives, do not default to sudo; they default to su. Sudo is historically intended to be used to give users specific access to particular rights that they need to do their tasks, not blanket access to root capability. Ubuntu's use of it is--how shall I put this tactfully?--aberrant.

Last edited by frankbell; 11-11-2016 at 09:53 PM.
 
1 members found this post helpful.
Old 11-13-2016, 02:03 PM   #6
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,715

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Thumbs up

Quote:
Originally Posted by frankbell View Post
The short answer is this: They have nothing to with MATE. They work at an OS level, not at a GUI level.

It would be possible for the MATE developers to include firewall configuration capability in MATE if they wished to, but that might make MATE less portable to other versions of Linux. The Magiea Control Center and OpenSuSE's YAST both include firewall configuration items, so it can be done.

The same goes for sudo configuration capability, but, in all my distro hopping I have not seen a "control center" that includes sudo configuration, when visudo is readily available. Remember, most distros, aside from Ubuntu and its derivatives, do not default to sudo; they default to su. Sudo is historically intended to be used to give users specific access to particular rights that they need to do their tasks, not blanket access to root capability. Ubuntu's use of it is--how shall I put this tactfully?--aberrant.
Thanks for the explanation. (-;
 
  


Reply

Tags
services



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can I use sudo without a tty and NOPASSWD enabled? cgeekwannabe Linux - Security 4 07-26-2012 04:47 PM
LXer: Ubuntu Command Center: Gnome Control Center LXer Syndicated Linux News 0 02-20-2012 08:31 PM
Control center (control panel) WayneS SUSE / openSUSE 2 09-04-2006 03:53 PM
i have an activated ethernet card but cannot get internet service whodunnit Fedora 8 04-18-2004 09:19 AM
Can't launch redhat-network-control after updating gnome-control-center fedetxf Red Hat 0 12-12-2003 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration