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: Kernel parms like MAXUPROC on AIX - comp.unix.solarisEverything's there either in HTML or PDF ... May be slightly OT: Apache on Solaris Segmentation Fault - comp ... ... How to checlk kernel limitations for specific user at ... cannot find entry symbol _start - comp.unix.programmera.out results in segmentation fault ... command line may change between releases of the OS, > libc and compiler. > > > a.out results in segmentation fault ... working with user ... How to restore /etc/sudoers file? - comp.sys.mac.systemI'm trying to change it back to 440, but I ... sudoers is mode 0710, should be 0440 Segmentation fault ... Thanks, - Dave Boot into single-user mode, by pressing Cmd-S ... Hiding shell script source code??? - comp.unix.programmer ...... com/ Do not adjust your mind, there is a fault in reality. ... Change user password using shell script - comp.unix.solaris ..... can i change user password on solaris os ... awk: bailing out near line 1 - comp.lang.awkchanging lf-only to crlf - comp.lang.awk Problem with awk / awk: bailing out near line 1 - comp.unix.shell ..... lang.fortran ... Segmentation fault (core dumped) - comp ... Problem with awk / awk: bailing out near line 1 - comp.unix.shell ...DISK=`/bin/df -k |\ awk 'NF==1 {printf "%s ",$0 ... gawk --nostalgia awk: bailing out near line 1 Segmentation fault ... changing lf-only to crlf - comp.lang.awk Problem with ... The file just loaded does not appear to be executable - comp.unix ...... 600000/SUNW,qlc@4/fp@0,0/disk@1,0 File and args: -s Warning: Fcode sequence resulted in a net stack depth change ... ... still facing same issue to boot even in single user mode ... Matlab GUIDE stability issue - comp.soft-sys.matlab... eventually run out of memory or generate a segmentation fault. ... After using visual studio to code a user interface ... or the like of course.) >> >> You should not change ... problem in interface - comp.lang.fortran... but as soon as it getes asnit, it gives segmentation fault, as ... rudra wrote: > There is no improvement/change when ... User Interface Issues - Microsoft Corporation ... Why Is Mastercam Now Being Dumped So Frequently? - comp.cad.pro ...... once a shop has a CADCAM system it's almost impossible to change ... you don't even know if .0001% of the user ... segmentation fault (SIGSEGV) - comp.lang.fortran now I'm ... Changing of a user's shell, Segmentation faultsoftware.itags.org: Solaris Operating System question: Changing of a user's shell, Segmentation fault, created at:Tue, 20 May 2008 10:08:00 GMT with 377 bytes, last ... Linuxhelp > Su Segmentation FaultThe only major setup change I've done is to remove the file /tmp/.X0 ... went fine and produced no errors, but trying to su to another user still caused a segmentation fault. 7/25/2012 5:45:05 AM
|