Re: Planning a Debian NAS

2020-01-25 Thread David Christensen
On 2020-01-25 17:34, Aidan Gauland wrote: I want to set up a file server on my home LAN with just consumer-grade hardware, and run Debian stable on it.  For hardware, I am probably going to get a refurbished mid-range tower with a four to six 3.5" SATA drive capacity, and put WD Reds in it. W

Re: Sudo

2020-01-25 Thread Russell L. Harris
On Sat, Jan 25, 2020 at 07:28:39PM -0800, Patrick Bartek wrote: On Sat, 25 Jan 2020 12:27:21 -0600 Paul Johnson wrote: On Sat, Jan 25, 2020 at 11:40 AM Patrick Bartek wrote: I'm curious for more on this perspective. Security is not so much one or two big things, but a lot of little things y

Re: Planning a Debian NAS

2020-01-25 Thread Aidan Gauland
On 26/01/20 3:17 pm, Paul Johnson wrote: ext4 is the best way to go unless you have extremely specific needs or you really want to overcomplicate things for a hobby. I love over-complicating my hobbies.

Re: Sudo

2020-01-25 Thread Patrick Bartek
On Sat, 25 Jan 2020 12:27:21 -0600 Paul Johnson wrote: > On Sat, Jan 25, 2020 at 11:40 AM Patrick Bartek wrote: > > > On Sat, 25 Jan 2020 09:39:28 -0700 > > "Harold Hartley" wrote: > > > > > I did a net-install and installed with no problems. > > > The only problem I’m having is when I want

Re: Planning a Debian NAS

2020-01-25 Thread Paul Johnson
On Sat, Jan 25, 2020 at 7:34 PM Aidan Gauland wrote: > I want to set up a file server on my home LAN with just consumer-grade > hardware, and run Debian stable on it. For hardware, I am probably > going to get a refurbished mid-range tower with a four to six 3.5" SATA > drive capacity, and put W

Re: Planning a Debian NAS

2020-01-25 Thread Josef Grosch
On 1/25/20 5:34 PM, Aidan Gauland wrote: I want to set up a file server on my home LAN with just consumer-grade hardware, and run Debian stable on it.  For hardware, I am probably going to get a refurbished mid-range tower with a four to six 3.5" SATA drive capacity, and put WD Reds in it.

Planning a Debian NAS

2020-01-25 Thread Aidan Gauland
I want to set up a file server on my home LAN with just consumer-grade hardware, and run Debian stable on it.  For hardware, I am probably going to get a refurbished mid-range tower with a four to six 3.5" SATA drive capacity, and put WD Reds in it. What I'm not sure of which filesystem to use

Re: Displaying an arbitrary file in _both_ HEX and ASCII

2020-01-25 Thread Erik Christiansen
On 25.01.20 05:51, Richard Owlett wrote: > My current project is dealing with oddly formatted data. Mostly just plain > ASCII. Progress on another aspect of my project has made this thread moot. For the thread, there's also: $ apt-cache search bvi bvi - binary file ed

Re: Sudo

2020-01-25 Thread Harold Hartley
I have solved the problem. I re-installed it using non graphical install and it works fine. Thanks everyone for your help. On Sat, Jan 25, 2020, at 16:40, David Wright wrote: > On Sat 25 Jan 2020 at 22:51:59 (+0300), Reco wrote: > > On Sat, Jan 25, 2020 at 01:43:00PM -0600, David Wright wrote: >

Re: Sudo

2020-01-25 Thread David Wright
On Sat 25 Jan 2020 at 22:51:59 (+0300), Reco wrote: > On Sat, Jan 25, 2020 at 01:43:00PM -0600, David Wright wrote: > > All we've had so far is vague recollections, and a command that > > can't possibly work: su apt-get update > > It's: > > su -c "apt-get update" I think the OP knows what the

Re: Sudo

2020-01-25 Thread ghe
On 1/25/20 11:14 AM, Charles Curley wrote: > Are you sure it's root's password that sudo wants? Try giving it your > user account's password. su wants root PW. sudo want's user's. -- Glenn English

Re: Sudo

2020-01-25 Thread Charles Curley
On Sat, 25 Jan 2020 11:28:05 -0700 "Harold Hartley" wrote: > It says I’m not in file or something to that. That's pretty much a useless response. We're not looking over your shoulder, and we often need the exact response. Often seeing exactly what you do may show something that hasn't been discu

Re: Sudo

2020-01-25 Thread Reco
Hi. On Sat, Jan 25, 2020 at 01:43:00PM -0600, David Wright wrote: > All we've had so far is vague recollections, and a command that > can't possibly work: su apt-get update It's: su -c "apt-get update" Reco

Re: Sudo

2020-01-25 Thread Russell L. Harris
On Sat, Jan 25, 2020 at 10:50:37AM -0700, Harold Hartley wrote: I installed 10.2... Good. Yes, I created a root password and a user account. Good; that is all you need. Unless others have access to the machine and you have unusual concerns regarding security, forget about sudo. ... when

Re: Sudo

2020-01-25 Thread David Wright
On Sat 25 Jan 2020 at 11:29:26 (-0700), Harold Hartley wrote: > Like what. I think the curiosity is directed at Patrick Bartek's views on sudo. (Mine too.) However, what I'd like to see is some actual commands and their error messages please. All we've had so far is vague recollections, and a co

Re: Sudo

2020-01-25 Thread Jonas Smedegaard
Re-posting as it seems you didn't receive/notice it first. Additional comments based on other subthreads below the quote... Quoting Jonas Smedegaard (2020-01-25 18:28:20) > Hi Harold, > > Quoting Harold Hartley (2020-01-25 17:39:28) > > I did a net-install and installed with no problems. > > The

Re: Sudo

2020-01-25 Thread Marco Shaw
I’m not sure if my messages are making it to the list. I could explain detail, but Googling for the error gives this example: https://www.google.com/amp/s/www.tecmint.com/fix-user-is-not-in-the-sudoers-file-the-incident-will-be-reported-ubuntu/amp/ sudo might give you nothing if you now somehow

Re: Sudo

2020-01-25 Thread john doe
On 1/25/2020 7:28 PM, Harold Hartley wrote: > It says I’m not in file or something to that. > > On Sat, Jan 25, 2020, at 11:20, john doe wrote: >> On 1/25/2020 5:39 PM, Harold Hartley wrote: >>> I did a net-install and installed with no problems. >>> The only problem I’m having is when I want to ch

Re: Sudo

2020-01-25 Thread Harold Hartley
Like what. On Sat, Jan 25, 2020, at 11:27, Paul Johnson wrote: > On Sat, Jan 25, 2020 at 11:40 AM Patrick Bartek wrote: > > On Sat, 25 Jan 2020 09:39:28 -0700 > > "Harold Hartley" wrote: > > > > > I did a net-install and installed with no problems. > > > The only problem I’m having is when I

Re: Sudo

2020-01-25 Thread Harold Hartley
It says I’m not in file or something to that. On Sat, Jan 25, 2020, at 11:20, john doe wrote: > On 1/25/2020 5:39 PM, Harold Hartley wrote: > > I did a net-install and installed with no problems. > > The only problem I’m having is when I want to check for updates or install > > a file, it tells m

Re: Sudo

2020-01-25 Thread Paul Johnson
On Sat, Jan 25, 2020 at 11:40 AM Patrick Bartek wrote: > On Sat, 25 Jan 2020 09:39:28 -0700 > "Harold Hartley" wrote: > > > I did a net-install and installed with no problems. > > The only problem I’m having is when I want to check for updates or > install a file, it tells me that I’m not in the

Re: Sudo

2020-01-25 Thread john doe
On 1/25/2020 5:39 PM, Harold Hartley wrote: > I did a net-install and installed with no problems. > The only problem I’m having is when I want to check for updates or install a > file, it tells me that I’m not in the sudoers file. > I’m not sure what’s going on, but I’m the only one on the system

Re: Sudo

2020-01-25 Thread Harold Hartley
It won’t let me use sudo or su. And I created a root password and a user. On Sat, Jan 25, 2020, at 11:14, Charles Curley wrote: > On Sat, 25 Jan 2020 10:50:37 -0700 > "Harold Hartley" wrote: > > > when logged in as a user and type sudo or su apt-get update it then > > should ask for the root pas

Re: Sudo

2020-01-25 Thread Charles Curley
On Sat, 25 Jan 2020 10:50:37 -0700 "Harold Hartley" wrote: > when logged in as a user and type sudo or su apt-get update it then > should ask for the root password and then does it’s thing. Are you sure it's root's password that sudo wants? Try giving it your user account's password. -- Does a

Re: Sudo

2020-01-25 Thread Harold Hartley
It won’t let me use su either. On Sat, Jan 25, 2020, at 10:40, Patrick Bartek wrote: > On Sat, 25 Jan 2020 09:39:28 -0700 > "Harold Hartley" wrote: > > > I did a net-install and installed with no problems. > > The only problem I’m having is when I want to check for updates or install > > a file

Re: Sudo

2020-01-25 Thread Harold Hartley
Yes, I know the difference between su and sudo. But I could not get anywhere if I used su or sudo. It tells me I’m not in either file. Not sure what has changed in Debian since I last used Debian. On Sat, Jan 25, 2020, at 10:33, Peter Ehlert wrote: > > On 1/25/20 8:39 AM, Harold Hartley wrote: >

Re: Sudo

2020-01-25 Thread Harold Hartley
I installed 10.2... when logged in as a user and type sudo or su apt-get update it then should ask for the root password and then does it’s thing. At least that’s how it worked when I used Debian before. Yes, I created a root password and a user account. On Sat, Jan 25, 2020, at 10:35, Russell L

Re: Sudo

2020-01-25 Thread Peter Ehlert
On 1/25/20 8:39 AM, Harold Hartley wrote: I did a net-install and installed with no problems. The only problem I’m having is when I want to check for updates or install a file, it tells me that I’m not in the sudoers file. I’m not sure what’s going on, but I’m the only one on the system and sh

Re: Sudo

2020-01-25 Thread Marco Shaw
Sorry I won’t assume specifically for the version you have and what your actual goal is. You can usually either: 1. Learn the sudoers file syntax. or 2. Be a bit lazy and just add your user account to the sudo group. Marco > On Jan 25, 2020, at 12:46 PM, Harold Hartley wrote: > > I did a

Re: Sudo

2020-01-25 Thread Patrick Bartek
On Sat, 25 Jan 2020 09:39:28 -0700 "Harold Hartley" wrote: > I did a net-install and installed with no problems. > The only problem I’m having is when I want to check for updates or install a > file, it tells me that I’m not in the sudoers file. > I’m not sure what’s going on, but I’m the only o

Re: Sudo

2020-01-25 Thread Russell L. Harris
On Sat, Jan 25, 2020 at 09:39:28AM -0700, Harold Hartley wrote: The only problem I'm having is when I want to check for updates or install a file, it tells me that I'm not in the sudoers file. ... I'm the only one on the system and should have admin access anyways. What is this "admin" access

[SOLVED] Re: use find to generate print list

2020-01-25 Thread Russell L. Harris
On Sat, Jan 25, 2020 at 09:23:12AM +0100, to...@tuxteam.de wrote: On Sat, Jan 25, 2020 at 07:43:40AM +, Russell L. Harris wrote: In the "find" man page is an example which uses (1) "-prune" to exclude a directory and (2) "! -name '*~'" to exclude both files and directories the name of which

Re: Sudo

2020-01-25 Thread Jonas Smedegaard
Hi Harold, Quoting Harold Hartley (2020-01-25 17:39:28) > I did a net-install and installed with no problems. > The only problem I’m having is when I want to check for updates or install a > file, it tells me that I’m not in the sudoers file. > I’m not sure what’s going on, but I’m the only one o

Sudo

2020-01-25 Thread Harold Hartley
I did a net-install and installed with no problems. The only problem I’m having is when I want to check for updates or install a file, it tells me that I’m not in the sudoers file. I’m not sure what’s going on, but I’m the only one on the system and should have admin access anyways. Hope someone

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-25 Thread Nate Bargmann
What do you get if there is no ~/.emacs or ~/.emacs.d/init.el file? Are you using the Emacs GTK GUI or running in a terminal? As I like my terminal sessions to be gray text on a black (or nearly black) background (the reason is historical from the days before anti-aliased fonts were well supporte

Re: use find to generate print list

2020-01-25 Thread Roberto C . Sánchez
On Sat, Jan 25, 2020 at 09:23:12AM +0100, to...@tuxteam.de wrote: > On Sat, Jan 25, 2020 at 07:43:40AM +, Russell L. Harris wrote: > > In the "find" man page is an example which uses (1) "-prune" to > > exclude a directory and (2) "! -name '*~'" to exclude both files and > > directories the nam

Re: Displaying an arbitrary file in _both_ HEX and ASCII

2020-01-25 Thread Richard Owlett
On 01/24/2020 03:38 PM, Stefan Pietsch wrote: On 2020-01-22 13:12, Richard Owlett wrote: I'm running Debian 9.8 with MATE desktop. I'm exploring a data file with the intention of eventually parsing it in a useful fashion. Just downloaded ghex. I like the display format. Its tools are inconven

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-25 Thread Curt
On 2020-01-24, Tom Browder wrote: > > I have a new laptop running Buster (with the MATE desktop) and noticed my > Emacs highlighted text was not showing any differently than non-highlighted > text. After some conversation on the #emacs IRC channel, it was suggested I > run this in a terminal windo

Re: identity confusion

2020-01-25 Thread Curt
On 2020-01-24, Gene Heskett wrote: >> > >> > Gene's headers > > As sent.. User-Agent: KMail/1.9.10 > Yeah, I managed to misread that somehow, and instead of a clarification, I might have achieved a mystification. Oops. -- "J'ai pour me guérir du jugement des autres toute la distance qui me sé

Re: use find to generate print list

2020-01-25 Thread tomas
On Sat, Jan 25, 2020 at 07:43:40AM +, Russell L. Harris wrote: > In the "find" man page is an example which uses (1) "-prune" to > exclude a directory and (2) "! -name '*~'" to exclude both files and > directories the name of which end in "~": > > find . -name .snapshot -prune -o \( \! -name

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-25 Thread tomas
On Fri, Jan 24, 2020 at 04:10:37PM -0600, Tom Browder wrote: > I have a new laptop running Buster (with the MATE desktop) and noticed my > Emacs highlighted text was not showing any differently than non-highlighted > text. After some conversation on the #emacs IRC channel, it was suggested I > run

use find to generate print list

2020-01-25 Thread Russell L. Harris
In the "find" man page is an example which uses (1) "-prune" to exclude a directory and (2) "! -name '*~'" to exclude both files and directories the name of which end in "~": find . -name .snapshot -prune -o \( \! -name '*~' -print0 \)| cpio -pmd0 /dest-dir I have tried without success to