[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian-user-digest Digest V2017 #1201



Thanks a million guys!! It is up and going now.


On Wed, Nov 8, 2017 at 3:41 PM, <debian-user-digest-request@lists.debian.org> wrote:
Content-Type: text/plain

debian-user-digest Digest                               Volume 2017 : Issue 1201

Today's Topics:
  Gnome desktop almost totally unrespo  [ "James H. H. Lampert" <jamesl@touch ]
  Re: Sync two disks and hot swap       [ Dominik George <nik@naturalnet.de> ]
  Re: Gnome desktop almost totally unr  [ Roberto =?iso-8859-1?Q?C=2E_S=E1nch ]
  Re: Sync two disks and hot swap       [ Michael Stone <mstone@debian.org> ]
  Reproducible bug                      [ Laurent Lyaudet <laurent.lyaudet@gm ]
  Re: Ethernet card locking up when ac  [ Andrew W <andrewjameswood@ymail.com ]
  Re: Opening Intellicast Causes Firef  [ davidson <davidson@freevolt.org> ]
  Re: Opening Intellicast Causes Firef  [ Greg Wooledge <wooledg@eeg.ccf.org> ]
  Re: Reproducible bug                  [ Roberto =?iso-8859-1?Q?C=2E_S=E1nch ]
  Re: Opening Intellicast Causes Firef  [ davidson <davidson@freevolt.org> ]
  Re: Opening Intellicast Causes Firef  [ davidson <davidson@freevolt.org> ]
  Re: Anyone using stretch/buster/sid   [ Adrian Bunk <bunk@debian.org> ]
  Re: RAID 5 array with journal device  [ deloptes <deloptes@gmail.com> ]
  Re: Opening Intellicast Causes Firef  [ Will Mengarini <seldon@eskimo.com> ]
  Re: Handhelds that conviently run De  [ deloptes <deloptes@gmail.com> ]
  sudo                                  [ "Josh W." <joshw8104@gmail.com> ]
  Re: sudo                              [ Greg Wooledge <wooledg@eeg.ccf.org> ]
  Re: sudo                              [ Will Mengarini <seldon@eskimo.com> ]
  Re: sudo                              [ <tomas@tuxteam.de> ]
  Re: sudo                              [ Tom Furie <tom@furie.org.uk> ]
  Re: sudo                              [ Joe <joe@jretrading.com> ]

Date: Wed, 08 Nov 2017 10:40:22 -0800
From: "James H. H. Lampert" <jamesl@touchtonecorp.com>
To: "debian-user@lists.debian.org" <debian-user@lists.debian.org>
Subject: Gnome desktop almost totally unresponsive in Jessie
Message-ID: <[🔎] 5A034F96.1090007@touchtonecorp.com">5A034F96.1090007@touchtonecorp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I've got a small problem. On our local Jessie box, the Tomcat and Apache
web servers both seem responsive enough, and I likewise have no trouble
getting and using an SSH session remotely (except that the "find"
command is extremely slow).

But the Gnome desktop has become almost totally unresponsive.

I'd rather not restart the box. Any advice on how to deal with this
without restarting the box?

--
JHHL

Date: Wed, 8 Nov 2017 19:55:24 +0100
From: Dominik George <nik@naturalnet.de>
To: debian-user@lists.debian.org
Subject: Re: Sync two disks and hot swap
Message-ID: <[🔎] 20171108185523.kqgf6wgri3dncrmd@portux.lan.naturalnet.de">20171108185523.kqgf6wgri3dncrmd@portux.lan.naturalnet.de>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hi,

> Instead, if you just want a disk that has a readable copy of the files, you
> may find that rsync is more straightforward and can be a lot faster after
> the first time if the volume of changes is a small percentage of the total.

Yes, of course. But that would not lead to an identical copy of the
disk, only the files in its filesystem.

I will choose that way if nothing else comes up in this thread.

-nik

Date: Wed, 8 Nov 2017 13:55:37 -0500
From: Roberto =?iso-8859-1?Q?C=2E_S=E1nchez?= <roberto@debian.org>
To: debian-user@lists.debian.org
Subject: Re: Gnome desktop almost totally unresponsive in Jessie
Message-ID: <[🔎] 20171108185537.myjohxfczc2t7abr@santiago.connexer.com">20171108185537.myjohxfczc2t7abr@santiago.connexer.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Wed, Nov 08, 2017 at 10:40:22AM -0800, James H. H. Lampert wrote:
> I've got a small problem. On our local Jessie box, the Tomcat and Apache web
> servers both seem responsive enough, and I likewise have no trouble getting
> and using an SSH session remotely (except that the "find" command is
> extremely slow).
>
> But the Gnome desktop has become almost totally unresponsive.
>
> I'd rather not restart the box. Any advice on how to deal with this without
> restarting the box?
>
The output of 'ps aux', 'iostat', and 'free -m' would help identify the
problem.  Also, 'cat /proc/mdstat' if you have a RAID setup.

Regards,

-Roberto

--
Roberto C. Sánchez

Date: Wed, 8 Nov 2017 14:17:08 -0500
From: Michael Stone <mstone@debian.org>
To: Dominik George <nik@naturalnet.de>
Cc: debian-user@lists.debian.org
Subject: Re: Sync two disks and hot swap
Message-ID: <[🔎] 602667dc-c4b9-11e7-9b6a-00163eeb5320@msgid.mathom.us">602667dc-c4b9-11e7-9b6a-00163eeb5320@msgid.mathom.us>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

On Wed, Nov 08, 2017 at 07:55:24PM +0100, Dominik George wrote:
>Hi,
>
>> Instead, if you just want a disk that has a readable copy of the files, you
>> may find that rsync is more straightforward and can be a lot faster after
>> the first time if the volume of changes is a small percentage of the total.
>
>Yes, of course. But that would not lead to an identical copy of the
>disk, only the files in its filesystem.

what is the goal in having an identical copy of the disk?

Mike Stone

Date: Wed, 8 Nov 2017 20:19:11 +0100
From: Laurent Lyaudet <laurent.lyaudet@gmail.com>
To: debian-user@lists.debian.org
Subject: Reproducible bug
Message-ID: <CAB1LBmvuUnMa0PxPrdend0hNvdECYbacTR6mdkvGq82taqt+bw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="089e082454e4fd6fd7055d7d8f25"

--089e082454e4fd6fd7055d7d8f25
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I found a reproducible bug in latest stable Debian on my laptop.
My install is up-to-date with latest security updates (that's the first
thing I do anytime I start my laptop).
I'm using Gnome.

Steps to reproduce on my laptop:
 - activate the wifi with upper right screen controls
 - repeatedly click on "Activities" in the upper left corner to show the
quick launch bar and click below to hide it. After a few seconds after the
network connection is set, the click on Activities no longer works. After
one minute, it starts working again.

Note that if I don't activate the wifi, then I can repeatedly click on
"Activities" without triggering the bug.

When I first installed the latest stable Debian on my laptop, I did not
encounter this bug.
I suppose it is a bug with Gnome but I'm not sure, that's why I'm here.
I wonder why it started happening a few weeks ago.
I think there was the update to X and I also had a crash of Firefox at its
startup because of some recently opened webpage.
Hence I don't know if it's a regression or a malware that causes this. (Yes
I'm a bit parano=C3=AFd but unfortunately, when I was using Ubuntu, before =
I
switched back to Debian, I have been hacked and lost some files :( .)

Thank you for the help, best regards,
   Laurent Lyaudet

--089e082454e4fd6fd7055d7d8f25
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div>Hello,<br><br></div>I f=
ound a reproducible bug in latest stable Debian on my laptop.<br></div>My i=
nstall is up-to-date with latest security updates (that&#39;s the first thi=
ng I do anytime I start my laptop).<br></div><div>I&#39;m using Gnome.<br><=
/div><div><br></div><div>Steps to reproduce on my laptop:<br></div><div>=C2=
=A0- activate the wifi with upper right screen controls<br></div><div>=C2=
=A0- repeatedly click on &quot;Activities&quot; in the upper left corner to=
 show the quick launch bar and click below to hide it. After a few seconds =
after the network connection is set, the click on Activities no longer work=
s. After one minute, it starts working again.<br><br></div><div>Note that i=
f I don&#39;t activate the wifi, then I can repeatedly click on &quot;Activ=
ities&quot; without triggering the bug.<br></div><div><br></div><div>When I=
 first installed the latest stable Debian on my laptop, I did not encounter=
 this bug.<br></div>I suppose it is a bug with Gnome but I&#39;m not sure, =
that&#39;s why I&#39;m here. <br>I wonder why it started happening a few we=
eks ago.<br></div>I think there was the update to X and I also had a crash =
of Firefox at its startup because of some recently opened webpage.<br></div=
>Hence I don&#39;t know if it&#39;s a regression or a malware that causes t=
his. (Yes I&#39;m a bit parano=C3=AFd but unfortunately, when I was using U=
buntu, before I switched back to Debian, I have been hacked and lost some f=
iles :( .)<br><br></div>Thank you for the help, best regards,<br></div>=C2=
=A0=C2=A0 Laurent Lyaudet<br></div>

--089e082454e4fd6fd7055d7d8f25--

Date: Wed, 8 Nov 2017 19:36:41 +0000
From: Andrew W <andrewjameswood@ymail.com>
To: debian-user@lists.debian.org
Subject: Re: Ethernet card locking up when acting as virtual bridge
Message-ID: <[🔎] 2a725b62-300f-e57a-a319-3444c9b7aff8@ymail.com">2a725b62-300f-e57a-a319-3444c9b7aff8@ymail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-GB

On 08/11/2017 14:59, Christian Seiler wrote:
>
> Is is possible for you to try a static IP on this interface and see
> if that solves your problem?
>
Ive cleared the dhcp on br1 (and not assigned a static, left it with no
IP) and so far its working OK
I will leave it a couple of days and see if it has indeed fixed the problem
Thanks Christian for your comprehensive reply and help.

Regards
Andrew

Date: Wed, 8 Nov 2017 19:59:00 +0000 (UTC)
From: davidson <davidson@freevolt.org>
To: debian-user@lists.debian.org
Subject: Re: Opening Intellicast Causes Firefox to close
Message-ID: <[🔎] alpine.DEB.2.10.1711081946540.23574@freevolt.org">alpine.DEB.2.10.1711081946540.23574@freevolt.org>
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

On Tue, 7 Nov 2017, Stephen P. Molnar wrote:
>
> On 11/07/2017 01:50 PM, Will Mengarini wrote:
>> * Stephen P Molnar <s.molnar@sbcglobal.net> [17-11/07=Tu 07:20 -0500]:
>>>> I am running Firefox ESR 52.4.0 (64 bit) on my [up-to-date
>>>> Stretch platform.  When] I attempt opening Intellicast,
>>>> either with Speeddial or tying the URL, Firefox crashes.
>>>>
>>>> This just started happening yesterday
>>>> and there are no warnings or errors.

[snipped lots of (well-deserved) web 2.0 hate]

> I appreciate the replies.
>
> I'm probably going to have to change browsers, although I like the way the
> Firefox handles Speeddial.

It is my understanding that fancy package management tools that I
don't use myself (like aptitude, synaptic, etc) can search for
packages that Provide 'www-browser', or for packages with Tag
'web::browser'.  Maybe somebody familiar with such fancy tools can
chime in and explain how to do this.

Myself, I search for web browser packages like so:

  $ apt-cache search web browser | grep -i 'web.*browser'

On stretch, main repo only, this returns about 60-odd results with
lots of false positives.

Out of those results, these are packaged web browsers in stretch main
that I can recall using and not hating:

uzbl (NB: see /usr/share/doc/uzbl/keybindings.html)
conkeror (haven't used this one since wheezy.)
konqueror (it's been ages since I used it.)
epiphany-browser
surf
lynx (no interpretation of _javascript_; this has both pros and cons)

And here are the rest, as far as I can tell:

chromium (duh. included for completeness)
dillo
edbrowse
firefox-esr (OP wants something else; included for completeness)
iceweasel (duh. included for completeness)
links
links2
luakit
midori
netsurf, netsurf-fb, netsurf-gtk
hv3 (due to a missing library in debian it lacks _javascript_ support)
xombrero

Good luck.

Date: Wed, 8 Nov 2017 14:48:34 -0500
From: Greg Wooledge <wooledg@eeg.ccf.org>
To: debian-user@lists.debian.org
Subject: Re: Opening Intellicast Causes Firefox to close
Message-ID: <[🔎] 20171108194834.xpsr2g24pvyydisx@eeg.ccf.org">20171108194834.xpsr2g24pvyydisx@eeg.ccf.org>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Nov 08, 2017 at 07:59:00PM +0000, davidson wrote:
> It is my understanding that fancy package management tools that I
> don't use myself (like aptitude, synaptic, etc) can search for
> packages that Provide 'www-browser', or for packages with Tag
> 'web::browser'.  Maybe somebody familiar with such fancy tools can
> chime in and explain how to do this.
>
> Myself, I search for web browser packages like so:
>
>  $ apt-cache search web browser | grep -i 'web.*browser'

What you want is a list of package that "provide" the www-browser
virtual package.  The only way I currently know to get this is:

apt-cache showpkg www-browser | sed '1,/Reverse Provides/d'

Date: Wed, 8 Nov 2017 14:59:05 -0500
From: Roberto =?iso-8859-1?Q?C=2E_S=E1nchez?= <roberto@debian.org>
To: debian-user@lists.debian.org
Subject: Re: Reproducible bug
Message-ID: <[🔎] 20171108195905.ehj4s27qzgguxsmr@santiago.connexer.com">20171108195905.ehj4s27qzgguxsmr@santiago.connexer.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Wed, Nov 08, 2017 at 08:19:11PM +0100, Laurent Lyaudet wrote:
>    Hello,
>
>    I found a reproducible bug in latest stable Debian on my laptop.
>    My install is up-to-date with latest security updates (that's the first
>    thing I do anytime I start my laptop).
>    I'm using Gnome.
>    Steps to reproduce on my laptop:
>     - activate the wifi with upper right screen controls
>     - repeatedly click on "Activities" in the upper left corner to show the
>    quick launch bar and click below to hide it. After a few seconds after the
>    network connection is set, the click on Activities no longer works. After
>    one minute, it starts working again.
>
>    Note that if I don't activate the wifi, then I can repeatedly click on
>    "Activities" without triggering the bug.

This sounds like some sort of network-related time out.  Do you have
LDAP authentication, Kerberos, Samba, NFS automounts, etc.?  Does it
always happen regardless of what wireless network you connect to?  Could
it be the DNS configuration, whether that is the configuration pushed by
the network's DHCP server or an override configuration you are using?

Regards,

-Roberto

--
Roberto C. Sánchez

Date: Wed, 8 Nov 2017 20:15:47 +0000 (UTC)
From: davidson <davidson@freevolt.org>
To: debian-user@lists.debian.org
Subject: Re: Opening Intellicast Causes Firefox to close
Message-ID: <[🔎] alpine.DEB.2.10.1711082003470.23574@freevolt.org">alpine.DEB.2.10.1711082003470.23574@freevolt.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 8 Nov 2017, davidson wrote:
>
> Myself, I search for web browser packages like so:
>
> $ apt-cache search web browser | grep -i 'web.*browser'
>
> On stretch, main repo only, this returns about 60-odd results with
> lots of false positives.

I neglected to mention that this kludge fails to return some packaged
web browsers. w3m and elinks, for example. (And it does return
qupzilla, though I missed seeing it on first glance.)

So the list is incomplete.

But seeing as OP had resorted to compiling seamonkey, I thought I'd
throw in two cents for whatever it might be worth.

Date: Wed, 8 Nov 2017 20:26:51 +0000 (UTC)
From: davidson <davidson@freevolt.org>
To: debian-user@lists.debian.org
Subject: Re: Opening Intellicast Causes Firefox to close
Message-ID: <[🔎] alpine.DEB.2.10.1711082023220.23574@freevolt.org">alpine.DEB.2.10.1711082023220.23574@freevolt.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 8 Nov 2017, Greg Wooledge wrote:

> On Wed, Nov 08, 2017 at 07:59:00PM +0000, davidson wrote:
>> It is my understanding that fancy package management tools that I
>> don't use myself (like aptitude, synaptic, etc) can search for
>> packages that Provide 'www-browser', or for packages with Tag
>> 'web::browser'.  Maybe somebody familiar with such fancy tools can
>> chime in and explain how to do this.
>>
>> Myself, I search for web browser packages like so:
>>
>>  $ apt-cache search web browser | grep -i 'web.*browser'
>
> What you want is a list of package that "provide" the www-browser
> virtual package.  The only way I currently know to get this is:
>
> apt-cache showpkg www-browser | sed '1,/Reverse Provides/d'

That is perfect. Thank you.

Date: Wed, 8 Nov 2017 22:18:13 +0200
From: Adrian Bunk <bunk@debian.org>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Arnd Bergmann <arnd@arndb.de>, debian-user@lists.debian.org
Subject: Re: Anyone using stretch/buster/sid on ARMv4t ?
Message-ID: <20171108201813.lehzhh3z5btvmrt4@localhost>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

On Wed, Nov 08, 2017 at 12:52:05AM +0200, Aaro Koskinen wrote:
>
>... OMAP15xx is frequently tested and used
> by OMAP1 hackers (thanks to Amstrad Delta).

But is anyone still using Debian on OMAP15xx?

Looking at the amount of RAM in the Amstrad Delta,
I'd be surprised if anyone is actually using
Debian on that hardware.

> A.

cu
Adrian

--

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Date: Wed, 08 Nov 2017 21:58:15 +0100
From: deloptes <deloptes@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: RAID 5 array with journal device does not automatically assemble at boot
Message-ID: <otvr50$j7e$1@blaine.gmane.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit

Tobx wrote:

> RAID assembling at boot only works when no journal device is involved.
>

I can't help much here, nothing to compare. I forgot to mention that md
driver is compiled in the kernel in my case.

> VERBOSE=false

perhaps set to true and see what it says.

>
> Options in /etc/mdadm/mdadm.conf are:
>
> HOMEHOST <system>
> MAILADDR root
> ARRAY /dev/md/test  metadata=1.2 UUID=4f0448f6:fee2638c:a1c1b547:20358980
> name=debian:test spares=1

.. and I assume you double checked (blkid) the UUID.

No idea - just trying to help as it sounded similar to what I've
experienced. However in your case the "--write-journal=/dev/sde1" seems to
cause the issue.
According the docs [1,2] I overflew it is used only when creating an array.
[3] says explicitly create, build or grow. For manage you should
use --add-journal

regards

[1] https://lwn.net/Articles/665299/
[2] 2016_vault_write_journal_cache_v2.pdf
[3] https://man.cx/mdadm(8)

Date: Wed, 8 Nov 2017 13:07:07 -0800
From: Will Mengarini <seldon@eskimo.com>
To: "Stephen P. Molnar" <s.molnar@sbcglobal.net>
Cc: debian-user@lists.debian.org
Subject: Re: Opening Intellicast Causes Firefox to close
Message-ID: <[🔎] 20171108210707.GA13564@eskimo.com">20171108210707.GA13564@eskimo.com>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Stephen P Molnar <s.molnar@sbcglobal.net> [17-11/08=We 07:25 -0500]:
> I downloaded and compiled the src from The Seamonkey Project.
> [...] The browser still crashed when loading www,distrowatch.com!!!

When I try to access distrowatch.com with a very old Firefox,
using NoScript, I always get 403 Forbidden with no other message.

However, Stretch versions of text browsers
Lynx, w3m, and elinks have no problem.

(I don't have a graphics-enabled Stretch working yet -
hardware issues - so I can't try the latest graphical browsers.)

(1) So it's possible distrowatch.com is weird in some way that Seamonkey
    can't handle.  If you're getting crashes on many other web sites,
    especially if they're intermittent, you might want to consider
    incipient hardware failure as a differential diagnosis.

    I'd expect incipient hardware failure to cause glitches more frequently
    when you're using a graphical system than when doing text-mode work.

(2) A better possibility is that it's an SSL issue.  Running strace
    to find where the crash occurs could localize that.  Identifying
    your SSL library and possibly upgrading or changing it could help.

(3) Lynx compiled on a Gentoo system used to crash often because
    of a problem with the default CFLAGS setting.  Check that
    your CFLAGS are conservative; you're looking for reliability,
    not speed.  Also, conservative CFLAGS (disabling most
    optimizations) might make debugging output more meaningful.

> Compiling the src reminded me of years ago when I used to compile the
> Linux kernel - an agonizingly long procedure, but it finally finished.

I find it helps to keep reminding myself that computers save time.

--
                 Will Mengarini  <seldon@eskimo.com>
         Free software: the Source will be with you, always.
              "techtonic stress"  -- Unix fortune cookie

Date: Wed, 08 Nov 2017 22:09:59 +0100
From: deloptes <deloptes@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: Handhelds that conviently run Debian
Message-ID: <otvrqv$jia$1@blaine.gmane.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit

Richard Owlett wrote:

> On a regional mailing list I had described what I'm looking for as a
> tablet. That seems to include things that fold.  Although I *DON'T* want
> a "smartphone", that physical form factor is desirable. It must be
> available as "new" from a U.S. retailer.
>
> I have a preference for x86 processors, that is not a requirement.
> I would like to use with a USB keyboard.
> It will be used for simple data collection and data will be transferred
> to home system primarily via a USB flash drive.
>
> I suspect I've some unrecognized assumptions.
> Suggestions please.

there are various small factor and mini pcs, industrial pcs as well. What I
don't understand is if you want to have a screen attached or embedded.

some 10y ago I bought Acrosser with Geode, Raspberry and alike is definitely
an option.
Recently I'm playing with SailfishOS on Sony Xperia X, I also bought Intex
AquaFish and I'm using Nokia N9 as primary phone.

>From what I've seen you can't easily find something handheld where you can
plug a usb - don't know because of size or power.
Also those mini pcs with SoC for the public are lame IMO, but good change
that it would run debian

https://www.linux.com/news/five-best-linux-powered-mini-computers

regards

Date: Wed, 8 Nov 2017 14:56:36 -0600
From: "Josh W." <joshw8104@gmail.com>
To: debian-user@lists.debian.org
Subject: sudo
Message-ID: <CAG9XMTsWycktUz=9it07i74vOqFcKK3Atk_6kQ9-sofMniB1hQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="94eb2c19ac885ddb3a055d7eec7c"

--94eb2c19ac885ddb3a055d7eec7c
Content-Type: text/plain; charset="UTF-8"

Hello, I am trying to figure out how to add a user to sudo... Not sure of
the process.. Could somebody point me in the right direction. Thanks!


Joshua <joshw8104@gmail.com>

--94eb2c19ac885ddb3a055d7eec7c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello, I am trying to figure out how to add a user to sudo=
... Not sure of the process.. Could somebody point me in the right directio=
n. Thanks!<br><br><br clear=3D"all"><div><div><div class=3D"gmail_signature=
" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Joshua &lt;<a href=""> "mailto:joshw8104@gmail.com" target=3D"_blank">joshw8104@gmail.com</a>&gt;<=
/div></div></div>
</div></div>

--94eb2c19ac885ddb3a055d7eec7c--

Date: Wed, 8 Nov 2017 16:18:24 -0500
From: Greg Wooledge <wooledg@eeg.ccf.org>
To: debian-user@lists.debian.org
Subject: Re: sudo
Message-ID: <[🔎] 20171108211824.6ovslmqist2tsous@eeg.ccf.org">20171108211824.6ovslmqist2tsous@eeg.ccf.org>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Nov 08, 2017 at 02:56:36PM -0600, Josh W. wrote:
> Hello, I am trying to figure out how to add a user to sudo... Not sure of
> the process.. Could somebody point me in the right direction. Thanks!

Add the user to the "sudo" group.  Either by editing /etc/group directly,
or by using "adduser username sudo".

Date: Wed, 8 Nov 2017 13:20:39 -0800
From: Will Mengarini <seldon@eskimo.com>
To: "Josh W." <joshw8104@gmail.com>
Cc: debian-user@lists.debian.org
Subject: Re: sudo
Message-ID: <[🔎] 20171108212038.GB13564@eskimo.com">20171108212038.GB13564@eskimo.com>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Josh W. <joshw8104@gmail.com> [17-11/08=We 14:56 -0600]:
> I am trying to figure out how to add a user to sudo.  Not sure of the
> process.  Could somebody point me in the right direction.  Thanks!

sudo adduser beeblebrox sudo # man adduser

Date: Wed, 8 Nov 2017 22:21:58 +0100
From:  <tomas@tuxteam.de>
To: debian-user@lists.debian.org
Subject: Re: sudo
Message-ID: <[🔎] 20171108212158.GA13255@tuxteam.de">20171108212158.GA13255@tuxteam.de>
Content-Type: text/plain; charset=utf-8; x-action=""> Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Nov 08, 2017 at 02:56:36PM -0600, Josh W. wrote:
> Hello, I am trying to figure out how to add a user to sudo... Not sure of
> the process.. Could somebody point me in the right direction. Thanks!

In Debian, typically there's a group called 'sudo': user belonging to
this group have sudo capability (if the group is enabled for that in
the /etc/sudoers file). So:

 - enable the 'sudo' group in the /etc/sudoers file, by editing
   as root (there's a nice command visudo which calls your favourite
   editor on this file and helps you making sure that you don't
   break anything -- see man visudo for details). Make sure you
   have a line like

%sudo   ALL=(ALL:ALL) ALL

   in that file (possibly you just have to remove a comment sign
   '#' at its beginning)

 - add your user to the sudo group:

   adduser <your user here> sudo

Note that you have to login for that to take effect.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAloDdXYACgkQBcgs9XrR2kaFHQCeJ7Iy8c8N5H11DSot5/9l3oLv
IogAni/KX5rU+8nuES4HN/iIcD7CqKcy
=0Oku
-----END PGP SIGNATURE-----

Date: Wed, 8 Nov 2017 21:24:23 +0000
From: Tom Furie <tom@furie.org.uk>
To: debian-user@lists.debian.org
Subject: Re: sudo
Message-ID: <[🔎] 20171108212423.GA1001@furie.org.uk">20171108212423.GA1001@furie.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v"
Content-Disposition: inline

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 08, 2017 at 02:56:36PM -0600, Josh W. wrote:

> Hello, I am trying to figure out how to add a user to sudo... Not sure of
> the process.. Could somebody point me in the right direction. Thanks!

If you just want to allow a user to use sudo in the default Debian
configuration, it's as simple as adding the user to the sudo group:

   # adduser <username> sudo

where <username> is the user you want to add. The user will be in the
group the next time they log in.

Cheers,
Tom

--=20
I have always noticed that whenever a radical takes to Imperialism,
he catches it in a very acute form.
                -- Winston Churchill, 1903

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAloDdgcACgkQ2svup27rrInbcwCfWRofNcD2vXYTO1A34EolIru9
a+0An2XKb2XkdXIRDUN0iN5W6SbjFcPW
=t8WV
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--

Date: Wed, 8 Nov 2017 21:35:03 +0000
From: Joe <joe@jretrading.com>
To: debian-user@lists.debian.org
Subject: Re: sudo
Message-ID: <[🔎] 20171108213503.6fad3656@jresid.jretrading.com">20171108213503.6fad3656@jresid.jretrading.com>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 8 Nov 2017 14:56:36 -0600
"Josh W." <joshw8104@gmail.com> wrote:

> Hello, I am trying to figure out how to add a user to sudo... Not
> sure of the process.. Could somebody point me in the right direction.
> Thanks!


Try Google with
 sudo tutorial debian

In Debian, you can do this the quick and (very) dirty way, by
effectively making yourself root after the entry of your user password:
https://wiki.debian.org/sudo

This is fine for a one-user home computer that's not likely to attract
the attention of serious human hackers.

Or you can do it the 'proper' way, by defining what commands you want
to run, and creating /etc/sudoers (better, new files in /etc/sudoers.d)
entries to suit using the visudo program as root. This is harder, and
requires you to know in advance what you want to do as root, but the
correct way with multiple users with varying duties, and/or a business
environment.

--
Joe



Reply to: