[SunHELP] urgent !! su not working , output of truss attached

Pedro Román Vela pedrorv at people-com.com
Tue Feb 4 04:38:29 CST 2003


--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. No confidentiality 
or privilege is waived or lost by any wrong transmission. 
If you have received this message in error, please immediately destroy it and kindly 
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any 
part of this message if you are not the intended recipient. Opinions, conclusions and 
other information in this message that do not relate to the official business of 
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. 
--------------------------------------------------------------------------------------
Date: Tue, 4 Feb 2003 11:41:31 +0100 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"

If you try to su (or su -) from the root account to another user account (su
- oracle, for example), does it hang as well?

-----Original Message-----
From: Prashant Desai [mailto:pressy_sun at yahoo.com]
Sent: martes, 04 de febrero de 2003 11:31
To: sunmanagers at sunmanagers.org; sunhelp at sunhelp.org
Subject: [SunHELP] urgent !! su not working , output of truss attached 


Hi all 

  su or su - on my system is not working , its running
on sparc-solaris 7 , m enclosing out put of truss
command kindly point me where the error is , i checked
th path etc things and everything is normal i mean no
change in any of settings which was there from last
year or so 

pls help me asap 
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
execve("/usr/bin/su", 0xFFBEF4EC, 0xFFBEF4F4)  argc = 1
stat("/usr/bin/su", 0xFFBEF1E0)			= 0
open("/var/ld/ld.config", O_RDONLY)		Err#2 ENOENT
open("/usr/local/lib/libcrypt_i.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libcrypt_i.so.1", O_RDONLY)	= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF3A0000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF380000
mmap(0xFF390000, 8796, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
munmap(0xFF382000, 57344)			= 0
memcntl(0xFF380000, 4140, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libcmd.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libcmd.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF3A0000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF360000
mmap(0xFF372000, 3915, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xFF372000
munmap(0xFF364000, 57344)			= 0
memcntl(0xFF360000, 4764, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libbsm.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libbsm.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF3A0000
mmap(0x00000000, 147456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF330000
mmap(0xFF350000, 9968, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 65536) = 0xFF350000
munmap(0xFF342000, 57344)			= 0
memcntl(0xFF330000, 23264, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libmp.so.2", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libmp.so.2", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF3A0000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF310000
mmap(0xFF322000, 3993, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xFF322000
munmap(0xFF314000, 57344)			= 0
open("/dev/zero", O_RDONLY)			= 4
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xFF300000
memcntl(0xFF310000, 3380, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libsocket.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libsocket.so.1", O_RDONLY)	= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF3A0000
mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF2E0000
mmap(0xFF2F6000, 11073, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF2F6000
munmap(0xFF2E8000, 57344)			= 0
memcntl(0xFF2E0000, 14492, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libnsl.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libnsl.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF3A0000
mmap(0x00000000, 663552, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF200000
mmap(0xFF290000, 34748, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 524288) = 0xFF290000
mmap(0xFF29A000, 24696, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF29A000
munmap(0xFF282000, 57344)			= 0
memcntl(0xFF200000, 88928, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libdl.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libdl.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF3A0000
close(3)					= 0
open("/usr/local/lib/libpam.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libpam.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF2D0000
mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF2B0000
mmap(0xFF2C4000, 8411, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF2C4000
munmap(0xFF2B6000, 57344)			= 0
memcntl(0xFF2B0000, 6564, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libc.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF2D0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF2D0000
mmap(0x00000000, 778240, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF100000
mmap(0xFF1B4000, 32112, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 671744) = 0xFF1B4000
mmap(0xFF1BC000, 5592, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF1BC000
munmap(0xFF1A6000, 57344)			= 0
memcntl(0xFF100000, 131844, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/local/lib/libgen.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libgen.so.1", O_RDONLY)		= 3
fstat(3, 0xFFBEEF7C)				= 0
mmap(0xFF2D0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF2D0000
mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1E0000
mmap(0xFF1F4000, 9847, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF1F4000
munmap(0xFF1E6000, 57344)			= 0
memcntl(0xFF1E0000, 7976, MC_ADVISE, 0x0003, 0, 0) = 0
close(3)					= 0
open("/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xFFBEEDE4)				= 0
mmap(0xFF2D0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xFF2D0000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1D0000
close(3)					= 0
close(4)					= 0
munmap(0xFF2D0000, 8192)			= 0
brk(0x00024E30)					= 0
brk(0x00026E30)					= 0
open("/etc/default/su", O_RDONLY)		= 3
llseek(3, 0, SEEK_CUR)				= 0
llseek(3, 0, SEEK_SET)				= 0
fstat64(3, 0xFFBEF2C8)				= 0
brk(0x00026E30)					= 0
brk(0x00028E30)					= 0
ioctl(3, TCGETA, 0xFFBEF254)			Err#25 ENOTTY
read(3, " # i d e n t\t " @ ( # )".., 8192)	= 703
llseek(3, 0xFFFFFFFFFFFFFDD7, SEEK_CUR)		= 150
llseek(3, 0, SEEK_SET)				= 0
read(3, " # i d e n t\t " @ ( # )".., 8192)	= 703
read(3, 0x0002615C, 8192)			= 0
llseek(3, 0, SEEK_CUR)				= 703
llseek(3, 0, SEEK_SET)				= 0
read(3, " # i d e n t\t " @ ( # )".., 8192)	= 703
read(3, 0x0002615C, 8192)			= 0
llseek(3, 0, SEEK_CUR)				= 703
llseek(3, 0, SEEK_SET)				= 0
read(3, " # i d e n t\t " @ ( # )".., 8192)	= 703
read(3, 0x0002615C, 8192)			= 0
llseek(3, 0, SEEK_CUR)				= 703
llseek(3, 0, SEEK_SET)				= 0
read(3, " # i d e n t\t " @ ( # )".., 8192)	= 703
llseek(3, 0, SEEK_CUR)				= 703
close(3)					= 0
fstat64(0, 0xFFBEF388)				= 0
ioctl(0, TCGETA, 0xFFBEF264)			= 0
stat64("/dev/tty", 0xFFBEF2F0)			= 0
stat64("/dev/console", 0xFFBEF2F0)		= 0
stat64("/dev/conslog", 0xFFBEF2F0)		= 0
stat64("/dev/syscon", 0xFFBEF2F0)		= 0
stat64("/dev/systty", 0xFFBEF2F0)		= 0
stat64("/dev/wscons", 0xFFBEF2F0)		= 0
open("/etc/ttysrch", O_RDONLY)			= 3
stat64("/etc/ttysrch", 0xFFBEF1E0)		= 0
read(3, " # i d e n t\t " @ ( # )".., 1408)	= 1408
close(3)					= 0
stat64("/dev/pts/14", 0xFFBEF1E0)		= 0
fstat64(0, 0xFFBEF1B0)				= 0
ioctl(0, TCGETA, 0xFFBEF08C)			= 0
stat64("/dev/tty", 0xFFBEF118)			= 0
stat64("/dev/console", 0xFFBEF118)		= 0
stat64("/dev/conslog", 0xFFBEF118)		= 0
stat64("/dev/syscon", 0xFFBEF118)		= 0
stat64("/dev/systty", 0xFFBEF118)		= 0
stat64("/dev/wscons", 0xFFBEF118)		= 0
open("/etc/ttysrch", O_RDONLY)			= 3
stat64("/etc/ttysrch", 0xFFBEF008)		= 0
read(3, " # i d e n t\t " @ ( # )".., 1408)	= 1408
close(3)					= 0
stat64("/dev/pts/14", 0xFFBEF008)		= 0
open("/var/adm/utmpx", O_RDONLY)		= 3
fstat64(3, 0xFFBEF0F0)				= 0
ioctl(3, TCGETA, 0xFFBEF07C)			Err#25 ENOTTY
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)	= 8192
llseek(3, 0xFFFFFFFFFFFFFFF8, SEEK_CUR)		= 8184
close(3)					= 0
open64("/var/adm/utmp", O_RDONLY)		= 3
llseek(3, 756, SEEK_SET)			= 756
read(3, " r o o t\0\0\0\0 1 4\0\0".., 36)	= 36
close(3)					= 0
open("/var/adm/sulog", O_WRONLY|O_APPEND|O_CREAT, 0600) = 3
close(3)					= 0
chown("/var/adm/sulog", 0, 0)			= 0
stat64("/etc/pam_debug", 0xFFBEF388)		Err#2 ENOENT
stat64("/etc/pam.conf", 0xFFBEF210)		= 0
open("/etc/pam.conf", O_RDONLY)			= 3
mmap(0x00000000, 861, PROT_READ, MAP_PRIVATE, 3, 0) = 0xFF2D0000
munmap(0xFF2D0000, 861)				= 0
close(3)					= 0
uname(0x00024190)				= 1
auditsys(BSM_AUDITCTL, 0x00000014)		Err#22 EINVAL
fstat(-1, 0xFFBEF398)				Err#9 EBADF
sigaction(SIGQUIT, 0xFFBEF360, 0xFFBEF3E0)	= 0
sigaction(SIGINT, 0xFFBEF360, 0xFFBEF3E0)	= 0
open64("/etc/.name_service_door", O_RDONLY)	= 3
fcntl(3, F_SETFD, 0x00000001)			= 0
door_info(3, 0xFF1BC340)			= 0
door_call(3, 0xFFBEEF50)			= 0
getuid()					= 0 [0]
getuid()					= 0 [0]
fstat(-1, 0xFFBEE768)				Err#9 EBADF
open("/dev/conslog", O_WRONLY)			= 4
fcntl(4, F_SETFD, 0x00000001)			= 0
fstat(4, 0xFFBEE768)				= 0
fstat(4, 0xFFBEF1C8)				= 0
time()						= 1044353825
putmsg(4, 0xFFBEE880, 0xFFBEE874, 0)		= 0
open("/etc/.syslog_door", O_RDONLY)		= 5
door_info(5, 0xFFBEE7B8)			Err#9 EBADF
close(5)					= 0
sigfillset(0xFF1BC4C4)				= 0
sigprocmask(SIG_BLOCK, 0xFFBEE864, 0xFFBEE854)	= 0
fork()						= 4153
waitid(P_PID, 4153, 0xFFBEE770, 0403   ) (sleeping...)
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


More information about the SunHELP mailing list