Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
Neil Bothwick wrote:
> On Tue, 12 Sep 2023 14:43:30 -0500, Dale wrote:
>
>> This last one seemed the simplest and easiest.  I might add, it also
>> worked.  Now I don't have to sudo every time I want to take a breath or
>> something.  Most any of them would have helped but now I can just login
>> as root.  I have to be a user at first over ssh tho, if I recall
>> correctly. 
> Not if you set "PermitRootLogin prohibit-password" in sshd_config.
>
>


Well, until I can make the internet disconnect while still sharing
files, I better leave it as is.  May change later tho.  I do need a
better root password tho.  May as well be a pet's name right now.  ROFL 

One thing I'm digging for at the moment.  A way to make it beep once it
has completely booted.  DDG has found ways to make it beep but trying to
figure out how to do that at the end of the boot process.  Not sure how
to trigger that yet.  I suspect when I find one, it will work on most if
not all distros.  May be a neat trick.

Getting real close to redoing my backups.  Kinda liking this thing.  If
that transfer speed holds up, I'm gonna be in love.  o_O 

Oh, one other thing in case someone reading my ramblings doesn't know. 
When setting up encryption, if one ever wants to change the password,
make sure to include the luks bit.  I learned the other day that without
the luks bit, you can't change the password, not that DDG and me could
find anyway.  With luks bit you just add a new one then delete the old
one.  Or keep both if one feels naughty.  I'm sure luks bit does more
than that but it seems to make changing passwords/phrases possible.  I
didn't know the difference.  Now to remember that.  :/

Dale

:-)  :-) 



Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Neil Bothwick
On Tue, 12 Sep 2023 14:43:30 -0500, Dale wrote:

> This last one seemed the simplest and easiest.  I might add, it also
> worked.  Now I don't have to sudo every time I want to take a breath or
> something.  Most any of them would have helped but now I can just login
> as root.  I have to be a user at first over ssh tho, if I recall
> correctly. 

Not if you set "PermitRootLogin prohibit-password" in sshd_config.


-- 
Neil Bothwick

WinErr 009: Horrible bug encountered - God knows what has happened


pgpZ9izO2DPym.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
Dale wrote:
> Grant Edwards wrote:
>> On 2023-09-12, Dale  wrote:
>>
>>> I currently have Ubuntu installed. [...] So far, my biggest gripe is
>>> sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
>>> I did try, no freaking password for the thing.  I gotta google that
>>> tho.  There has to be a way.
>> $ sudo bash -
>>
>> It's been a while since I tried it, but you used to be able to set a
>> password for root.  IIRC, it was as simple as
>>
>> $ sudo passwd root
>>
>>
> This last one seemed the simplest and easiest.  I might add, it also
> worked.  Now I don't have to sudo every time I want to take a breath or
> something.  Most any of them would have helped but now I can just login
> as root.  I have to be a user at first over ssh tho, if I recall
> correctly.  That's OK tho.  It will still save me a lot of typing and I
> don't have to guess what needs it and what doesn't. 
>
> I got me a little nap so I'm banging at it again.  Going to see what
> still works after a reboot.  If some services didn't start, got to
> figure that out too.  Hopefully they will.  I can ssh in so far.  lol 
> Dig around and see what is the same as rc-status.  Surely they have
> something.  Off to duckduckgo I go. 
>
> Oh, I found the forums.  Yikes.  O_O  If I get this all set up.  I'll
> move the drives over and redo my backups, again.
>
> Thanks to all. 
>
> Yay!!
>
> Dale
>
> :-)  :-) 
>


I may have found a added bonus on this.  Some may recall long ago when I
switched to Truenas that the transfer speed was pretty slow, like
30MBs/sec or something, sometimes slower.  Some of you tried to help
figure out why but it seemed everything was working as it should.  At
this time, I'm copying from a encrypted file system but its on a fast
machine.  I'm copying to a file system that is not encrypted but a less
powerful machine.  This is over the same 1GB ethernet.  The /mnt part is
the slower machine, future NAS box.


dale@fireball / $ rsync -av --progress
/home/dale/Desktop/Documents/Rescue_images/Manjaro/manjaro-kde-21.0.4-210506-linux510.iso
/mnt/tmpdisk/dale/
sending incremental file list
manjaro-kde-21.0.4-210506-linux510.iso
  2,880,800,768 100%  140.61MB/s    0:00:19 (xfr#1, to-chk=0/1)

sent 2,881,504,223 bytes  received 35 bytes  97,678,110.44 bytes/sec
total size is 2,880,800,768  speedup is 1.00
dale@fireball / $


I picked a fair sized file so it would take a bit longer and give better
average results.  If it can still do this when I have the file system
encrypted on the slower machine, this will be much better.  About 3
times faster give or take.  I have no idea why the difference tho.  I'm
kinda surprised at the difference really.  Then again, I was surprised
at the slow speed of the Truenas box too. 

While Ubuntu is different, it isn't bad.  The systemd thing is
different.  I had to duckduckgo, DDG, a few things but eventually I got
there.  Of course, some helped me here as well.  Still, I had to DDG a
lot.  By the way, Google kept popping up a captcha thing every time I
went there so I switched.  I contacted google to try to help them sort
out a fix for months with little to no change.  In my last message, I
informed them I had switched.  For Linux searches, it seems to do better
than google at times.

My next test, boot up and be able to manage the NAS box with no keyboard
or mouse attached.  I don't see any reason that shouldn't work. 

One other thing, I'd like to have it not access the internet at all
times.  I'd like to turn on the connection to the internet, do updates,
install new stuff etc and then turn it off.  Is there a easy way to do
this?  It is hooked to a router so may need to be done there.  Keep in
mind, I transfer/rsync/copy files over the same connection to the
router.  All my rigs are connected to a router and data transfers from
one to the other through the router.  The router sends internet traffic
to the internet.  That's why I figure it may need to be done in the
router. 

Thanks to all for the help.  Plan to redo backups once I done some more
testing. 

Dale

:-)  :-) 



[gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Grant Edwards
On 2023-09-12, Todd Goodman  wrote:
>
>> I've generally used "sudo bash" for such stuff.
>
> Or sudo -i

Doh! How did I not know that?  I've been doing "sudo bash -" for
years. All those wasted bits...







Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Dale
Grant Edwards wrote:
> On 2023-09-12, Dale  wrote:
>
>> I currently have Ubuntu installed. [...] So far, my biggest gripe is
>> sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
>> I did try, no freaking password for the thing.  I gotta google that
>> tho.  There has to be a way.
> $ sudo bash -
>
> It's been a while since I tried it, but you used to be able to set a
> password for root.  IIRC, it was as simple as
>
> $ sudo passwd root
>
>

This last one seemed the simplest and easiest.  I might add, it also
worked.  Now I don't have to sudo every time I want to take a breath or
something.  Most any of them would have helped but now I can just login
as root.  I have to be a user at first over ssh tho, if I recall
correctly.  That's OK tho.  It will still save me a lot of typing and I
don't have to guess what needs it and what doesn't. 

I got me a little nap so I'm banging at it again.  Going to see what
still works after a reboot.  If some services didn't start, got to
figure that out too.  Hopefully they will.  I can ssh in so far.  lol 
Dig around and see what is the same as rc-status.  Surely they have
something.  Off to duckduckgo I go. 

Oh, I found the forums.  Yikes.  O_O  If I get this all set up.  I'll
move the drives over and redo my backups, again.

Thanks to all. 

Yay!!

Dale

:-)  :-) 



Re: [gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Neil Bothwick
On Tue, 12 Sep 2023 16:19:45 - (UTC), Grant Edwards wrote:

> > I currently have Ubuntu installed. [...] So far, my biggest gripe is
> > sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
> > I did try, no freaking password for the thing.  I gotta google that
> > tho.  There has to be a way.  
> 
> $ sudo bash -

Or sudo -i


-- 
Neil Bothwick

furbling, v.:
Having to wander through a maze of ropes at an airport or bank
even when you are the only person in line.
-- Rich Hall, "Sniglets"


pgpMSajJXQZPl.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Anyone used openmediavault with LVM?

2023-09-12 Thread Grant Edwards
On 2023-09-12, Dale  wrote:

> I currently have Ubuntu installed. [...] So far, my biggest gripe is
> sudo this, sudo that.  Dang, give me root and be done with it.  :/ 
> I did try, no freaking password for the thing.  I gotta google that
> tho.  There has to be a way.

$ sudo bash -

It's been a while since I tried it, but you used to be able to set a
password for root.  IIRC, it was as simple as

$ sudo passwd root