LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-25-2015, 07:40 AM   #16
codeguy
Member
 
Registered: Jan 2004
Distribution: Slackware
Posts: 187

Rep: Reputation: 46

I'd like to see a small rc.6 change:

from:

Code:
echo "Sending all processes the SIGTERM signal."
to:

Code:
echo "All your processes are belong to SIGTERM!"
:-)
 
Old 05-25-2015, 09:38 AM   #17
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
Quote:
Originally Posted by XavierP View Post
The thread has now returned to being a normal LQ thread Complete with thread jack to make it completely authentic.
to be a 100% proper LQ Thread™ it also has to age in the cold depths for at least a year then be resurrected by a novice necromancer
 
Old 05-25-2015, 08:09 PM   #18
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Alien Bob View Post
I don't know how the original topic of dissecting the user profile configuration deranged into a discussion to change how the Slackware installer works?
I believe that people couldn't figure out why PATH contains directories with /mnt in them.

(I guess that I should have waited a year or two to post that.)
 
Old 05-25-2015, 08:34 PM   #19
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
One of the first things I do when installing a new machine is fix the PATH for non-root users to include /sbin and /usr/sbin. It always takes me by surprise when I try to use ifconfig, ifstate, route, et al as a regular user and get a "command not found" error (or, in the case of bwtrack, which wraps ifconfig, wrong output).

Is there a compelling reason we can't simplify the PATH-setting logic to a single line?

Quote:
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games"
 
Old 05-26-2015, 04:49 AM   #20
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Original Poster
Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
There are many things in {/usr,}/sbin that are simply not intended to be used by end users, so it makes sense not to have sbin in the users PATH. For the few exceptions that might be dual purpose, perhaps symlinking in the same manner as sendmail (/usr/bin/sendmail -> ../sbin/sendmail) is a better choice.

If you write a wrapper/shell-script then you really shouldn't assume anything about PATH. I'd suggest bwtrack is at fault for doing so in the example you gave.
 
  


Reply



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
[SOLVED] New Slacker: Some Observations aaditya Slackware 19 10-20-2013 12:48 AM
new 13.1 install observations timetraveler Slackware 9 07-14-2010 07:47 PM
Observations on Slackware 13.0 thirteen_engines Slackware 14 09-26-2009 04:30 AM
/etc/issue observations Woodsman Slackware 4 11-05-2005 10:52 AM
observations of 9.3 irish rebel SUSE / openSUSE 6 06-20-2005 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:59 AM.

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
Open Source Consulting | Domain Registration