Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-31 Thread Volker Kuhlmann
On Thu 31 May 2007 13:01:34 NZST +1200, Randall R Schulz wrote:

   name. Whois springs to mind. I'm not sure what the one in /sbin
   does, but it doesn't appear to be at all the same thing that the
   one in /usr/bin/ does (which is to look up whois directory
   information).

 % rpm -q --whatprovides /usr/sbin/whois
 sax2-tools-2.7-27

That package is in SUSE 10.0. There was a toss-up with sax2 shipping
either a useless whois or some unrelated command called whois, someone
realised the mistake and fixed it. 10.0 is the only one with this
problem.

Volker

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-31 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The Wednesday 2007-05-30 at 19:11 -0700, Randall R Schulz wrote:

 It looks like Sax2 has gone on some kind of a weight-loss program 
 between versions 2.7 and 8.1.

Or the file has changed name to something more sensible.

- -- 
Cheers,
   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGXtFAtTMYHG2NR9URAlziAJ4lB9xhBdfeL12o0ngrJRdY61u1EACcCamw
zKHiK1koZoqF5I1Xo26Y8KQ=
=+AVu
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-31 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The Thursday 2007-05-31 at 07:13 +0200, Pascal Bleser wrote:

 Anyhow, being the only Linux distribution that would do it is a
 sufficient reason _not_ to do it.
 I find it surprising people fail to see that.

O:-)

No, because it always has had things and features not found in any other 
distro, and that's a good thing, IMO. If there were no differences, there 
would not be special interest in any distro.

 If it's too difficult to do
 echo 'PATH=$PATH:/usr/sbin:/sbin'  /etc/profile.local
 then let's ask for adding a setting in YaST2 to do it (through
 /etc/sysconfig/suseconfig which already has settings for having . in
 root's PATH and such) but not a default option IMO.

Yes, that would be nice. Not a default choice, but an option. It could be 
improved by having that option only for some users (those that do 
administration tasks), but then it wouldn't be so simple to implement in 
yast/suseconfig.


- -- 
Cheers,
   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGXtKntTMYHG2NR9URAjwBAJ0VYa3MJsrBJu18IVJ1zG3hlznH0gCfXqNT
IiD3qgDSrljhVahDrM2XTOE=
=iizj
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-31 Thread Randall R Schulz
On Wednesday 30 May 2007 22:13, Pascal Bleser wrote:
 ...

 Anyhow, being the only Linux distribution that would do it is a
 sufficient reason _not_ to do it.
 I find it surprising people fail to see that.

By that logic, we need only one distribution, since there would be no 
justification for them to differ from one another.


 ...


RRS
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Alexey Eremenko

Adding /sbin/ to user's $PATH doesn't lower your security. (because
you're still bound by Linux-user security privileges)

But it will make our systems easier to use. So I vote for making it the default.

--
-Alexey Eremenko Technologov
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Pascal Bleser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexey Eremenko wrote:
 Adding /sbin/ to user's $PATH doesn't lower your security. (because
 you're still bound by Linux-user security privileges)
 
 But it will make our systems easier to use. So I vote for making it the
 default.

And it breaks 30 years of conventions on Unix systems and would be the
only Linux distribution doing that by default.

So that's definitely a no.

Do it on your box if you like to or even add a switch in YaST2 to enable
it, but don't make it the default setting.

cheers
- --
  -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
  /\\ [EMAIL PROTECTED]   [EMAIL PROTECTED]
 _\_v The more things change, the more they stay insane.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGXeGQr3NMWliFcXcRAp4CAKCRvl/EBb2tE6Gl8xC5HANjD8FddwCgkj+t
BF2clPTl9hRK2c+j+2uplBk=
=Rfew
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Ricardo Cruz
Qua, 2007-05-30 às 22:41 +0200, Pascal Bleser escreveu:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Alexey Eremenko wrote:
  Adding /sbin/ to user's $PATH doesn't lower your security. (because
  you're still bound by Linux-user security privileges)
  
  But it will make our systems easier to use. So I vote for making it the
  default.
 
 And it breaks 30 years of conventions on Unix systems and would be the
 only Linux distribution doing that by default.
 
 It should be said that there was never much formal designs on the Unix
file hierarchy as you imply. Freaking /home was former /usr, later
splitted. I don't remember this stuff exactly, just some mention in
college and some interneting, not much digging into it, but it
seems /sbin comes from /etc, where among others some init scripts were
put, and as the rest of the tree it evolved as needed.

 There is no shame in rethinking Suse's file hierarchy, but this isn't
even the case. Is there any convention at all with regard to user's
PATH?
 Personally, I think this only makes sense if we go through the sudo
route, like Ubuntu. Otherwise, just symlink from /bin.

Cheers,
 Ricardo

 So that's definitely a no.
 
 Do it on your box if you like to or even add a switch in YaST2 to enable
 it, but don't make it the default setting.
 
 cheers
 - --
   -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
   /\\ [EMAIL PROTECTED]   [EMAIL PROTECTED]
  _\_v The more things change, the more they stay insane.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
 
 iD8DBQFGXeGQr3NMWliFcXcRAp4CAKCRvl/EBb2tE6Gl8xC5HANjD8FddwCgkj+t
 BF2clPTl9hRK2c+j+2uplBk=
 =Rfew
 -END PGP SIGNATURE-
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Alexey Eremenko

On 5/31/07, Ricardo Cruz [EMAIL PROTECTED] wrote:

 Personally, I think this only makes sense if we go through the sudo
route, like Ubuntu.
Otherwise, just symlink from /bin.



Ohh yes, symlinking from /sbin to /bin can also solve those problems,
of inaccessible utilities.

--
-Alexey Eremenko Technologov
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Randall R Schulz
On Wednesday 30 May 2007 13:41, Pascal Bleser wrote:
 Alexey Eremenko wrote:
  Adding /sbin/ to user's $PATH doesn't lower your security. (because
  you're still bound by Linux-user security privileges)
 
  But it will make our systems easier to use. So I vote for making it
  the default.

 And it breaks 30 years of conventions on Unix systems and would be
 the only Linux distribution doing that by default.

I don't know about you, but I was using Unix (the only and only Unix) 30 
years ago, and this issue simply did not exist. There was /bin 
and /usr/bin and everybody had both in their path, of course.

So it's a little disingenuous to make this claim.

Furthermore, we should not let history or tradition stand in the way of 
improvement. If not having administrative directories in the default 
path is an impediment for users, then they should be added.

I'm agnostic on the actual topic, though, since I never run with a stock 
PATH or pretty much stock anything...


 So that's definitely a no.

 Do it on your box if you like to or even add a switch in YaST2 to
 enable it, but don't make it the default setting.

I really fail to see a down-side, with the possible exception of the 
fact that there are sometimes multiple commands with the same name. 
Whois springs to mind. I'm not sure what the one in /sbin does, but it 
doesn't appear to be at all the same thing that the one in /usr/bin/ 
does (which is to look up whois directory information).


 cheers


Randall Schulz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Randall R Schulz
On Wednesday 30 May 2007 15:00, Alexey Eremenko wrote:
 On 5/31/07, Ricardo Cruz [EMAIL PROTECTED] wrote:
   Personally, I think this only makes sense if we go through the
  sudo route, like Ubuntu.
 Otherwise, just symlink from /bin.

 Ohh yes, symlinking from /sbin to /bin can also solve those problems,
 of inaccessible utilities.

You must do this with care.

As I mentioned in my earlier post on this matter, there is a whois 
command in both /usr/bin /and /usr/sbin and they're not the same 
command.


Randall schulz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Druid


You must do this with care.


My question is why. You could do this with care, and waste man-hours
doing a silly thing that will result in no benefit, or we could go
work in other stuff, right? Make things easier? The people who should
be messing with that in a root shell should know what they should run.

How they know the should run ifconfig? Because they LEARNED that.
Thats the same reason that they should LEARN that some commands are
available only to root. Same they learn there's a linux way of doing
things.

People think permission denied and command not found are
apocalyptic errors. They dont see that as an informative message.
Which will happen if this insane thing goes on. But thats not even the
point. Why adding so many entropy in something that has so little
(zero) result. It wont any gain in the results. It will make us drift
from the FHS, confuse users, confuse developers, confuse people
learning linux on suse, confuse people learning linux in another
distro and wanting to use suse. Why? This will produce only entropy
and confusion.

I need to remind the beginning of this discussion, which was because
two people though it was too complicated to run ip a, which is the
way to do the damn task of checking interface infos.  So instead of
doing the right thing, you people want to invert the rotation of earth
because you cant type ip a. Why?

We do things this way its been a long time, and why only now we in
this topic are the first human beings in the surface of earth that
though of that? So the other people, including the ones who did FHS
are a bunch of stupid clowns?

Marcio
---
druid
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The Wednesday 2007-05-30 at 15:09 -0700, Randall R Schulz wrote:

 I really fail to see a down-side, with the possible exception of the 
 fact that there are sometimes multiple commands with the same name. 
 Whois springs to mind. I'm not sure what the one in /sbin does, but it 
 doesn't appear to be at all the same thing that the one in /usr/bin/ 
 does (which is to look up whois directory information).

I only have /usr/bin/whois.

- -- 
Cheers,
   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGXhxetTMYHG2NR9URArHUAJoDUqqUf++6CLlcan70+rOif8XkVgCcDpiR
O95ZbClqZa3fwfSVMe/SR9A=
=avjh
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Patrick Shanahan
* Randall R Schulz [EMAIL PROTECTED] [05-30-07 21:02]:
 On Wednesday 30 May 2007 17:52, Carlos E. R. wrote:
  The Wednesday 2007-05-30 at 15:09 -0700, Randall R Schulz wrote:
   I really fail to see a down-side, with the possible exception of
   the fact that there are sometimes multiple commands with the same
   name. Whois springs to mind. I'm not sure what the one in /sbin
   does, but it doesn't appear to be at all the same thing that the
   one in /usr/bin/ does (which is to look up whois directory
   information).
 
  I only have /usr/bin/whois.

  me 2
  

 Ooh. This is good. I don't know why I didn't try this earlier:
 
 % rpm -q --whatprovides /usr/sbin/whois
 sax2-tools-2.7-27


21:26 wahoo:~  rpm -q sax2-tools
sax2-tools-8.1-218.1
21:26 wahoo:~  rpm -ql sax2-tools
/usr/sbin/corner
/usr/sbin/dots
/usr/sbin/isax
/usr/sbin/testX
/usr/sbin/vncp
/usr/sbin/whereiam
/usr/sbin/wmstart
/usr/sbin/xidle
/usr/sbin/ximage
/usr/sbin/xkbctrl
/usr/sbin/xlook
/usr/sbin/xmode
/usr/sbin/xquery
/usr/sbin/xw
/usr/share/man/man1/sax2.1.gz
/usr/share/man/man1/xkbctrl.1.gz
/usr/share/man/man1/xmode.1.gz
/usr/share/man/man1/xquery.1.gz

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
OpenSUSE Linux   http://en.opensuse.org/
Registered Linux User #207535@ http://counter.li.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Randall R Schulz
On Wednesday 30 May 2007 18:27, Patrick Shanahan wrote:
 * Randall R Schulz [EMAIL PROTECTED] [05-30-07 21:02]:
  On Wednesday 30 May 2007 17:52, Carlos E. R. wrote:
   The Wednesday 2007-05-30 at 15:09 -0700, Randall R Schulz wrote:
I really fail to see a down-side, with the possible exception
of the fact that there are sometimes multiple commands with the
same name. Whois springs to mind. I'm not sure what the one in
/sbin does, but it doesn't appear to be at all the same thing
that the one in /usr/bin/ does (which is to look up whois
directory information).
  
   I only have /usr/bin/whois.

   me 2

  Ooh. This is good. I don't know why I didn't try this earlier:
 
  % rpm -q --whatprovides /usr/sbin/whois
  sax2-tools-2.7-27

% rpm -q sax2-tools
sax2-tools-2.7-27

% rpm -ql sax2-tools
/usr/sbin/catch
/usr/sbin/corner
/usr/sbin/demo
/usr/sbin/demo.sh
/usr/sbin/dots
/usr/sbin/fake
/usr/sbin/hwupdate
/usr/sbin/isax
/usr/sbin/screen
/usr/sbin/testX
/usr/sbin/whois
/usr/sbin/wmstart
/usr/sbin/wrap
/usr/sbin/xbounce
/usr/sbin/xbound
/usr/sbin/xidle
/usr/sbin/ximage
/usr/sbin/xkbctrl
/usr/sbin/xkbset
/usr/sbin/xlook
/usr/sbin/xmirror
/usr/sbin/xmode
/usr/sbin/xmset
/usr/sbin/xquery
/usr/sbin/xupdate
/usr/sbin/xw
/usr/share/man/man1/sax2.1.gz
/usr/share/man/man1/xkbctrl.1.gz
/usr/share/man/man1/xkbset.1.gz
/usr/share/man/man1/xmode.1.gz
/usr/share/man/man1/xmset.1.gz
/usr/share/man/man1/xquery.1.gz


It looks like Sax2 has gone on some kind of a weight-loss program 
between versions 2.7 and 8.1.


Randall Schulz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-30 Thread Pascal Bleser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Randall R Schulz wrote:
 On Wednesday 30 May 2007 13:41, Pascal Bleser wrote:
 Alexey Eremenko wrote:
 Adding /sbin/ to user's $PATH doesn't lower your security. (because
 you're still bound by Linux-user security privileges)

 But it will make our systems easier to use. So I vote for making it
 the default.
 And it breaks 30 years of conventions on Unix systems and would be
 the only Linux distribution doing that by default.
 
 I don't know about you, but I was using Unix (the only and only Unix) 30 
 years ago, and this issue simply did not exist. There was /bin 
 and /usr/bin and everybody had both in their path, of course.
 
 So it's a little disingenuous to make this claim.

OK, you want to be pedantic, then replace 30 years of Unix with 10
years of Linux.

 Furthermore, we should not let history or tradition stand in the way of 
 improvement. If not having administrative directories in the default 
 path is an impediment for users, then they should be added.

Users too stupid to prepend /sbin or add /sbin:/usr/sbin at the end of
PATH shouldn't even touch the binaries located there in my opinion.

 I'm agnostic on the actual topic, though, since I never run with a stock 
 PATH or pretty much stock anything...
 
 So that's definitely a no.

 Do it on your box if you like to or even add a switch in YaST2 to
 enable it, but don't make it the default setting.
 
 I really fail to see a down-side, with the possible exception of the 
 fact that there are sometimes multiple commands with the same name. 
 Whois springs to mind. I'm not sure what the one in /sbin does, but it 
 doesn't appear to be at all the same thing that the one in /usr/bin/ 
 does (which is to look up whois directory information).

/usr/sbin:/sbin has to be added at the end of PATH

Anyhow, being the only Linux distribution that would do it is a
sufficient reason _not_ to do it.
I find it surprising people fail to see that.

If it's too difficult to do
echo 'PATH=$PATH:/usr/sbin:/sbin'  /etc/profile.local
then let's ask for adding a setting in YaST2 to do it (through
/etc/sysconfig/suseconfig which already has settings for having . in
root's PATH and such) but not a default option IMO.

cheers
- --
  -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
  /\\ [EMAIL PROTECTED]   [EMAIL PROTECTED]
 _\_v The more things change, the more they stay insane.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGXlmPr3NMWliFcXcRAg0UAJ0b8U+8W3XJVmn7c0bzRUJii+D/hgCdEGs6
+jGLqEyNMbJXK56bCwRdHtM=
=/0LE
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-29 Thread Ludwig Nussel
Jonathan Arsenault wrote:
 On Sat, 2007-05-26 at 02:35 +0300, Alexey Eremenko wrote:
  Anyways, I'm not satisfied. I want to have access to my ifconfig from
  normal user.
 
 Yes, lets change the UNIX way for the unsatisfied kid ...
 
 Snip from the FHS.
 
 /sbin : System binaries
 Purpose
 Utilities used for system administration (and other root-only commands)
 are stored in /sbin, /usr/sbin, and /usr/local/sbin.
 
 http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES

So what? That doesn't tell anything about whether it makes sense to have sbin
in $PATH. I'd vote for appending sbin to regular users' $PATH by default. There
are many tools in sbin that can be called as user to display at least some
status information (or even just the help text). The clueless don't use the
shell anyways and therefore don't care.

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   SUSE Labs
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-29 Thread Jonathan Arsenault
On Tue, 2007-05-29 at 09:08 +0200, Ludwig Nussel wrote:
 Jonathan Arsenault wrote:
  On Sat, 2007-05-26 at 02:35 +0300, Alexey Eremenko wrote:
   Anyways, I'm not satisfied. I want to have access to my ifconfig from
   normal user.
  
  Yes, lets change the UNIX way for the unsatisfied kid ...
  
  Snip from the FHS.
  
  /sbin : System binaries
  Purpose
  Utilities used for system administration (and other root-only commands)
  are stored in /sbin, /usr/sbin, and /usr/local/sbin.
  
  http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES
 
 So what? That doesn't tell anything about whether it makes sense to have sbin
 in $PATH.

Yes logic does, if those are root-only command they do not belong into a
normal user path.

  I'd vote for appending sbin to regular users' $PATH by default. There
 are many tools in sbin that can be called as user to display at least some
 status information (or even just the help text). The clueless don't use the
 shell anyways and therefore don't care.

Many tool usable by user in there, like what ? ifconfig and iwlist are
the exception and not the rule, ip that a user should use instead of
deprecated ifconfig is symlinked to /bin already.

Look at the 270'or so binary in /sbin and the 330'or so in /usr/sbin
(/opt/gnome/sbin and /opt/kde3/sbin even) and tell me that they belong
into a user path, if you think about answering yes to that then explain
to me why they needed to be separated in the first place from normal
bin. Lets just stuff hem all in a giant directory and be done with
it ...

--
Why can't humans just reboot instead of sleeping, so much wasted cycles 
-Zombie Coder.
Jonathan Arsenault - [EMAIL PROTECTED] - http://jarpack.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-29 Thread Kenneth Schneider
On Tue, 2007-05-29 at 09:08 +0200, Ludwig Nussel wrote:
 Jonathan Arsenault wrote:
  On Sat, 2007-05-26 at 02:35 +0300, Alexey Eremenko wrote:
   Anyways, I'm not satisfied. I want to have access to my ifconfig from
   normal user.
  
  Yes, lets change the UNIX way for the unsatisfied kid ...
  
  Snip from the FHS.
  
  /sbin : System binaries
  Purpose
  Utilities used for system administration (and other root-only commands)
  are stored in /sbin, /usr/sbin, and /usr/local/sbin.
  
  http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES
 
 So what? That doesn't tell anything about whether it makes sense to have sbin
 in $PATH. I'd vote for appending sbin to regular users' $PATH by default. 
 There
 are many tools in sbin that can be called as user to display at least some
 status information (or even just the help text). The clueless don't use the
 shell anyways and therefore don't care.
 

So... You subscribe to the MS theory of security through obscurity
then? And remember the clueless as you call them don't always remain
clueless.

Ken Schneider

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-29 Thread Dominique Leuenberger
 So what? That doesn't tell anything about whether it makes sense to have 
 sbin
 in $PATH. I'd vote for appending sbin to regular users' $PATH by default. 
 There
 are many tools in sbin that can be called as user to display at least some
 status information (or even just the help text). The clueless don't use the
 shell anyways and therefore don't care.
 
 
 So... You subscribe to the MS theory of security through obscurity
 then? And remember the clueless as you call them don't always remain
 clueless.

If it's so much an issue for your system, why not add it on them? I basically 
don't see any reason to have $PATH pointing to /sbin.
Not so many tools in there are usable as non-root (some give some information), 
but if you know you need them once in a while, prefix the command with a path 
(hey cool, that still works) or if you use them on a such regular basis, extend 
your $PATH statement on your machine.

After all, you have the power over your machine; why should all settings some 
people would like as a default setting? That's absurd.
I for myself always configure a second panel in gnome, why is it not standard? 
It improves my efficiency a lot, having the panels arranged in a way I need.

So long,

Dominique

--























































































TMF is a global management and accounting outsourcing firm with 72 offices in 
56 countries and over 2,000 professionals (February 2007). TMF is expanding 
rapidly throughout the world. Learn more about our unique network and our 
services and visit our website at www.tmf-group.com.

The information contained in this e-mail communication is confidential and 
solely intended for the person to whom it is addressed. If someone other than 
the intended recipient should receive or come into possession of this e-mail 
communication, he/she will not be entitled to read, disseminate, disclose or 
duplicate it. If you are not the intended recipient, you are requested to 
notify the sender and to destroy the original e-mail communication. 
TMF is neither liable for the correct and complete transmission of the 
information contained in this e-mail communication nor for any delay in its 
receipt.  This footnote also confirms that this email message has been checked 
for the presence of computer viruses.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-29 Thread Ludwig Nussel
Jonathan Arsenault wrote:
 On Tue, 2007-05-29 at 09:08 +0200, Ludwig Nussel wrote:

   I'd vote for appending sbin to regular users' $PATH by default. There
  are many tools in sbin that can be called as user to display at least some
  status information (or even just the help text). The clueless don't use the
  shell anyways and therefore don't care.
 
 Many tool usable by user in there, like what ? ifconfig and iwlist are
 the exception and not the rule, ip that a user should use instead of
 deprecated ifconfig is symlinked to /bin already.

route, traceroute, nfsstat, alsactl, lpc, mkfs ... I'm sure you'll
find dozens more.

 Look at the 270'or so binary in /sbin and the 330'or so in /usr/sbin
 (/opt/gnome/sbin and /opt/kde3/sbin even) and tell me that they belong
 into a user path, if you think about answering yes to that then explain
 to me why they needed to be separated in the first place from normal
 bin. Lets just stuff hem all in a giant directory and be done with
 it ...

The question was not whether the file system layout as we know it
still makes sense but whether non-root users would benefit from
quick access to sbin binaries by default. Changing the default[1]
PATH is the probably the most simple way to achieve that if you
don't want touch individual packages and add extra symlinks.

cu
Ludwig

[1] which means you'd be free to change it back

-- 
 (o_   Ludwig Nussel
 //\   SUSE Labs
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-29 Thread Benji Weber

On 29/05/07, Ludwig Nussel [EMAIL PROTECTED] wrote:

The question was not whether the file system layout as we know it
still makes sense but whether non-root users would benefit from
quick access to sbin binaries by default. Changing the default[1]
PATH is the probably the most simple way to achieve that if you
don't want touch individual packages and add extra symlinks.


It's also worth bearing in mind that sudo uses the user's environment
(including path) by default, so sudo something in sbin doesn't work.
Which confuses many people coming from ubuntu.

_
Benjamin Weber
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-28 Thread Hans Witvliet
On Sat, 2007-05-26 at 03:38 -0400, Jonathan Arsenault wrote:
 On Sat, 2007-05-26 at 02:35 +0300, Alexey Eremenko wrote:
  Anyways, I'm not satisfied. I want to have access to my ifconfig from
  normal user.
 
 Yes, lets change the UNIX way for the unsatisfied kid ...
 
 Snip from the FHS.
 
 /sbin : System binaries
 Purpose
 Utilities used for system administration (and other root-only commands)
 are stored in /sbin, /usr/sbin, and /usr/local/sbin.
 
 
 http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES
 
 --


Ok,
so why not:

 ln -s /sbin/ifconfig /home/hwit/bin/Ifconfig

Keep the system binaries only for the root-user and give only specific
commands also to a selected group of users.

HW

-- 
pgp-id: 926EBB12
pgp-fingerprint: BE97 1CBF FAC4 236C 4A73  F76E EDFC D032 926E BB12
Registered linux user: 75761 (http://counter.li.org)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-24 Thread Benji Weber

On 24/05/07, Alexey Eremenko [EMAIL PROTECTED] wrote:

Hi all !

Basic utilities such as ifconfig do not work under user account, but
only under root.


ifconfig has been deprecated for years and only still included so that
scripts don't break afaik.

Use ip which is in the normal users' path and provides a superset of
the functionality of ifconfig.

This doesn't preclude adding sbin to users' path for other reasons though.

_
Benjamin Weber
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-24 Thread jdd

Benji Weber wrote:

On 24/05/07, Alexey Eremenko [EMAIL PROTECTED] wrote:

Hi all !

Basic utilities such as ifconfig do not work under user account, but
only under root.


ifconfig has been deprecated for years and only still included so that
scripts don't break afaik.

Use ip which is in the normal users' path and provides a superset of
the functionality of ifconfig.

This doesn't preclude adding sbin to users' path for other reasons though.


/sbin/ifconfig works most of the time, when IP never works without 
obscure options...


jdd

--
http://www.dodin.net
http://gourmandises.orangeblog.fr/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Making Basic Utilities work under normal user

2007-05-24 Thread Druid


 This doesn't preclude adding sbin to users' path for other reasons though.

/sbin/ifconfig works most of the time, when IP never works without
obscure options...



this argument is beyond silly... ip a show the same infos as ifconfig.
Time for you to start reading some documentation.

Additionaly, a read about the FHS and sbin directories usage is also recommended

Do not say its not working when in fact, it is.

Marcio
---
druid
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]