I did a yum update on my CentOS 6 systems yesterday for the first time in
about a month and now have some automated processes failing because the PATH is
not set up correctly when using su. The problem is very easy to see by
comparing the output of the following two commands:
# su - user
Hello ALfred,
On Fri, 2012-06-15 at 13:14 -0400, Alfred von Campe wrote:
I did a yum update on my CentOS 6 systems yesterday for the first time
in about a month and now have some automated processes failing because
the PATH is not set up correctly when using su.
Thanks for the heads up, but
On Jun 15, 2012, at 14:52, Leonard den Ottolander wrote:
Thanks for the heads up, but you should really take issues like this
upstream. There's nothing the CentOS can or at least will do as they
rebuild upstream ad verbatim. Try the RHEL 6 mailing list:
On 06/15/2012 08:09 PM, Alfred von Campe wrote:
Thanks, that's a good idea. Unfortunately, I don't have time to do this
today. I did, however, track this down to the root cause. The user I was
changing to was using tcsh as their shell (like many of our users are), and
this problem got
On Jun 15, 2012, at 17:11, Karanbir Singh wrote:
please file this at bugs.centos.org - so we can make sure its not an
issue we introduced.
Done: issue number 0005778 has been filed.
Alfred
___
CentOS mailing list
CentOS@centos.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 09.03.2010 22:22, schrieb Tom H:
Do you have any sudo call from your /etc or /etc/skel bashrc or
profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make the shell a login shell
so sudo -l in bashrc
On Mar 10, 2010, at 12:12 PM, Uwe Kiewel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 09.03.2010 22:22, schrieb Tom H:
Do you have any sudo call from your /etc or /etc/skel bashrc or
profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su -
From: Uwe Kiewel m...@kiewel-online.ch
lists the commands that you are allowed to run with sudo
That is clear to me, but why does this command request the password?
Security?
Maybe they don't want someone passing by to find out what this user can run
through sudo...
JD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 10.03.2010 18:26, schrieb Tony Schreiner:
On Mar 10, 2010, at 12:12 PM, Uwe Kiewel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 09.03.2010 22:22, schrieb Tom H:
Do you have any sudo call from your /etc or /etc/skel bashrc or
Do you have any sudo call from your /etc or /etc/skel bashrc or
profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make the shell a login shell
so sudo -l in bashrc is executed, which asks for the user's password
Understood, who is asking - not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 10.03.2010 20:23, schrieb Tom H:
Do you have any sudo call from your /etc or /etc/skel bashrc or
profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make the shell a login shell
so sudo -l in
From: Uwe Kiewel m...@kiewel-online.ch
If I am root and want to change the user to a non-root user, the system
prompts me for a password:
[r...@halifax ~]# useradd test00
[r...@halifax ~]# su - test00
We trust you have received the usual lecture from the local System
Administrator. It
From: Uwe (ML) Kiewel m...@kiewel-online.ch
Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make the shell a login shell
so sudo -l in bashrc is executed, which asks for the user's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 09.03.2010 17:32, schrieb John Doe:
From: Uwe (ML) Kiewel m...@kiewel-online.ch
Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make
Uwe Kiewel wrote:
Am 09.03.2010 17:32, schrieb John Doe:
From: Uwe (ML) Kiewel m...@kiewel-online.ch
Do you have any sudo call from your /etc or /etc/skel bashrc or
profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make the shell a login shell
Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
Yes, I do have in /etc/bashrc:
sudo -l
Unless you already understood:
su - make the shell a login shell
so sudo -l in bashrc is executed, which asks for the user's password
Understood, who is asking - not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a strange su hehavior on a CentOS 5.4 32Bit installation in a
VMware ESXi virtualizied environment:
If I am root and want to change the user to a non-root user, the system
prompts me for a password:
[r...@halifax ~]# useradd test00
Uwe Kiewel wrote:
[r...@halifax ~]# useradd test00
[r...@halifax ~]# su - test00
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3)
Hi,
I have a strange su hehavior on a CentOS 5.4 32Bit installation in a
VMware ESXi virtualizied environment:
If I am root and want to change the user to a non-root user, the system
prompts me for a password:
[r...@halifax ~]# useradd test00
[r...@halifax ~]# su - test00
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 08.03.2010 21:21, schrieb John R Pierce:
Uwe Kiewel wrote:
[r...@halifax ~]# useradd test00
[r...@halifax ~]# su - test00
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Uwe Kiewel
Sent: Monday, March 08, 2010 2:17 PM
To: centos@centos.org
Subject: [CentOS] strange su behavior
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a strange
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 08.03.2010 22:03, schrieb Dan Burkland:
[r...@halifax ~]# useradd test00
[r...@halifax ~]# su - test00
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 09.03.2010 02:16, schrieb Spiro Harvey:
On Mon, 8 Mar 2010 21:28:44 +0100
Uwe Kiewel m...@kiewel-online.ch wrote:
that almost sounds like sudo, not su. is it aliased or something?
I don't think so:
[r...@halifax ~]# file /bin/su
You've
23 matches
Mail list logo