Changing of a user's shell, Segmentation fault

  • Follow


Hello,

when I try to:
[root@~] passwd -e kilim
Old shell: /usr/bin/sh
New shell: /usr/pkg/bin/bash
Segmentation Fault
[root@~] cat /etc/shells
/bin/sh
/usr/bin/sh
/usr/bin/ksh
/usr/pkg/bin/bash

Why does that happen ? Thank you for your time. 

Frustrated user :)

0
Reply kilim 11/28/2005 9:10:08 PM

On Mon, 28 Nov 2005, kilim wrote:

> when I try to:
> [root@~] passwd -e kilim
> Old shell: /usr/bin/sh
> New shell: /usr/pkg/bin/bash

/usr/pkg is not a standard directory on Solaris.  Is it something
that you installed?  If so, installing it under /usr is not a good
idea.

-- 
Rich Teer, SCNA, SCSA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
0
Reply Rich 11/28/2005 10:12:07 PM


kilim <kilim@phenix.rootshell.be> writes:
>when I try to:
>[root@~] passwd -e kilim
>Old shell: /usr/bin/sh
>New shell: /usr/pkg/bin/bash
>Segmentation Fault
>[root@~] cat /etc/shells
>/bin/sh
>/usr/bin/sh
>/usr/bin/ksh
>/usr/pkg/bin/bash

>Why does that happen ? Thank you for your time. 
>Frustrated user :)


I'd run the passwd command you are running through the fingerprint
database at sunsolve.sun.com to make sure its a binary that Sun sent out.

Otherwise, try applying the latest recomended patches. It shouldn't do that.
I'd suspect some corruption or other nefarious problem with the binary.
0
Reply Doug 11/28/2005 11:05:23 PM

In article <Pine.SOL.4.64.0511281410130.2112@marrakesh>, Rich Teer wrote:
> On Mon, 28 Nov 2005, kilim wrote:
> 
>> when I try to:
>> [root@~] passwd -e kilim
>> Old shell: /usr/bin/sh
>> New shell: /usr/pkg/bin/bash
> 
> /usr/pkg is not a standard directory on Solaris.  Is it something
> that you installed?  If so, installing it under /usr is not a good
> idea.

Basically, you don't know the answer. So why post ?

Thanks anyways :)
0
Reply kilim 11/29/2005 12:16:26 AM

On Mon, 29 Nov 2005, kilim wrote:

> Basically, you don't know the answer. So why post ?

To try to impart some useful information (that admitedly doesn't
answer your question).  Sorry for trying to be helpful.

-- 
Rich Teer, SCNA, SCSA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
0
Reply Rich 11/29/2005 2:39:15 AM

On 28 Nov 2005 21:10:08 GMT, kilim <kilim@phenix.rootshell.be> wrote:

>Hello,
>
>when I try to:
>[root@~] passwd -e kilim
>Old shell: /usr/bin/sh
>New shell: /usr/pkg/bin/bash
>Segmentation Fault
>[root@~] cat /etc/shells
>/bin/sh
>/usr/bin/sh
>/usr/bin/ksh
>/usr/pkg/bin/bash
>
>Why does that happen ? Thank you for your time. 
>
>Frustrated user :)

use the usermod command instead of passwd -e
0
Reply Boomhauer 12/5/2005 4:34:32 PM

5 Replies
364 Views

(page loaded in 0.101 seconds)

Similiar Articles:













7/25/2012 5:45:05 AM


Reply: