I
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Sumit Malhotra
Sent: Wednesday, May 26, 2004 12:41 PM
To: The Linux-Delhi mailing list
Subject: Re: [ilugd] can't login su - user
Check the default shell set for that user .
-Sumit
Manoj >> its bin/bash only
Attached is the some info of ltrace of su - user
strcpy(0x08050dfd, "/bin:/usr/bin:/usr/local/bin:/us"...) = 0x08050dfd
putenv(0x08050df8, 0, 0x08050d20, 0x08050d20, 0xbffffbc0) = 0
setfsuid(355, 0x08050d20, 0x08050d20, 0x08050d20, 1) = 0
chdir("/home/krishna") = 0
pam_open_session(0x0804f850, 0, 0x40190002, 0x40196050, 0x40194520) = 0
pam_getenvlist(0x0804f850, 0, 0, 0x4005f6b0, 0x4005f6a4) = 0x08053c28
fork() = 26296
sigfillset(0xbffffaf0, 0x40015f18, 80, 0x08049b7f, 0x40194520) = 0
sigprocmask(0, 0xbffffaf0, 0, 0x08049b7f, 0x40194520) = 0
sigemptyset(0xbffffa64, 0xbffffaf0, 0, 0x08049b7f, 0x40194520) = 0
sigemptyset(0xbffffaf0, 0xbffffaf0, 0, 0x08049b7f, 0x40194520) = 0
sigaddset(0xbffffaf0, 15, 0, 0x08049b7f, 0x40194520) = 0
sigaddset(0xbffffaf0, 14, 14, 14, 0x40194520) = 0
sigaction(15, 0xbffffa60, 0, 8192, 0x40194520) = 0
sigprocmask(1, 0xbffffaf0, 0, 0, 0x40194520) = 0
waitpid(-1, 0xbffffa5c, 2, 0xbffffaf0, 0x40194520su: cannot run
/bin/bash : No
such file or directory
) = 26296
pam_close_session(0x0804f850, 0, 0xbffffa60, 0xbffffa60, 0x40194520) = 0
pam_end(0x0804f850, 0, 0, 0, 0x40194520) = 0
exit(1) = <void>
__deregister_frame_info(0x0804c040, 0x4000ca01, 0x400160b4, 0x4019b060,
1) = 0x0
804c298
+++ exited (status 1) +++
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 2:04 AM
Subject: [ilugd] can't login su - user
Hi All,
I just created a new user in my server
All the things work fine I can login as tht user but when I write su -
user it says
Can't run bin/bash no such file or directory its happening only for that
user
I checked the directory permission/group permission every thing is right
Whts wrong :-( ......
Thanks & Best Regards
Manoj Thakkar
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/
Confidentiality Notice
The information contained in this electronic message and any attachments to this
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL
PROTECTED] immediately
and destroy all copies of this message and any attachments.
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/