LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-24-2019, 07:29 PM   #1
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Posts: 188

Rep: Reputation: 13
Unhappy Alpine on a Laptop


Thank you to those of you who were helpful, but I keep getting a bunch of spam comments in my inbox so I am removing this. It appears many people don't use LVM here anyway so I am working on it. Thank you though

Last edited by FOSSilized_Daemon; 05-26-2019 at 05:58 PM.
 
Old 05-25-2019, 01:31 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,560

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
I wouldn't have pit so much on Alpine, because folks will time out.

I didn't btw. Modular is good, but aren't all distros modular? I hardly think small is a good feature, with storage sizes these days. Are you on trailing edge technology?
If you're running your openssl <blah> |gpg <blah> command and get an error, obviously some option is wrong. The openssl looks ok to me, so I would drill down into the gpg first. To be sure, run
Code:
openssl rand -base64 128 | less
and see if your pseudo-random stuff goes to less.
 
Old 05-25-2019, 03:15 PM   #3
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Posts: 188

Original Poster
Rep: Reputation: 13
Talking

I am gonna wait on gpg two factor. I like small because I want ONLY what I use on my system, I use sed not cat so cat needs to go etc. I have figure this issue out so far. Thank you though
 
Old 05-26-2019, 03:59 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,560

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
By all means go 2 factor. Unless you're setting up for a cdrom, get real. Cat is used in scripts. You save 40k on cat:-/. How many G on your hard disk? Also, it's in /bin/cat on my system, which is a fair indication it's used in the boot scripts.

If you want to save on all that stuff, use busybox. The things you can save big on is X stuff and Bloatware. Howe big is / on your system? That sort of thinking was ok in the last millenium, but variety is better now.
 
Old 05-26-2019, 05:14 AM   #5
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,430

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Isn’t Alpine based on busybox? If so, there is only one executable that implements a raft of UNIX utilities, including cat. You can remove cat and others, but you only delete a link.

Also, as said before, cat and other utilities you plan to get rid of may well be used in other programs. Don’t cut the branch you are sitting on.
 
Old 05-26-2019, 12:56 PM   #6
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Posts: 188

Original Poster
Rep: Reputation: 13
It isn't about space! That is what people don't get. This is about me being in control of MY system. I want to only have on my system what I want, not what others think I want. It is rediculous to have to so much in base.
 
Old 05-26-2019, 04:05 PM   #7
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,508

Rep: Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811Reputation: 1811
Quote:
Originally Posted by FOSSilized_Daemon View Post
I want to only have on my system what I want, not what others think I want. It is rediculous to have to so much in base.
Alpine Linux uses busybox, so cat and sed are the same program. That is to say, removing cat doesn't actually reduce the amount of stuff you have in the base.
 
Old 05-26-2019, 04:22 PM   #8
proMusic
LQ Newbie
 
Registered: May 2019
Posts: 20

Rep: Reputation: Disabled
Quote:
Originally Posted by ntubski View Post
Alpine Linux uses busybox, so cat and sed are the same program. That is to say, removing cat doesn't actually reduce the amount of stuff you have in the base.
Busybox is a single executable containing numerous stripped down Unix tools... Busybox is very modular by design though, so various distributions can choose exactly what tools they want inucluded in their Busybox. And obviously the less tools (code) means the smaller the program, and thus the lower the attack surface, and chance for bugs... As more LOC (lines of code) = more bugs...

Last edited by proMusic; 05-26-2019 at 04:24 PM.
 
Old 05-27-2019, 01:27 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,456
Blog Entries: 9

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
Quote:
Originally Posted by FOSSilized_Daemon View Post
Thank you to those of you who were helpful, but I keep getting a bunch of spam comments in my inbox so I am removing this. It appears many people don't use LVM here anyway so I am working on it. Thank you though
so you removed your OP, and now you're calling the incoming answers "spam"?

not cool.

in future:
do not significantly edit your OP after people refered to it.
post a new reply instead.
 
Old 05-27-2019, 07:32 AM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,069

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
Quote:
Originally Posted by FOSSilized_Daemon View Post
It isn't about space! That is what people don't get. This is about me being in control of MY system. I want to only have on my system what I want, not what others think I want. It is rediculous to have to so much in base.
Right. There ARE distros that can cater for your "wants". So why not look at a different distro if Alpine Linux isn't giving you the "control" you want.......??

As, given Alpine Linux uses busybox, it's probably one of the worst choices if you want more "control" over what's installed, and what isn't etc...
 
Old 05-27-2019, 07:04 PM   #11
proMusic
LQ Newbie
 
Registered: May 2019
Posts: 20

Rep: Reputation: Disabled
^ Alot of distros use busybox as the init that runs before the OS, and then they fallback to the acutal coreutils.. Busybox does not in anyway impair the user's control over the system.

Last edited by proMusic; 05-27-2019 at 07:08 PM.
 
Old 05-28-2019, 03:21 AM   #12
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,069

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
Quote:
Originally Posted by proMusic View Post
^ Alot of distros use busybox as the init that runs before the OS, and then they fallback to the acutal coreutils.. Busybox does not in anyway impair the user's control over the system.
You missed the point of what I was saying, and I'm well aware of what init does thanks. Most distro's I've seen do not use Busybox by default, unless you install it yourself - so not sure the above is quite accurate. In any case, I have no interest in debating it with you, sorry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Newbie 2 11-01-2018 03:18 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Networking 1 11-01-2018 03:13 AM
Slackware 12.1/12.2 pine/alpine users pay attention! shadowsnipes Slackware 4 12-12-2008 07:10 PM
configuring ldaps in alpine timvc Linux - Software 2 09-11-2008 03:28 AM
Alpine (a.k.a pine, pico) wants a lot of dependencies Seregwethrin Linux - Newbie 4 02-21-2008 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

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