From: Grant on
On Tue, 13 Jul 2010 15:01:39 +0000 (UTC), Sylvain Robitaille <syl(a)alcor.concordia.ca> wrote:

>Grant wrote:
>
>> ... A SlackBuild script allows you to make a package, ... as root.
>>
>> On a root account, no su madness, a proper root login.
>
>This all suggests, however, that perhaps the scripts at Slackbuilds.org
>don't explicitly set a umask, and I would argue that this is an
>oversight that should be corrected. There's no reason anyone should
>have to *login* as root, rather than simply use su or sudo, to get the
>expected result. More importantly, there's no reason that a root
>environment should be predictable. The scripts should explicitly set
>whatever environment they expect to have.

Quite so, but I don't spend much time with slackware these days to
duplicate a problem, create some solution that is a general fix,
and submit it. Lots of people smarter than me around.

I've had problems with SlackBuilds too, but I don't come back here
screaming the sky is falling and slackware's simple installer script
is bust :)

My idea of slackware is that root is very known. I login as root to
run installpkg or more often upgradepkg, use root for running a script
that needs that permission level to access the messages log file, and
so on. I see no need to change anything about the root environment
that would prevent normal operation of Slackware's scripts.

As far as su or sudo go, they're handy for quick'n'dirty one-liners,
but I learned long ago they're not the same as 'real' root for some
tasks, for example to mount nfs mirror export and run upgradepkg on
some machine other than the fileserver box.

If something fails with 'su', 'su -' or 'sudo ...' I don't have a
problem opening a root terminal instead.

Right now I have one root and one user terminal open to the firewall
box. One is showing what's hitting the machine on other screen, the
other (user) screen is there for casual access.

I don't understand why OP is arguing how Slackware works?

As for SlackBuilds, I haven't played with them near enough to agree
or disagree with your umask notion. I can't imagine why somebody
would change whatever root's umask was in the first place.

Grant.
From: Grant on
On Tue, 13 Jul 2010 23:17:55 +0200, Dario Niedermann <M8R-cthw2f(a)spamherelots.com> wrote:

>Robby Workman <newsgroups(a)rlworkman.net> wrote:
>
>> switch to root properly from your user account
>
>What do you mean "properly"? Su and sudo are not "proper"?
>
>Who said that? The pkgtools development team? The slackbuilds.org crew?

Seems obvious to me you haven't bothered to discover to whom you
are replying ;)
>
>> This is NOT a problem with the scripts,
>> or is it a problem with pkgtools.
>
>Of course! God forbid!
>
>Gee, I swear this is the most arrogant and self-righteous community I've
>ever seen, bar none.

Grant.
From: Dario Niedermann on
Grant <omg(a)grrr.id.au> wrote:

> Seems obvious to me you haven't bothered to discover to whom you
> are replying ;)

Seems obvious to me you don't know jack.

--
> head -n1 /etc/*-{version,release} && uname -moprs
Slackware 12.2.0
Linux 2.6.27.31-smp i686 AMD Turion(tm) 64 Mobile Technology MK-36 GNU/Linux
From: Dario Niedermann on
Grant <omg(a)grrr.id.au> wrote:

> I don't understand why OP is arguing how Slackware works?

Yes, Grant, you don't understand many things. One of them is the topic
at hand (which, incidentally, is not "how Slackware works").

--
> head -n1 /etc/*-{version,release} && uname -moprs
Slackware 12.2.0
Linux 2.6.27.31-smp i686 AMD Turion(tm) 64 Mobile Technology MK-36 GNU/Linux
From: Dan C on
On Wed, 14 Jul 2010 02:29:34 +0200, Dario Niedermann wrote:

> Grant <omg(a)grrr.id.au> wrote:
>
>> Seems obvious to me you haven't bothered to discover to whom you are
>> replying ;)
>
> Seems obvious to me you don't know jack.

Okey dokey. The status of "Dario Niedermann" as a certified Troll is
confirmed.

To those of you insisting on "conversing" with him, please stop the troll
feeding immediately.


--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me".
"Bother!" said Pooh, as he got cattle-prodded in the groin.
Usenet Improvement Project: http://twovoyagers.com/improve-usenet.org/
Thanks, Obama: http://brandybuck.site40.net/pics/politica/thanks.jpg