This is a discussion on Changing of a user's shell, Segmentation fault within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Hello, when I try to: [root@~] passwd -e kilim Old shell: /usr/bin/sh New shell: /usr/pkg/bin/bash Segmentation Fault [root@~] cat ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| 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 |
| ||||
| 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 |