Mailinglist Archive: opensuse-factory (286 mails)

< Previous Next >
Re: [opensuse-factory] Re: how to make sudo useful?
  • From: Lars Müller <lmuelle@xxxxxxx>
  • Date: Mon, 23 Aug 2010 16:15:29 +0200
  • Message-id: <20100823141529.GC16123@xxxxxxxxxxxxxxxx>
On Mon, Aug 23, 2010 at 03:26:51PM +0200, Jan Matejek wrote:
Dne 20.8.2010 12:08, Bernhard M. Wiedemann napsal(a):

try adding to /etc/bash.bashrc
alias sudo='PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH sudo'

then 'sudo yast2' works


ouch!
this is so much of a kludge that it hurts. i mean, this is exactly what
is wrong with SUSE - it makes natural things hard to do

What are you talking about?

You consider /sbin and /usr/sbin should be part of the default PATH?

File a feature request, better submit a change or document it.

Fix it, don't whine!

BTW I'm happy not having every command - in particular those requiring
higher priviledges - in the default PATH of all user.

Please pass the FATE ID here that I'm able to give me -1. ;)

Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
< Previous Next >
Follow Ups