Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread John Jason Jordan
On Fri, 31 Mar 2017 22:30:33 -0700
Chuck Hast  dijo:

>On a whim I ran smartctl on my 3 USB disks, guess what??? The Seagate
>knows nothing, the two WD drives give me all of the info... Go

You 'ran smartctl' on your drives. How did you do that? From the
command line? 'Man smartctrl' gave me 'no manual entry for smartctl.'
If smartctl is, indeed, a command line tool, some syntax and lexicon
would be useful.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread Chuck Hast
Folks,
On a whim I ran smartctl on my 3 USB disks, guess what??? The Seagate
knows nothing, the two WD drives give me all of the info... Go figure...

On Fri, Mar 31, 2017 at 5:17 PM, John Jason Jordan  wrote:

> On Fri, 31 Mar 2017 16:24:54 -0700
> david  dijo:
>
> >On 03/31/2017 02:59 PM, John Jason Jordan wrote:
> >> I know that the 8TB WD in my Synology has a five year warranty, but
> >> I'll be damned if I can remember which color it is or which model
> >> number. I just spent the last half hour looking everywhere for the
> >> purchase details, but all I can determine is that it was not from
> >> Amazon, and the date must have been early July 2016, because that's
> >> when I signed up for the Synology forums, and I bought the drive and
> >> the Synology at the same time. I also remember them both arriving in
> >> the mail.
>
> >If you have a way to get data directly from the NAS, you can try
> >smartctl (though I suspect this may not be possible):
>
> I finally figured out how to get into the Synology - just put its IP
> address on my network into a Friefox tab, then the default username and
> pass are 'admin' and .
>
> Once logged in there was a tab labeled 'Storage' that showed my drive,
> including its serial number and other features. I was shocked to see
> that it is 6TB, not 8TB. I could swear that I bought an 8TB, but it
> really is a 6TB, clearly visible from the first part of the serial
> number: 'WD6002.' And it's a Red Pro drive, which WD currently warrants
> for five years, so at least I got that right. And yes, I understand
> that warranty does not necessarily equal reliability, but replacing
> failed drives under warranty is very costly for manufacturers, so they
> probably have better quality control for the drives that they sell with
> longer warranties. And in any event, length of warranty is the only
> gauge available to me.
>
> There is a greater than zero possibility that I did buy an 8TB drive
> and the seller shipped me a 6TB instead and I never noticed it. If I
> ever find the purchase documentation I will certainly check this out.
> In most states this would count as misrepresentation and statute of
> limitations is usually two years *from discovery*. On the other hand,
> it may not be worth the hassle - the price differential between a 6TB
> and an 8TB is not a huge amount.
>
> Now that I know what I have I am thinking of replacing the probably
> failing 5TB USB 3.0 drive with the 6TB from the Synology in a new USB
> 3.0 case, then buy a new 8TB for the Synology. One advantage of this is
> that my rsync command makes a mirror of the 5TB on the Synology disk,
> so it is all ready to go. Once the new 8TB is in the Synology and
> partitioned/formatted my rsync command will make it the new backup
> without effort from me. I like things that are easy.
>
> Now I need to investigate USB enclosures. More shopping and figuring
> stuff out.
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 

Chuck Hast  -- KP4DJT --
Glass, five thousand years of history and getting better.
The only container material that the USDA gives blanket approval on.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread John Jason Jordan
On Fri, 31 Mar 2017 16:24:54 -0700
david  dijo:

>On 03/31/2017 02:59 PM, John Jason Jordan wrote:
>> I know that the 8TB WD in my Synology has a five year warranty, but
>> I'll be damned if I can remember which color it is or which model
>> number. I just spent the last half hour looking everywhere for the
>> purchase details, but all I can determine is that it was not from
>> Amazon, and the date must have been early July 2016, because that's
>> when I signed up for the Synology forums, and I bought the drive and
>> the Synology at the same time. I also remember them both arriving in
>> the mail.

>If you have a way to get data directly from the NAS, you can try 
>smartctl (though I suspect this may not be possible):

I finally figured out how to get into the Synology - just put its IP
address on my network into a Friefox tab, then the default username and
pass are 'admin' and .

Once logged in there was a tab labeled 'Storage' that showed my drive,
including its serial number and other features. I was shocked to see
that it is 6TB, not 8TB. I could swear that I bought an 8TB, but it
really is a 6TB, clearly visible from the first part of the serial
number: 'WD6002.' And it's a Red Pro drive, which WD currently warrants
for five years, so at least I got that right. And yes, I understand
that warranty does not necessarily equal reliability, but replacing
failed drives under warranty is very costly for manufacturers, so they
probably have better quality control for the drives that they sell with
longer warranties. And in any event, length of warranty is the only
gauge available to me.

There is a greater than zero possibility that I did buy an 8TB drive
and the seller shipped me a 6TB instead and I never noticed it. If I
ever find the purchase documentation I will certainly check this out.
In most states this would count as misrepresentation and statute of
limitations is usually two years *from discovery*. On the other hand,
it may not be worth the hassle - the price differential between a 6TB
and an 8TB is not a huge amount.

Now that I know what I have I am thinking of replacing the probably
failing 5TB USB 3.0 drive with the 6TB from the Synology in a new USB
3.0 case, then buy a new 8TB for the Synology. One advantage of this is
that my rsync command makes a mirror of the 5TB on the Synology disk,
so it is all ready to go. Once the new 8TB is in the Synology and
partitioned/formatted my rsync command will make it the new backup
without effort from me. I like things that are easy.

Now I need to investigate USB enclosures. More shopping and figuring
stuff out.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread david


On 03/31/2017 02:59 PM, John Jason Jordan wrote:

> I know that the 8TB WD in my Synology has a five year warranty, but
> I'll be damned if I can remember which color it is or which model
> number. I just spent the last half hour looking everywhere for the
> purchase details, but all I can determine is that it was not from
> Amazon, and the date must have been early July 2016, because that's
> when I signed up for the Synology forums, and I bought the drive and
> the Synology at the same time. I also remember them both arriving in
> the mail.

If you have a way to get data directly from the NAS, you can try 
smartctl (though I suspect this may not be possible):

sudo smartctl -i /dev/XXX

dafr
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread Tom
On Fri, 2017-03-31 at 14:59 -0700, John Jason Jordan wrote:
> On Fri, 31 Mar 2017 13:18:32 -0700
> Tom  dijo:
> 
> > I wish other companies would publish yearly hardware failure rates
> > like
> > this one:
> > https://www.backblaze.com/blog/hard-drive-benchmark-stats-2016/
> 
> I've been there before, but I find their web page impossible to
> figure
> out.
> 
> > > I have had a lot of Seagates die, but every few WD drives, and
> > > never
> > > had one just up and quit, the WD's always gave me some sort of
> > > warning prior
> > > to taking a dive, the Seagates were bad about just failing.
> 
> I can echo your sentiments about Seagates failing - I've had the same
> experience. However, I recently heard or read (can't remember where)
> that Seagates lately have become much better and are now worthy of
> consideration. Even if true, their previous performance has lost me
> as
> a customer. We customers tend to have long memories.
The problem you are trying to address, cannot be solved by currently
available data:
You want the latest, the largest capacity and the most reliable drive
you can get your hands on:
  - There is no reliability data available for these drives until maybe
year or two later - at which point you will know whether your drive
works or not.
  - You are focusing on drives with extended warranty - which is
rational at first look - but all that that guarantees you - is the
drive replacement, not your data.
  - If you think that warranty length correlates to failure rate, that
is not necessarily the case - what you are actually buying is drive
replacement promise.
 - If you have two identical size drives for identical price with
different warranty - the longer warranty drive must be more reliable to
be equally profitable.
 - If you buy identical size drive with 2x longer warranty at 3x
the price - the reliability can be equal or only marginally better to
achieve higher profits. Depending on how easy/cheap you make the
replacement/shipping process.
If you want to maximize/guarantee data reliability for given $$$ - the
sweet spot is mainstream, good price, known reliability drives in
redundant setup such as RAID/ZFS/Btrfs/HDFS/..., typically accessed
over network.
This way you can chose your reliability/size/speed/$$$ ratio and you
can share the storage between all your computers too, minimizing the
cost per computer and decoupling the storage from computers.
I hope it helps, Tomas
> > 
> > > 
> > > The idea of purchasing a external drive case and buiding your own
> > > drive is a good idea. 
> > > 

> > 

> 
> 
> That is the best bit of advice I have seen in this thread. In fact,
> that is exactly what I now plan to do.
> 
> 
> > 
> > > 
> > > > 
> > > > For instance, the WD Black and Datacenter drives appear to
> > > > have 5 year warranties, as does the Seagate BarraCuda Pro.
> > > > galen
> > > > 

> > > 

> > 

> 
> 
> I know that the 8TB WD in my Synology has a five year warranty, but
> I'll be damned if I can remember which color it is or which model
> number. I just spent the last half hour looking everywhere for the
> purchase details, but all I can determine is that it was not from
> Amazon, and the date must have been early July 2016, because that's
> when I signed up for the Synology forums, and I bought the drive and
> the Synology at the same time. I also remember them both arriving in
> the mail. 
> 
> For drives inside my computer I can get the drive information with
> Palimpsest (now Gnome-drive-something), or gparted, but those two do
> not see the NAS and I have no idea how to poke at it to get the drive
> model number. I'd like to get another of the same model because the
> Synology is a two-bay NAS and some day I might want to use it there. In
> the meantime I'll get a USB enclosure for it. 
> ___
> PLUG mailing list
> 
PLUG@lists.pdxlinux.org> 
http://lists.pdxlinux.org/mailman/listinfo/plug> 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Awk script repositories?

2017-03-31 Thread Paul Heinlein
On Fri, 31 Mar 2017, Rich Shepard wrote:

>   Are there available repositories of working, complex awk scripts 
> for manipulating large text files? These are not related to system 
> or network administration, but general business information.

Below my .sig is the only mildly complex awk script I've written. The 
input was a CSV file that had been exported from Excel and run 
through dos2unix; the invocation was

   gawk -f myprog.awk -F, datafile.csv > myout.ics

FWIW.

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/


#!/usr/bin/awk
#
# transform CSV file of company contacts into vCard 3.0 format
#
# this recipe assumes a certain field order: last name, first name,
# home phone, cell phone, galois phone, galois email, alt. email.
#
# note also the system() call toward the end. it relies on a
# GNU-specific option to the date utility.
#
# 
==

{
   print "BEGIN:VCARD"
   print "VERSION:3.0"
   # everyone should have a first and last name field, so no need to
   # test for them
   print "N:"$1";"$2";;;"
   print "FN:"$2" "$1
   # oh, and we all work at MyCorp :-)
   print "ORG:MyCorp"
   # print any phone field if it contains digits; a null field might
   # be empty or it might have the string 'n/a'
   if ($3 ~ /[0-9]/)
 print "TEL;TYPE=HOME,VOICE:"$3
   if ($4 ~ /[0-9]/)
 print "TEL;TYPE=CELL,VOICE:"$4
   if ($5 ~ /[0-9]/)
 print "TEL;TYPE=WORK,VOICE:"$5
   # print either e-mail field if it contains an '@' character
   if ($6 ~ /@/)
 print "EMAIL;type=INTERNET,WORK:"$6
   if ($7 ~ /@/)
 print "EMAIL;type=INTERNET,HOME:"$7
   # use printf to avoid getting a newline before the date
   printf "REV:"
   # the --iso-8601 option is specific to GNU date, which on a Mac
   # is installed as 'gdate' (via MacPorts). use plain old 'date' on
   # a linux machine (which probably has GNU utilities).
   system("gdate --iso-8601=seconds")
   print "END:VCARD"
}

#
# eof
#

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Finding appropriate USENET group or mailing list?

2017-03-31 Thread Rich Shepard
On Fri, 31 Mar 2017, Richard Owlett wrote:

> If USENET then I have adequate server -- need title
> If mailing list, need pointer to archive and subscription info

   Two different animals. I've searched the web for mail lists on specific
topics and learned wheter one exists.

   USENET is a pull system like web-based fora. In the latter world
stackoverflow and stackexchange are very good resources for computer- and
software-related questions. Sometimes these are the only available
resources.

Carpe weekend,

Rich

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Awk script repositories?

2017-03-31 Thread Rich Shepard
On Fri, 31 Mar 2017, Tom wrote:

> While this is not the answer you are looking for - if you are looking for
> all sorts of data manipulation libraries - I would turn your attention to
> Python or Perl - both have more libraries than you could discover/learn in
> one lifetime.

Tom,

   I'm considering Python, too.

> While awk is super fast and convenient, especially when used in pipes, it
> is not the shining example of modern modular tool for large/long projects.
> That being said, you are probably using unique data files and formats for
> every little thing you do. So, you will need at least some light custom
> data processing for each of those jobs, and in that case, reusable awk
> scripts maybe a good choice.

   Almost every job requires different text or numerical data
transformation(s). Often these are one-off and unique and do not justify
the effort to write a Python or other script.

   I have a small collection of short Python and awk scripts that each do one
thing when extracting data from spreadsheets and manipulating it so it's
suitable for inserting in database tables or reading in R for statistical
analyses.

   The textual manipulations might benefit from the same approach: a set of
scripts each doing a specific task and when applied in sequence can do a
complex job.

Thanks,

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Finding appropriate USENET group or mailing list?

2017-03-31 Thread Richard Owlett
On 03/31/2017 03:35 PM, John Meissen wrote:
>> Inspite of the fact that the subject of my current interest is WordPress
>> I avoid blogs and web based support groups
>> [neither indexes content reasonably]
>>
>> I prefer USENET although lists like "lists.debian.org/debian-user/" are
>> very *USEFUL*.
>>
>> Anyone willing to tell me "Where to go"?
>>   POLITELY preferred ;>
>
> Not sure what you're looking for. If you're looking for a server, I use
>
> NNTP Server = nntp.aioe.org
>
> john-

I suspect my question was more poorly phrased than . .. ... ...  ;/
If USENET then I have adequate server -- need title

If mailing list, need pointer to archive and subscription info

Clearer? Refuse to say what friends/relatives might say ;/

What's useful question?  *OWL* 'ducks' fer cover . .. ...  .



___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread David Bridges
As others have stated upgrading CentOS/RedHat is not really an option
but the options below will allow you to use the ISO to do a fresh
install on the new disk.

On Thu, 2017-03-30 at 22:59 -0700, Michael Robinson wrote:
> The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about 
> half that.  The server I'm trying to upgrade would have to use
> an external DVD drive in order to upgrade from a DVD.
> 
> I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
> to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
> So far, I have created a 10G ext2 partition at the beginning of the
> new SSD and I have copied the CentOS 7.3 iso's contents to it.  I 
> used a loop mount to mount the iso and then cp -av.  I am trying
> to figure out how to install from a local hard drive instead of 
> a DVD disk.
> 
> I have Grub 1 in CentOS 6.8, is there a way to trigger the installer
> from my existing Grub on the second SSD?  Can I seamlessly upgrade 
> the old CentOS 6.8 to use Grub 2 instead of Grub 1?

I would not copy anything to the new disc that you want to use.  You
can just place the ISO on your current installation and create an entry
to boot into the CentOS 7 installer using your current grub following
the instructions below.

Mount the ISO and copy vmlinuz and initrd.img to your current /boot
partition from the images/pxeboot directory of the ISO.

You can create and entry in /boot/grub/menu.lst that resembles the
information below but it adjusted according to your current
installation.  I would suggest that you not make this the first entry. 

title installer
root (hd0,0)
kernel /vmlinuz
inst.repo=hd:vda3:/CentOS-7-x86_64-DVD-1611.iso
initrd
/initrd.img

The root line should be exactly the same as the other entries in the
file (assuming you put the vmlinuz and initrd.img files in /boot)

You will need to change vda3 to whatever partition the ISO is located
on and them modify that path to the ISO.  You will need to make sure
that you do not rename the ISO or this will not work without additional
parameters.

Reboot your computer and when you see the grub screen press space to
get a menu that shows you all boot options, select installer.

This will boot you into the installer so that you can install to your
new disk.  It will not modify your current bootloader, the install will
install grub2 on the disk you install to (make sure you install to the
correct disk).

Almost all computers will allow you to pick the disk you want to boot
by pressing some key in order to see a list of devices, if not you can
more than likely set it in the BIOS.  In order to be able to use the
new disk as the boot device.  Once you are in the new OS you can have
CentOS probe for your other installation and create an entry for it so
that you can boot it with the following command.

grub2-mkconifig -o /boot/grub2/grub.cfg

This still does not modify the boot sector on your original install. 
If you want to boot your original install (old grub) but also have the
option to boot into the new installation you can run the following
command.

grub2-install /dev/sda (modifying sda to be the device your original
install was on)

These instructions will work but if not done correctly can trash your
system so proceed at your own risk.

--
David


___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Awk script repositories?

2017-03-31 Thread Tom
While this is not the answer you are looking for - if you are looking
for all sorts of data manipulation libraries - I would turn your
attention to Python or Perl - both have more libraries than you could
discover/learn in one lifetime.
While awk is supper fast and convenient, especially when used in pipes,
it is not the shining example of modern modular tool for large/long
projects. That being said, you are probably using unique data files and
formats for every little thing you do. So, you will need at least some
light custom data processing for each of those jobs, and in that case,
reusable awk scripts maybe a good choice.
Tomas
On Fri, 2017-03-31 at 14:05 -0700, Rich Shepard wrote:
>Are there available repositories of working, complex awk scripts
> for
> manipulating large text files? These are not related to system or
> network
> administration, but general business information.
> 
>I frequently have large lists, such as names and addresses, that
> need to
> be re-organized (e.g., grouped by county) or reformatted (e.g., for
> insertion into database tables). It is really time consuming to do
> all this
> manually and I'm not sufficiently experienced writing complex awk
> scripts to
> know where to begin writing my own.
> 
>If there are libraries of such scripts I might find one that does
> what I
> need in any given situation, or find several that I can glue together
> to
> accomplish what needs to be done.
> 
> TIA,
> 
> Rich
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread John Jason Jordan
On Fri, 31 Mar 2017 13:18:32 -0700
Tom  dijo:

>I wish other companies would publish yearly hardware failure rates like
>this one:
>https://www.backblaze.com/blog/hard-drive-benchmark-stats-2016/

I've been there before, but I find their web page impossible to figure
out.

>> I have had a lot of Seagates die, but every few WD drives, and never
>> had one just up and quit, the WD's always gave me some sort of warning prior
>> to taking a dive, the Seagates were bad about just failing.

I can echo your sentiments about Seagates failing - I've had the same
experience. However, I recently heard or read (can't remember where)
that Seagates lately have become much better and are now worthy of
consideration. Even if true, their previous performance has lost me as
a customer. We customers tend to have long memories.

>> The idea of purchasing a external drive case and buiding your own
>> drive is a good idea. 

That is the best bit of advice I have seen in this thread. In fact,
that is exactly what I now plan to do.

>> > For instance, the WD Black and Datacenter drives appear to
>> > have 5 year warranties, as does the Seagate BarraCuda Pro.
>> > galen

I know that the 8TB WD in my Synology has a five year warranty, but
I'll be damned if I can remember which color it is or which model
number. I just spent the last half hour looking everywhere for the
purchase details, but all I can determine is that it was not from
Amazon, and the date must have been early July 2016, because that's
when I signed up for the Synology forums, and I bought the drive and
the Synology at the same time. I also remember them both arriving in
the mail. 

For drives inside my computer I can get the drive information with
Palimpsest (now Gnome-drive-something), or gparted, but those two do
not see the NAS and I have no idea how to poke at it to get the drive
model number. I'd like to get another of the same model because the
Synology is a two-bay NAS and some day I might want to use it there. In
the meantime I'll get a USB enclosure for it. 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Awk script repositories?

2017-03-31 Thread Rich Shepard
   Are there available repositories of working, complex awk scripts for
manipulating large text files? These are not related to system or network
administration, but general business information.

   I frequently have large lists, such as names and addresses, that need to
be re-organized (e.g., grouped by county) or reformatted (e.g., for
insertion into database tables). It is really time consuming to do all this
manually and I'm not sufficiently experienced writing complex awk scripts to
know where to begin writing my own.

   If there are libraries of such scripts I might find one that does what I
need in any given situation, or find several that I can glue together to
accomplish what needs to be done.

TIA,

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Finding appropriate USENET group or mailing list?

2017-03-31 Thread John Meissen
> Inspite of the fact that the subject of my current interest is WordPress
> I avoid blogs and web based support groups
> [neither indexes content reasonably]
> 
> I prefer USENET although lists like "lists.debian.org/debian-user/" are 
> very *USEFUL*.
> 
> Anyone willing to tell me "Where to go"?
>   POLITELY preferred ;>

Not sure what you're looking for. If you're looking for a server, I use

NNTP Server = nntp.aioe.org

john-



___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Finding appropriate USENET group or mailing list?

2017-03-31 Thread Richard Owlett
I'm a Senior Citizen (3 score and ten = ancient history).
I've deserted Gates and Jobs.
Debian is my OS of choice  --  therefore "on topic" for a Linux list ;/
Inspite of the fact that the subject of my current interest is WordPress
I avoid blogs and web based support groups
[neither indexes content reasonably]

I prefer USENET although lists like "lists.debian.org/debian-user/" are 
very *USEFUL*.

Anyone willing to tell me "Where to go"?
  POLITELY preferred ;>

TIA


___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Changing password

2017-03-31 Thread John Jason Jordan
On Fri, 31 Mar 2017 10:58:29 -0700
a...@clueserver.org dijo:

>> Never mind. I finally succeeded. I'm still curious why passwd didn't
>> think the new password was too similar when I just appended '1.'
>> Silly program.
>
>Did you try the -f option? That should force it to change the password.

No I didn't try -f, because I didn't know about it. And I didn't know
about it because it's not in the man page. In fact I read the man page
specifically looking for just such an option, hence my frustration. If
it's a real option it would be good to know about.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Changing password

2017-03-31 Thread c
Humans as a whole are pretty horrible at remembering passwords that are a
string of number and letters, so our tools often don't enforce significant
complexity unless you change the defaults.

I am pretty sure that all it checks by default is if the password is at
least 6 characters long and has a number in it and that it doesn't match
your previous passord(s)

You can update the complexity requirements by updating pam.d, but the
directions and exact file are going to vary with whatever distro of linux
you use.

Purcell

On Fri, Mar 31, 2017 at 12:43 PM, John Jason Jordan  wrote:

> On Fri, 31 Mar 2017 10:26:33 -0700
> John Jason Jordan  dijo:
>
> >>From the command line I tried passwd, but it refused because it said
> >the new password was too similar to the old one. OK, passwd program, I
> >don't disagree, but just do it, and I mean it, 'k?
>
> Never mind. I finally succeeded. I'm still curious why passwd didn't
> think the new password was too similar when I just appended '1.' Silly
> program.
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 
Darkness spoons with you.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Changing password

2017-03-31 Thread alan

> On Fri, 31 Mar 2017 10:26:33 -0700
> John Jason Jordan  dijo:
>
>>>From the command line I tried passwd, but it refused because it said
>>the new password was too similar to the old one. OK, passwd program, I
>>don't disagree, but just do it, and I mean it, 'k?
>
> Never mind. I finally succeeded. I'm still curious why passwd didn't
> think the new password was too similar when I just appended '1.' Silly
> program.

Did you try the -f option? That should force it to change the password.

perl -pe 's/^\s+//g' *.py

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Changing password

2017-03-31 Thread John Jason Jordan
On Fri, 31 Mar 2017 10:26:33 -0700
John Jason Jordan  dijo:

>>From the command line I tried passwd, but it refused because it said
>the new password was too similar to the old one. OK, passwd program, I
>don't disagree, but just do it, and I mean it, 'k?

Never mind. I finally succeeded. I'm still curious why passwd didn't
think the new password was too similar when I just appended '1.' Silly
program. 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Changing password

2017-03-31 Thread Robert Citek
Try changing it using sudo:

$ sudo passwd ${USER}

Regards,
- Robert

On Fri, Mar 31, 2017 at 10:26 AM, John Jason Jordan  wrote:
> On February 17 at the Clinic I needed to change my password on my
> laptop. I simply appended '1' to the password, and that worked then and
> continues to work fine.
>
> However, I now wish to change my password back to the original. I need
> to do this because 1) I keep forgetting to add the '1' and 2) I have
> developed a problem with LibreOffice not removing lock files and
> refusing to open documents, and I wish to eliminate any issue with the
> password.
>
> >From the command line I tried passwd, but it refused because it said
> the new password was too similar to the old one. OK, passwd program, I
> don't disagree, but just do it, and I mean it, 'k?
>
> So then I tried changing my password to xyz intending to change xyz to
> my old password, but passwd bitched that this was too short. So I
> tried changing it to abcdefg, but this resulted in:
>
> passwd: Authentication token manipulation error
> passwd: password unchanged
>
> So then I tried 'passwd  and then I got to abcdefg but the
> error message changed to 'new and old passwords are too similar.' My
> current password contains none of the letters abcdefg. WTH?
>
> Why was I able to change my password on February 17 by just appending
> 1, and now every change seems to be 'too similar'?
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Changing password

2017-03-31 Thread Rich Shepard
On Fri, 31 Mar 2017, John Jason Jordan wrote:

> From the command line I tried passwd, but it refused because it said the
> new password was too similar to the old one. OK, passwd program, I don't
> disagree, but just do it, and I mean it, 'k?

John,

   Run passwd as root (sudo, for you I believe) and specify the user whose
password you're changing.

   You can also use chpasswd (man 8 chpasswd) -- as root -- using,
chpasswe jjj:.

   Others will correct my advice if I've lead you down the wrong path.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Changing password

2017-03-31 Thread John Jason Jordan
On February 17 at the Clinic I needed to change my password on my
laptop. I simply appended '1' to the password, and that worked then and
continues to work fine.

However, I now wish to change my password back to the original. I need
to do this because 1) I keep forgetting to add the '1' and 2) I have
developed a problem with LibreOffice not removing lock files and
refusing to open documents, and I wish to eliminate any issue with the
password. 

>From the command line I tried passwd, but it refused because it said
the new password was too similar to the old one. OK, passwd program, I
don't disagree, but just do it, and I mean it, 'k?

So then I tried changing my password to xyz intending to change xyz to
my old password, but passwd bitched that this was too short. So I
tried changing it to abcdefg, but this resulted in:

passwd: Authentication token manipulation error
passwd: password unchanged

So then I tried 'passwd  and then I got to abcdefg but the
error message changed to 'new and old passwords are too similar.' My
current password contains none of the letters abcdefg. WTH?

Why was I able to change my password on February 17 by just appending
1, and now every change seems to be 'too similar'? 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread Chuck Hast
My experience has been that WD appears to have a much better longevity. I
have a box littered with Seagate drives, indeed I have a 4TB drive that has
my movie collection on it, I started it up one day and heard the "click of
death"
I keep the drive with the intention of getting the electronics from another
drive
and trying to recover the thing. It was not that old, and I believe the
failure was
in the electronics rather than the hardware.

I have had a lot of Seagates die, but every few WD drives, and never had one
just up and quit, the WD's always gave me some sort of warning prior to
taking
a dive, the Seagates were bad about just failing.

The idea of purchasing a external drive case and buiding your own drive is a
good idea. That way you can pull it out and plug it right into the Mobo,
viewing
what you might not be able to view at the far end of a USB link.

On Fri, Mar 31, 2017 at 10:05 AM, Galen Seitz  wrote:

> On 03/30/17 19:39, John Jason Jordan wrote:
> > So what should I do? There are 8TB external USB 3.0 drives out there,
> > and that was my first thought. But there are a bewildering number of
> > them out there and trying to figure out warranties is challenging. For
> > example, there is a WD Mybook that Amazon says has a three year
> > warranty, but the same drive at other stores says it has a two year
> > warranty. And there is a Mybook Pro that costs three times as much but
> > has only a two year warranty. Some of the advertising data has to be
> > wrong, but figuring out what is wrong and what is right is a confusing
> > task. And then each drive has competitors, but trying to assess which
> > drive is best is another task. (I'm mostly only interested in
> > warranties - I don't need speed or other whiz-bang features.)
>
> Not sure what your best solution is, but personally I would avoid all of
> the prepackaged hard drives.  With those, it's difficult to know what
> you're getting.  Should you decide to continue with an external USB
> drive, I suggest shopping for a bare drive, and then picking up a
> suitable external USB enclosure.  This way you know exactly what you are
> getting.  For instance, the WD Black and Datacenter drives appear to
> have 5 year warranties, as does the Seagate BarraCuda Pro.
>
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 

Chuck Hast  -- KP4DJT --
Glass, five thousand years of history and getting better.
The only container material that the USDA gives blanket approval on.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread Chuck Hast
That is what I do, I carry one that uses something called MultiSystem, it
lets
me boot a whole bunch of them, then when I am showing off Linux distros I
boot several, and let people get an idea of what they are.

There are a whole lot of options for booting from a jump drive, I have not
used
a DVD now in years, I run into machines that do not have a DVD drive on
them,
and I do not carry a DVD drive around with me all of the time, so the jump
drive
is the way to go.

On Fri, Mar 31, 2017 at 8:30 AM, Nat Taylor  wrote:

> I agree with above wholeheartedly.  I was trying to go with the flow of
> dude's idea, but that 's a valid point about partitioning.
> I don't even know if dd'ing to a different partition on a drive you weren't
> trying to format would work.
> a 5 dollar usb stick should do.  Maybe 10 dollars if you have to go to Fred
> Meyers to get it.
>
> On Fri, Mar 31, 2017 at 12:51 AM, Tom 
> wrote:
>
> > I would advise you against trying to install Linux to drive you just
> > booted from - the things will likely go wrong as soon as the installer
> > start partitioning the drive.
> > While you could pre-partition the drive for the install before booting
> > from it - avoiding partitioning - you could still run into trouble when
> > making the partitions bootable.
> > Put the ISO on USB stick, you will save yourself a lot of time and
> > trouble. Here is how:
> > https://www.linuxunit.com/how-to-create-bootable-usb-key-centos7/
> > Alternatively you could setup boot server and install from that via PXE
> > - If you have spare PC and do not mind setting up DHCP, tftp, NFS
> > server and setting up PXE boot image. Although that would probably take
> > longer to setup than driving to the nearest store for a USB stick. The
> > advantage, you could automate it and use the setup to install a lot of
> > PCs pretty quickly.
> > Best luck, Tomas
> > On Thu, 2017-03-30 at 23:21 -0700, Nat Taylor wrote:
> > > Install from usb key?
> > > https://wiki.centos.org/HowTos/InstallFromUSBkey
> > > might fit on an 8gb, def a 16gb
> > >
> > > Or maybe just dd the install file onto your partition and pretend its
> > > a usb
> > > key and tell your bios to boot from that partition?
> > >
> > > dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb1
> > >
> > > note that I put the 1 on the end of /dev/sdb , as you are dd'ing to
> > > the
> > > partition, not the drive.   Worth a try.  make sure you get that
> > > partition
> > > right, so you don't wipe stuff out.
> > >
> > > On Thu, Mar 30, 2017 at 10:59 PM, Michael Robinson <
> > > mich...@robinson-west.com> wrote:
> > >
> > > > The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about
> > > > half that.  The server I'm trying to upgrade would have to use
> > > > an external DVD drive in order to upgrade from a DVD.
> > > >
> > > > I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
> > > > to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
> > > > So far, I have created a 10G ext2 partition at the beginning of the
> > > > new SSD and I have copied the CentOS 7.3 iso's contents to it.  I
> > > > used a loop mount to mount the iso and then cp -av.  I am trying
> > > > to figure out how to install from a local hard drive instead of
> > > > a DVD disk.
> > > >
> > > > I have Grub 1 in CentOS 6.8, is there a way to trigger the
> > > > installer
> > > > from my existing Grub on the second SSD?  Can I seamlessly upgrade
> > > > the old CentOS 6.8 to use Grub 2 instead of Grub 1?
> > > >
> > > > ___
> > > > PLUG mailing list
> > > > PLUG@lists.pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > > ___
> > > PLUG mailing list
> > > PLUG@lists.pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 

Chuck Hast  -- KP4DJT --
Glass, five thousand years of history and getting better.
The only container material that the USDA gives blanket approval on.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread Nat Taylor
I agree with above wholeheartedly.  I was trying to go with the flow of
dude's idea, but that 's a valid point about partitioning.
I don't even know if dd'ing to a different partition on a drive you weren't
trying to format would work.
a 5 dollar usb stick should do.  Maybe 10 dollars if you have to go to Fred
Meyers to get it.

On Fri, Mar 31, 2017 at 12:51 AM, Tom  wrote:

> I would advise you against trying to install Linux to drive you just
> booted from - the things will likely go wrong as soon as the installer
> start partitioning the drive.
> While you could pre-partition the drive for the install before booting
> from it - avoiding partitioning - you could still run into trouble when
> making the partitions bootable.
> Put the ISO on USB stick, you will save yourself a lot of time and
> trouble. Here is how:
> https://www.linuxunit.com/how-to-create-bootable-usb-key-centos7/
> Alternatively you could setup boot server and install from that via PXE
> - If you have spare PC and do not mind setting up DHCP, tftp, NFS
> server and setting up PXE boot image. Although that would probably take
> longer to setup than driving to the nearest store for a USB stick. The
> advantage, you could automate it and use the setup to install a lot of
> PCs pretty quickly.
> Best luck, Tomas
> On Thu, 2017-03-30 at 23:21 -0700, Nat Taylor wrote:
> > Install from usb key?
> > https://wiki.centos.org/HowTos/InstallFromUSBkey
> > might fit on an 8gb, def a 16gb
> >
> > Or maybe just dd the install file onto your partition and pretend its
> > a usb
> > key and tell your bios to boot from that partition?
> >
> > dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb1
> >
> > note that I put the 1 on the end of /dev/sdb , as you are dd'ing to
> > the
> > partition, not the drive.   Worth a try.  make sure you get that
> > partition
> > right, so you don't wipe stuff out.
> >
> > On Thu, Mar 30, 2017 at 10:59 PM, Michael Robinson <
> > mich...@robinson-west.com> wrote:
> >
> > > The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about
> > > half that.  The server I'm trying to upgrade would have to use
> > > an external DVD drive in order to upgrade from a DVD.
> > >
> > > I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
> > > to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
> > > So far, I have created a 10G ext2 partition at the beginning of the
> > > new SSD and I have copied the CentOS 7.3 iso's contents to it.  I
> > > used a loop mount to mount the iso and then cp -av.  I am trying
> > > to figure out how to install from a local hard drive instead of
> > > a DVD disk.
> > >
> > > I have Grub 1 in CentOS 6.8, is there a way to trigger the
> > > installer
> > > from my existing Grub on the second SSD?  Can I seamlessly upgrade
> > > the old CentOS 6.8 to use Grub 2 instead of Grub 1?
> > >
> > > ___
> > > PLUG mailing list
> > > PLUG@lists.pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread Tom
I would advise you against trying to install Linux to drive you just
booted from - the things will likely go wrong as soon as the installer
start partitioning the drive.
While you could pre-partition the drive for the install before booting
from it - avoiding partitioning - you could still run into trouble when
making the partitions bootable.
Put the ISO on USB stick, you will save yourself a lot of time and
trouble. Here is how: 
https://www.linuxunit.com/how-to-create-bootable-usb-key-centos7/
Alternatively you could setup boot server and install from that via PXE
- If you have spare PC and do not mind setting up DHCP, tftp, NFS
server and setting up PXE boot image. Although that would probably take
longer to setup than driving to the nearest store for a USB stick. The
advantage, you could automate it and use the setup to install a lot of
PCs pretty quickly.
Best luck, Tomas
On Thu, 2017-03-30 at 23:21 -0700, Nat Taylor wrote:
> Install from usb key? 
> https://wiki.centos.org/HowTos/InstallFromUSBkey
> might fit on an 8gb, def a 16gb
> 
> Or maybe just dd the install file onto your partition and pretend its
> a usb
> key and tell your bios to boot from that partition?
> 
> dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb1
> 
> note that I put the 1 on the end of /dev/sdb , as you are dd'ing to
> the
> partition, not the drive.   Worth a try.  make sure you get that
> partition
> right, so you don't wipe stuff out.
> 
> On Thu, Mar 30, 2017 at 10:59 PM, Michael Robinson <
> mich...@robinson-west.com> wrote:
> 
> > The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about
> > half that.  The server I'm trying to upgrade would have to use
> > an external DVD drive in order to upgrade from a DVD.
> > 
> > I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
> > to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
> > So far, I have created a 10G ext2 partition at the beginning of the
> > new SSD and I have copied the CentOS 7.3 iso's contents to it.  I
> > used a loop mount to mount the iso and then cp -av.  I am trying
> > to figure out how to install from a local hard drive instead of
> > a DVD disk.
> > 
> > I have Grub 1 in CentOS 6.8, is there a way to trigger the
> > installer
> > from my existing Grub on the second SSD?  Can I seamlessly upgrade
> > the old CentOS 6.8 to use Grub 2 instead of Grub 1?
> > 
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread Nat Taylor
Install from usb key? https://wiki.centos.org/HowTos/InstallFromUSBkey
might fit on an 8gb, def a 16gb

Or maybe just dd the install file onto your partition and pretend its a usb
key and tell your bios to boot from that partition?

dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb1

note that I put the 1 on the end of /dev/sdb , as you are dd'ing to the
partition, not the drive.   Worth a try.  make sure you get that partition
right, so you don't wipe stuff out.

On Thu, Mar 30, 2017 at 10:59 PM, Michael Robinson <
mich...@robinson-west.com> wrote:

> The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about
> half that.  The server I'm trying to upgrade would have to use
> an external DVD drive in order to upgrade from a DVD.
>
> I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
> to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
> So far, I have created a 10G ext2 partition at the beginning of the
> new SSD and I have copied the CentOS 7.3 iso's contents to it.  I
> used a loop mount to mount the iso and then cp -av.  I am trying
> to figure out how to install from a local hard drive instead of
> a DVD disk.
>
> I have Grub 1 in CentOS 6.8, is there a way to trigger the installer
> from my existing Grub on the second SSD?  Can I seamlessly upgrade
> the old CentOS 6.8 to use Grub 2 instead of Grub 1?
>
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread Michael Robinson
The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about 
half that.  The server I'm trying to upgrade would have to use
an external DVD drive in order to upgrade from a DVD.

I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
So far, I have created a 10G ext2 partition at the beginning of the
new SSD and I have copied the CentOS 7.3 iso's contents to it.  I 
used a loop mount to mount the iso and then cp -av.  I am trying
to figure out how to install from a local hard drive instead of 
a DVD disk.

I have Grub 1 in CentOS 6.8, is there a way to trigger the installer
from my existing Grub on the second SSD?  Can I seamlessly upgrade 
the old CentOS 6.8 to use Grub 2 instead of Grub 1?

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug