Please help with error message

2018-08-07 Thread Rodolfo Medina
Some little problems after `full-upgrade' to Sid: no sound... Besides, when trying to install new packages, the following message appears: # aptitude install alsaplayer-alsa pulseaudio pulseaudio is already installed at the requested version (12.0-1) pulseaudio is already installed at the reques

New `no sound' problems

2018-08-07 Thread Rodolfo Medina
It seems to be damned recursive, the problem... After yesterday's full-upgrade in Sid, my old Acer One without sound once again... Everything seems all right: alsamixer, aumix, pulseaudio installed... Last time this happened, it was solved installing pulseaudio and alsaplayer-alsa... Now it won

Re: Please help with error message

2018-08-07 Thread Reco
Hi. On Tue, Aug 07, 2018 at 09:05:28AM +0200, Rodolfo Medina wrote: > Some little problems after `full-upgrade' to Sid: no sound... Besides, when > trying to install new packages, the following message appears: > > # aptitude install alsaplayer-alsa pulseaudio > pulseaudio is already in

Re: Please help with error message

2018-08-07 Thread Markus Schönhaber
Rodolfo Medina, Di 07 Aug 2018 09:05:28 CEST: > Some little problems after `full-upgrade' to Sid: no sound... Besides, when > trying to install new packages, the following message appears: > > # aptitude install alsaplayer-alsa pulseaudio > pulseaudio is already installed at the requested versi

Re: Please help with error message

2018-08-07 Thread Erik Christiansen
On 07.08.18 09:05, Rodolfo Medina wrote: > dpkg: warning: 'ldconfig' not found in PATH or not executable > dpkg: warning: 'start-stop-daemon' not found in PATH or not executable > dpkg: error: 2 expected programs not found in PATH or not executable > Note: root's PATH should usually contain /usr/lo

Re: Please help with error message

2018-08-07 Thread Rodolfo Medina
Reco writes: > On Tue, Aug 07, 2018 at 09:05:28AM +0200, Rodolfo Medina wrote: >> Some little problems after `full-upgrade' to Sid: no sound... Besides, when >> trying to install new packages, the following message appears: >> >> # aptitude install alsaplayer-alsa pulseaudio >> pulseaudio is a

Re: Please help with error message

2018-08-07 Thread Rodolfo Medina
Erik Christiansen writes: > On 07.08.18 09:05, Rodolfo Medina wrote: >> dpkg: warning: 'ldconfig' not found in PATH or not executable >> dpkg: warning: 'start-stop-daemon' not found in PATH or not executable >> dpkg: error: 2 expected programs not found in PATH or not executable >> Note: root's P

Re: Please help with error message

2018-08-07 Thread Rodolfo Medina
Markus Schönhaber writes: >> Please help... I'm not expert. > > In that case, you shouldn't use sid... I'm thinking of that now... I'v been using Sid for years and never had problems... Rodolfo

Re: Please help with error message

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 10:08:06 +0200, Rodolfo Medina wrote: $ echo $PATH /home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rodolfo@sda6-acer:~$ su Password: You are using testing/unstable, aren’t you? The su binary was replaced with another one, and now Debian is brea

Re: Please help with error message

2018-08-07 Thread Rodolfo Medina
Stephan Seitz writes: > On Di, Aug 07, 2018 at 10:08:06 +0200, Rodolfo Medina wrote: >>$ echo $PATH >>/home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games >>rodolfo@sda6-acer:~$ su >>Password: > > You are using testing/unstable, aren’t you? > > The su binary was replaced wit

Re: Please help with error message

2018-08-07 Thread Reco
Hi. On Tue, Aug 07, 2018 at 10:08:06AM +0200, Rodolfo Medina wrote: > Reco writes: > > > On Tue, Aug 07, 2018 at 09:05:28AM +0200, Rodolfo Medina wrote: > >> Some little problems after `full-upgrade' to Sid: no sound... Besides, > >> when > >> trying to install new packages, the follow

As seen above: use of su vs sudo

2018-08-07 Thread Martin Drescher
Hi members, I'm a little... lets say thoughtful, about the use of 'su' discussed at some points in this list. I have a strong opinion about su, which is, avoid it whenever it is possible and use 'sudo' instead. This is the case in close to a 100% in all cases I can think of. This opinion is bas

Re: Please help with error message

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 12:35:32 +0300, Reco wrote: rodolfo@sda6-acer:~$ su Don't. Do. That. Ever. That’s bullshit. I did it all the time until Debian decided to break things. I never had your mentioned problems. „su” doesn’t change the working directory. So if you compile software as a us

Re: Please help with error message

2018-08-07 Thread Reco
Hi. On Tue, Aug 07, 2018 at 12:01:02PM +0200, Stephan Seitz wrote: > On Di, Aug 07, 2018 at 12:35:32 +0300, Reco wrote: > > > rodolfo@sda6-acer:~$ su > > Don't. Do. That. Ever. > > That’s bullshit. I did it all the time until Debian decided to break things. It never hurts to check an app

Re: New `no sound' problems

2018-08-07 Thread Rodolfo Medina
Rodolfo Medina writes: > It seems to be damned recursive, the problem... After yesterday's > full-upgrade in Sid, my old Acer One without sound once again... Everything > seems all right: alsamixer, aumix, pulseaudio installed... Last time this > happened, it was solved installing pulseaudio a

Re: As seen above: use of su vs sudo

2018-08-07 Thread Joe
On Tue, 7 Aug 2018 11:58:48 +0200 Martin Drescher wrote: > Hi members, > > I'm a little... lets say thoughtful, about the use of 'su' discussed > at some points in this list. I have a strong opinion about su, which > is, avoid it whenever it is possible and use 'sudo' instead. This is > the case

Re: Please help with error message

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 01:18:59 +0300, Reco wrote: I never had your mentioned problems. Either you have /sbin in your user's path, or you haven't run a single apt-get all these years. There are other possibilities, of course, though less flattering. Bullshit again. You didn’t read the thread,

Re: As seen above: use of su vs sudo

2018-08-07 Thread Richard Owlett
On 08/07/2018 04:58 AM, Martin Drescher wrote: Hi members, I'm a little... lets say thoughtful, about the use of 'su' discussed at some points in this list. I don't recall that discussion. Can you give a link to the archives? I have a strong opinion about su, which is, avoid it whenever it

Re: As seen above: use of su vs sudo

2018-08-07 Thread Jonathan Dowland
On Tue, Aug 07, 2018 at 11:40:29AM +0100, Joe wrote: Why, I don't know, but the last time I installed stable, sudo was not installed by default, and never has been in my experience. I always add sudo and mc immediately after an installation. If you set a root password in d-i (as it asks you to)

Re: As seen above: use of su vs sudo

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 11:58:48 +0200, Martin Drescher wrote: And I'm curious why Debian still prefers the use of su over sudo? I don’t know if Debian does, but the difference between su and sudo seems quite like to the difference between ssh logins with password and with keys. Both have adva

Re: New `no sound' problems

2018-08-07 Thread deloptes
Rodolfo Medina wrote: > After yesterday's full-upgrade > in Sid well this is self explaining -> Sid

Re: problem with modern desktops on Buster

2018-08-07 Thread Jonathan Dowland
On Mon, Aug 06, 2018 at 03:03:57PM -0400, Gary Dale wrote: I'm not even sure where to report this problem since I can't identify a specific package that is causing it. However since Gnome Flashback seems to be working, I'd guess that it is in the flashier desktop elements. You can report a bu

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-07 Thread Jonathan Dowland
On Thu, Aug 02, 2018 at 01:00:15AM +, Matthew Crews wrote: On 8/1/18 3:47 PM, Carles Pina i Estany wrote: I have a Debian Stretch and recently I added a new cyphered partition. All works well but I don't understand why and it's bothering me. *snip* A question would be: a) How to enter th

Re: Please help with error message

2018-08-07 Thread deloptes
Rodolfo Medina wrote: > Yes, if becoming root with with `su -' the error about what is the present > thread disappears... I guess sudo is always better to use

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-07 Thread Jonathan Dowland
On Sat, Aug 04, 2018 at 10:54:59PM +0100, Carles Pina i Estany wrote: And I'm now 99% sure that the culprit of all this confusion is... plymouth! It has a password caching facility and systemd seems to use it to get the cached password. Almost certainly, yes, although, if plymouth is passing t

Re: As seen above: use of su vs sudo

2018-08-07 Thread The Wanderer
On 2018-08-07 at 05:58, Martin Drescher wrote: > Hi members, > > I'm a little... lets say thoughtful, about the use of 'su' discussed > at some points in this list. I have a strong opinion about su, which > is, avoid it whenever it is possible and use 'sudo' instead. This is > the case in close t

Re: As seen above: use of su vs sudo

2018-08-07 Thread James Allsopp
As far as I can see "su -" saves a lot of grief if you're the only admin on a system. Tried sudo ing to a protected directory? Doesn't work. Tired of entering your password every couple of minutes? sudo does mean that the admin actions of a particular user are logged, but unless you lock down what

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin Drescher
That > If you set a root password in d-i (as it asks you to), it doesn't > install sudo. If you try to set a blank root password, it locks the root > account, installs sudo and sets up the user you created with sudo > access. is new to me, I never knew! And I think it is good approach. Does one a

Re: New `no sound' problems

2018-08-07 Thread Jude DaShiell
On Tue, 7 Aug 2018, Rodolfo Medina wrote: > Date: Tue, 7 Aug 2018 06:40:49 > From: Rodolfo Medina > To: debian-user@lists.debian.org > Subject: Re: New `no sound' problems > Resent-Date: Tue, 7 Aug 2018 10:41:15 + (UTC) > Resent-From: debian-user@lists.debian.org > > Rodolfo Medina writes:

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
> I don’t know if Debian does, but the difference between su and sudo seems > quite like to the difference between ssh logins with password and with keys. > Both have advantages and disadvantages. By far: No. su only invokes or acts like login, pam included. sudo may represent a complex role

Re: Please help with error message

2018-08-07 Thread mick crane
On 2018-08-07 09:18, Stephan Seitz wrote: On Di, Aug 07, 2018 at 10:08:06 +0200, Rodolfo Medina wrote: $ echo $PATH /home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rodolfo@sda6-acer:~$ su Password: You are using testing/unstable, aren’t you? The su binary was replac

Re: Asck some information for start to help Debian

2018-08-07 Thread Ehsan Esteki
I never riceve the answer from my email. Can you give me please the feedabck. Thanks. Il giorno lun 6 ago 2018 alle ore 11:43 Ehsan Esteki ha scritto: > > Hello, > My name is Ehsan Esteki from Italy. I would like help you to translate > your guide and wiki in Farsi Language ( Iranian language). >

Re: Please help with error message

2018-08-07 Thread mick crane
On 2018-08-07 09:18, Stephan Seitz wrote: On Di, Aug 07, 2018 at 10:08:06 +0200, Rodolfo Medina wrote: $ echo $PATH /home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rodolfo@sda6-acer:~$ su Password: You are using testing/unstable, aren’t you? The su binary was replac

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
Am 07.08.2018 um 13:20 schrieb The Wanderer: > On 2018-08-07 at 05:58, Martin Drescher wrote: > >> Hi members, >> >> I'm a little... lets say thoughtful, about the use of 'su' discussed >> at some points in this list. I have a strong opinion about su, which >> is, avoid it whenever it is possible

Re: As seen above: use of su vs sudo

2018-08-07 Thread Curt
On 2018-08-07, James Allsopp wrote: > > sudo does mean that the admin actions of a particular user are logged, but > unless you lock down what they can do, they can change/delete the logs > easily enough. > But it seems the whole point of the thing in a multi-user environment is that you can use

Re: As seen above: use of su vs sudo

2018-08-07 Thread likcoras
On 08/07/2018 07:40 PM, Joe wrote: > On Tue, 7 Aug 2018 11:58:48 +0200 > Why, I don't know, but the last time I installed stable, sudo was not > installed by default, and never has been in my experience. I always add > sudo and mc immediately after an installation. It's installed if you choose to

Re: New `no sound' problems

2018-08-07 Thread Rodolfo Medina
deloptes writes: > Rodolfo Medina wrote: > >> After yesterday's full-upgrade >> in Sid > > well this is self explaining -> Sid What please do you mean...? Rodolfo

Re: As seen above: use of su vs sudo

2018-08-07 Thread Joe
On Tue, 7 Aug 2018 12:11:50 +0100 Jonathan Dowland wrote: > On Tue, Aug 07, 2018 at 11:40:29AM +0100, Joe wrote: > >Why, I don't know, but the last time I installed stable, sudo was not > >installed by default, and never has been in my experience. I always > >add sudo and mc immediately after an

Re: Please help with error message

2018-08-07 Thread mick crane
On 2018-08-07 12:47, mick crane wrote: On 2018-08-07 09:18, Stephan Seitz wrote: On Di, Aug 07, 2018 at 10:08:06 +0200, Rodolfo Medina wrote: $ echo $PATH /home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rodolfo@sda6-acer:~$ su Password: You are using testing/unstabl

Re: As seen above: use of su vs sudo

2018-08-07 Thread The Wanderer
On 2018-08-07 at 07:47, Martin wrote: > Am 07.08.2018 um 13:20 schrieb The Wanderer: > >> On 2018-08-07 at 05:58, Martin Drescher wrote: >> >>> Hi members, >>> >>> I'm a little... lets say thoughtful, about the use of 'su' >>> discussed at some points in this list. I have a strong opinion >>> a

Re: New `no sound' problems

2018-08-07 Thread Rodolfo Medina
Jude DaShiell writes: > On Tue, 7 Aug 2018, Rodolfo Medina wrote: > >> Date: Tue, 7 Aug 2018 06:40:49 >> From: Rodolfo Medina >> To: debian-user@lists.debian.org >> Subject: Re: New `no sound' problems >> Resent-Date: Tue, 7 Aug 2018 10:41:15 + (UTC) >> Resent-From: debian-user@lists.debian

Re: As seen above: use of su vs sudo

2018-08-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Aug 07, 2018 at 12:22:53PM +0100, James Allsopp wrote: > As far as I can see "su -" saves a lot of grief if you're the only admin on > a system. Tried sudo ing to a protected directory? Doesn't work. Tired of > entering your password every coup

Re: Asck some information for start to help Debian

2018-08-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Aug 07, 2018 at 01:26:35PM +0200, Ehsan Esteki wrote: > I never riceve the answer from my email. > Can you give me please the feedabck. Hi, Ehsan, (CC'ing Ehsan, just in case) There were several answers. Perhaps you are not subscribed to the

Re: Please help with error message

2018-08-07 Thread Greg Wooledge
On Tue, Aug 07, 2018 at 01:18:59PM +0300, Reco wrote: > On Tue, Aug 07, 2018 at 12:01:02PM +0200, Stephan Seitz wrote: > > On Di, Aug 07, 2018 at 12:35:32 +0300, Reco wrote: > > > > rodolfo@sda6-acer:~$ su > > > Don't. Do. That. Ever. > > > > That’s bullshit. I did it all the time until Debian dec

Re: New `no sound' problems

2018-08-07 Thread Curt
On 2018-08-07, Rodolfo Medina wrote: > deloptes writes: > >> Rodolfo Medina wrote: >> >>> After yesterday's full-upgrade >>> in Sid >> >> well this is self explaining -> Sid He means it's self-explanatory given you're using testing and when using testing shit happens (things break). It goes wit

Re: As seen above: use of su vs sudo

2018-08-07 Thread Eike Lantzsch
On Tuesday, August 7, 2018 11:58:48 AM -04 Martin Drescher wrote: > Hi members, > > I'm a little... lets say thoughtful, about the use of 'su' discussed at some > points in this list. I have a strong opinion about su, which is, avoid it > whenever it is possible and use 'sudo' instead. This is the

Re: As seen above: use of su vs sudo

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 11:46:55 +, Curt wrote: But it seems the whole point of the thing in a multi-user environment is that you can use a granular approach to permissions, so I suppose if you didn't desire a particular user modifying the logs, while granting her other administrative privileg

Re: As seen above: use of su vs sudo

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 01:33:20 +0200, Martin wrote: I don’t know if Debian does, but the difference between su and sudo seems quite like to the difference between ssh logins with password and with keys. Both have advantages and disadvantages. By far: No. su only invokes or acts like login, pam

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
Am 07.08.2018 um 14:07 schrieb The Wanderer: > On 2018-08-07 at 07:47, Martin wrote: > >> Am 07.08.2018 um 13:20 schrieb The Wanderer: >> >>> On 2018-08-07 at 05:58, Martin Drescher wrote: >>> Hi members, I'm a little... lets say thoughtful, about the use of 'su' discussed at s

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
Am 07.08.2018 um 14:19 schrieb Stephan Seitz: > On Di, Aug 07, 2018 at 11:46:55 +, Curt wrote: >> But it seems the whole point of the thing in a multi-user environment is >> that you can use a granular approach to permissions, so I suppose if you >> didn't desire a particular user modifying the

Re: As seen above: use of su vs sudo

2018-08-07 Thread likcoras
On 08/07/2018 09:06 PM, Joe wrote: > On Tue, 7 Aug 2018 12:11:50 +0100 > Jonathan Dowland wrote: >> If you set a root password in d-i (as it asks you to), it doesn't >> install sudo. If you try to set a blank root password, it locks the >> root account, installs sudo and sets up the user you creat

Re: As seen above: use of su vs sudo

2018-08-07 Thread The Wanderer
On 2018-08-07 at 08:27, Martin wrote: > Am 07.08.2018 um 14:07 schrieb The Wanderer: > >> On 2018-08-07 at 07:47, Martin wrote: >>> As a system operator, you need some elevated privileges on a >>> daily basis. How do you do that without sudo? >> >> No, I don't. I only need them when I'm doing e

Kernel 4.9.0-7-686 Installed RAM vs. uabale RAM

2018-08-07 Thread basti
Hello, I have a system with Kernel 4.9.0-7-686, installed RAM are 3x 1GB but free -m only show 2GB. Whats wrong here? # free -m   total    used    free  shared  buff/cache   available Mem:   2018 203    1204  25 610    1569 Swap:

Re: Kernel 4.9.0-7-686 Installed RAM vs. uabale RAM

2018-08-07 Thread Michael Stone
On Tue, Aug 07, 2018 at 02:53:18PM +0200, basti wrote: Hello, I have a system with Kernel 4.9.0-7-686, installed RAM are 3x 1GB but free -m only show 2GB. Whats wrong here? Install a -pae kernel. Mike Stone

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
Am 07.08.2018 um 14:50 schrieb The Wanderer: > On 2018-08-07 at 08:27, Martin wrote: > >> Am 07.08.2018 um 14:07 schrieb The Wanderer: >> >>> On 2018-08-07 at 07:47, Martin wrote: > As a system operator, you need some elevated privileges on a daily basis. How do you do that without sudo

Re: question about sound

2018-08-07 Thread mick crane
On 2018-08-07 07:30, deloptes wrote: mick crane wrote: I'm not very good at sound. Sometimes if I watch an mp4 film the volume in parts is low but then there will become some sound event that is very loud. It is true that my hearing is not as it was but I don't think that is it. I'm not exactly

Re: As seen above: use of su vs sudo

2018-08-07 Thread Nicolas George
The Wanderer (2018-08-07): > "su OPTIONAL_USERNAME -c 'YOUR_COMMAND'" The superiority of sudu over su in this particular case is that it does not require an extra level of quoting. > But it's more secure to require a second password to do elevated things > than to permit doing those things with t

Re: As seen above: use of su vs sudo

2018-08-07 Thread Michael Stone
On Tue, Aug 07, 2018 at 02:27:48PM +0200, Martin wrote: Am 07.08.2018 um 14:07 schrieb The Wanderer: On 2018-08-07 at 07:47, Martin wrote: As a system operator, you need some elevated privileges on a daily basis. How do you do that without sudo? No, I don't. I only need them when I'm doing el

Re: Please help with error message

2018-08-07 Thread Reco
Hi. On Tue, Aug 07, 2018 at 12:45:51PM +0200, Stephan Seitz wrote: > On Di, Aug 07, 2018 at 01:18:59 +0300, Reco wrote: > > > I never had your mentioned problems. > > Either you have /sbin in your user's path, or you haven't run a single > > apt-get all these years. There are other possibi

Re: As seen above: use of su vs sudo

2018-08-07 Thread Jonathan Dowland
On Tue, Aug 07, 2018 at 11:46:55AM +, Curt wrote: I've never used it myself. I'm all by my lonesome on this machine. I've been using 'su' from the very beginning (but maybe I should start or will start whenever the future and the new 'su' arrives using 'su -'). I've long forgotten why, but

Re: As seen above: use of su vs sudo

2018-08-07 Thread The Wanderer
On 2018-08-07 at 09:04, Martin wrote: > Am 07.08.2018 um 14:50 schrieb The Wanderer: > >> On 2018-08-07 at 08:27, Martin wrote: >>> So, what is bad with 'sudo -u TARGETUSER YOUR_COMMEND'? How do >>> you edit a file with su? Invoke a shell? Take a look at >>> sudoedit! >> >> "su OPTIONAL_USERNAM

Re: As seen above: use of su vs sudo

2018-08-07 Thread Dave Sherohman
On Tue, Aug 07, 2018 at 08:07:56AM -0400, The Wanderer wrote: > On 2018-08-07 at 07:47, Martin wrote: > > The point is not, that ONE person needs a root password. All people > > intended to do privileged things will have to share this password. > > This is a security nightmare! > > If they're all

Re: As seen above: use of su vs sudo

2018-08-07 Thread Dave Sherohman
On Tue, Aug 07, 2018 at 12:22:53PM +0100, James Allsopp wrote: > As far as I can see "su -" saves a lot of grief if you're the only admin on > a system. Tried sudo ing to a protected directory? Doesn't work. Works fine for me: dave$ sudo bash [sudo] password for dave: root# cd /some/protected/dir

Re: As seen above: use of su vs sudo

2018-08-07 Thread The Wanderer
On 2018-08-07 at 09:09, Nicolas George wrote: > The Wanderer (2018-08-07): > >> "su OPTIONAL_USERNAME -c 'YOUR_COMMAND'" > > The superiority of sudu over su in this particular case is that it > does not require an extra level of quoting. I don't consider that a significant downside; in some con

Re: As seen above: use of su vs sudo

2018-08-07 Thread The Wanderer
On 2018-08-07 at 09:22, Dave Sherohman wrote: > On Tue, Aug 07, 2018 at 08:07:56AM -0400, The Wanderer wrote: > >> On 2018-08-07 at 07:47, Martin wrote: >> >>> The point is not, that ONE person needs a root password. All >>> people intended to do privileged things will have to share this >>> pas

Re: As seen above: use of su vs sudo

2018-08-07 Thread Nicolas George
The Wanderer (2018-08-07): > I don't consider that a significant downside; Maybe your uses are too limited for you to experience it. > in some contexts, it may > even be an advantage. No, it may not. With sudo, adding "sh -c" allows to emulate su's b

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
> I've long forgotten why, but I committed "sudo su -" to muscle memory First, you execute sudo with target UID 0 (aka. root). While doing that, sudo does all the fancy things for you, like setting or unsetting environments (eg SUDO_COMMAND, SUDO_UID, SUDO_USER) and check, if you will be grante

Re: As seen above: use of su vs sudo

2018-08-07 Thread Michael Stone
On Tue, Aug 07, 2018 at 09:22:07AM -0400, The Wanderer wrote: Or, rather, that you can do elevated-access things with the same credentials as are used to permit non-elevated access. I consider that to be, by definition, a security hole. That can be addressed three ways: first, you can have sud

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
>> Once you let a user run an editor with escalated privileges, you're >> fu**ed. In almost every editor, you can load a different file, save >> the buffer with a different file name. > > Of course. > > Again, that comes down to: do you trust this user with elevated access, > or not? It is not

Re: As seen above: use of su vs sudo

2018-08-07 Thread mick crane
On 2018-08-07 10:58, Martin Drescher wrote: Hi members, I'm a little... lets say thoughtful, about the use of 'su' discussed at some points in this list. I have a strong opinion about su, which is, avoid it whenever it is possible and use 'sudo' instead. This is the case in close to a 100% in al

Re: As seen above: use of su vs sudo

2018-08-07 Thread Stephan Seitz
On Di, Aug 07, 2018 at 02:27:48 +0200, Martin wrote: Come on. You are telling me, it is more secure to share one secret among multiple people against every person having it own? If the password is stored in a password safe, and everyone in the IT has access to it, where is the problem? First

Re: As seen above: use of su vs sudo

2018-08-07 Thread David Wright
On Tue 07 Aug 2018 at 13:23:06 (+0200), Martin Drescher wrote: > That > > > If you set a root password in d-i (as it asks you to), it doesn't > > install sudo. If you try to set a blank root password, it locks the root > > account, installs sudo and sets up the user you created with sudo > > acces

Re: As seen above: use of su vs sudo

2018-08-07 Thread Martin
[...] >> >> is new to me, I never knew! And I think it is good approach. >> Does one actually get pointed to this during install? > > ┌───┤ [?] Set up users and passwords > ├┐ > │

Re: As seen above: use of su vs sudo

2018-08-07 Thread David Wright
On Tue 07 Aug 2018 at 08:07:56 (-0400), The Wanderer wrote: > I'm fairly sure that when I did (some of) my existing installs - which, > to be fair, was years and years ago - sudo came with the system, even > though I didn't even consider the concept of setting the machine up with > no root passwor

Re: As seen above: use of su vs sudo

2018-08-07 Thread David Wright
On Tue 07 Aug 2018 at 15:31:43 (+0200), Nicolas George wrote: > The Wanderer (2018-08-07): > > > Anyone who learns the user's password can obtain the second password > > > pretty easily. > > How so? > > Just insert a fake su in their path. There are more subtle ways. This does make me wonder wh

Re: As seen above: use of su vs sudo

2018-08-07 Thread Joe Pfeiffer
Martin writes: > [...] >>> >>> is new to me, I never knew! And I think it is good approach. >>> Does one actually get pointed to this during install? >> >> ┌───┤ [?] Set up users and passwords >> ├┐ >> │

Re: As seen above: use of su vs sudo

2018-08-07 Thread mick crane
I think as a general philosophy it used to be this is your computer, as user we make sure it works and you can do some things. You can also be root but if you break it you get to keep the bits. mick -- Key ID4BFEBB31

Re: As seen above: use of su vs sudo

2018-08-07 Thread Nicolas George
David Wright (2018-08-07): > This does make me wonder why nobody here seems to have pointed out > that su should be spelled "/bin/su -". My fingers have been wired > that way for 20 years. As I said, there are more subtle ways, and the full path will not protect you from them. Regards, -- Nic

Re: As seen above: use of su vs sudo

2018-08-07 Thread Greg Wooledge
On Tue, Aug 07, 2018 at 06:29:58PM +0200, Nicolas George wrote: > David Wright (2018-08-07): > > This does make me wonder why nobody here seems to have pointed out > > that su should be spelled "/bin/su -". My fingers have been wired > > that way for 20 years. > > As I said, there are more subtle

Re: Please help with error message

2018-08-07 Thread Rodolfo Medina
deloptes writes: > Rodolfo Medina wrote: > >> Yes, if becoming root with with `su -' the error about what is the present >> thread disappears... > > I guess sudo is always better to use I'd always thought that `su' was Debian's and `sudo' was Ubuntu's... :-) Rodolfo

need help with sftp

2018-08-07 Thread Fred
Hi, On a new Sid installation I need to ftp some files to another computer on the network. sftp appears to be the only ftp program available. The other computers on the network do not use ssl so the ftp connection is refused from both directions. One computer is using vsftp under Jessie.

Re: As seen above: use of su vs sudo

2018-08-07 Thread Michael Stone
On Tue, Aug 07, 2018 at 11:14:26AM -0500, David Wright wrote: On Tue 07 Aug 2018 at 15:31:43 (+0200), Nicolas George wrote: The Wanderer (2018-08-07): > > Anyone who learns the user's password can obtain the second password > > pretty easily. > How so? Just insert a fake su in their path. Th

Re: need help with sftp

2018-08-07 Thread Roberto C . Sánchez
On Tue, Aug 07, 2018 at 09:53:57AM -0700, Fred wrote: > Hi, > > On a new Sid installation I need to ftp some files to another computer on > the network. sftp appears to be the only ftp program available. The other > computers on the network do not use ssl so the ftp connection is refused > from

Re: need help with sftp

2018-08-07 Thread john doe
On 8/7/2018 6:53 PM, Fred wrote: Hi, On a new Sid installation I need to ftp some files to another computer on the network.  sftp appears to be the only ftp program available.  The other computers on the network do not use ssl so the ftp connection is refused from both directions.  One comput

Re: need help with sftp

2018-08-07 Thread Greg Wooledge
On Tue, Aug 07, 2018 at 09:53:57AM -0700, Fred wrote: > On a new Sid installation I need to ftp some files to another computer on > the network. sftp appears to be the only ftp program available. The other > computers on the network do not use ssl so the ftp connection is refused > from both dire

[solved?] Re: New `no sound' problems

2018-08-07 Thread Rodolfo Medina
Rodolfo Medina writes: > It seems to be damned recursive, the problem... After yesterday's > full-upgrade in Sid, my old Acer One without sound once again... Everything > seems all right: alsamixer, aumix, pulseaudio installed... Last time this > happened, it was solved installing pulseaudio a

Re: As seen above: use of su vs sudo

2018-08-07 Thread Curt
On 2018-08-07, Michael Stone wrote: > On Tue, Aug 07, 2018 at 11:14:26AM -0500, David Wright wrote: >>On Tue 07 Aug 2018 at 15:31:43 (+0200), Nicolas George wrote: >>> The Wanderer (2018-08-07): >> >>> > > Anyone who learns the user's password can obtain the second password >>> > > pretty easily.

Re: As seen above: use of su vs sudo

2018-08-07 Thread Nicolas George
Curt (2018-08-07): > I thought his point might be that in typing the full path at least you > know you're getting '/bin/su' and not some other 'su' that a malevolent > individual might have created in your home directory after prepending HOME > to your path, for example (in that malevolent person's

Re: As seen above: use of su vs sudo

2018-08-07 Thread Curt
On 2018-08-07, Nicolas George wrote: > > Curt (2018-08-07): >> I thought his point might be that in typing the full path at least you >> know you're getting '/bin/su' and not some other 'su' that a malevolent >> individual might have created in your home directory after prepending HOME >> to your

Re: As seen above: use of su vs sudo

2018-08-07 Thread Michael Stone
On Tue, Aug 07, 2018 at 06:01:27PM +, Curt wrote: I thought his point might be that in typing the full path at least you know you're getting '/bin/su' and not some other 'su' that a malevolent individual might have created in your home directory after prepending HOME to your path, for example

Re: Asck some information for start to help Debian

2018-08-07 Thread Holger Wansing
Hi, Ehsan Esteki wrote: > I never riceve the answer from my email. > Can you give me please the feedabck. > Thanks. > > Il giorno lun 6 ago 2018 alle ore 11:43 Ehsan Esteki > ha scritto: > > > > Hello, > > My name is Ehsan Esteki from Italy. I would like help you to translate > > your guide and

Re: As seen above: use of su vs sudo

2018-08-07 Thread Nemeth Gyorgy
2018-08-07 14:50 keltezéssel, The Wanderer írta: > > But it's more secure to require a second password to do elevated things > than to permit doing those things with the same password as is used for > ordinary activities. Then use other pam backend module for sudo and not the 'common-auth'. There

Re: need help with sftp

2018-08-07 Thread Fred
On 08/07/2018 10:20 AM, Greg Wooledge wrote: On Tue, Aug 07, 2018 at 09:53:57AM -0700, Fred wrote: On a new Sid installation I need to ftp some files to another computer on the network. sftp appears to be the only ftp program available. The other computers on the network do not use ssl so the

Re: need help with sftp

2018-08-07 Thread Greg Wooledge
On Tue, Aug 07, 2018 at 12:15:34PM -0700, Fred wrote: > I need to ftp some files from a new Sid installation to either of two other > computers on the network. Neither is configured for a "secure" version of > ftp and there is no reason to do that and Sid only has sftp. If you only need an FTP cl

Re: As seen above: use of su vs sudo

2018-08-07 Thread Gene Heskett
On Tuesday 07 August 2018 15:08:34 Nemeth Gyorgy wrote: > 2018-08-07 14:50 keltezéssel, The Wanderer írta: > > But it's more secure to require a second password to do elevated > > things than to permit doing those things with the same password as > > is used for ordinary activities. > > Then use o

Re: Kernel 4.9.0-7-686 Installed RAM vs. uabale RAM

2018-08-07 Thread Pascal Hambourg
Le 07/08/2018 à 14:53, basti a écrit : Hello, I have a system with Kernel 4.9.0-7-686, installed RAM are 3x 1GB but free -m only show 2GB. Whats wrong here? (...) As I know 686 can address 4GB RAM No. It can address 4 GiB memory space. Memory space does not contain only RAM, it is also used

Re: Please help with error message

2018-08-07 Thread deloptes
Rodolfo Medina wrote: > I'd always thought that `su' was Debian's and `sudo' was Ubuntu's...  :-) No - both are linux and sudo is for the use to be able to use specific commands. So in general I add sudo rule for my use for bash and it is done. Alternatively add user to sudo group and you can use

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-07 Thread Carles Pina i Estany
Hi, On Aug/07/2018, Jonathan Dowland wrote: > On Sat, Aug 04, 2018 at 10:54:59PM +0100, Carles Pina i Estany wrote: > > > > And I'm now 99% sure that the culprit of all this confusion is... > > plymouth! It has a password caching facility and systemd seems to use it > > to get the cached passwo

Re: New `no sound' problems

2018-08-07 Thread deloptes
Curt wrote: > He means it's self-explanatory given you're using testing and when using > testing shit happens (things break) its not even testing it is sid - as far as I know it is after testing and there even more shit happens, so I don't understand why he/she should bother us or we should bothe

Re: [solved?] Re: New `no sound' problems

2018-08-07 Thread deloptes
Rodolfo Medina wrote: > I `aptitude purge-d' pulseaudio and... (after maybe reboot) sound back > again... > usually it helps logout remove .pulse from use home reboot in .pulse and previously in .config/pulse (AFAIR) there are/were internal DB and it did not work well a

  1   2   >