su problems?

  • Follow


I can connect with telnet. But then when I use su, "su - user1" or "su 
user1" my session hang. Any idea?
0
Reply Adolfo 11/21/2005 9:59:07 AM

Try to be more specific. Maybe you shoud add 'wheel' group, maybe you
shod add your user to this group, maybe ....., maybe ....

Why do you use telnet ? ever heard about ssh ?


Adolfo napisal(a):
> I can connect with telnet. But then when I use su, "su - user1" or "su
> user1" my session hang. Any idea?

0
Reply pasqdnik 11/21/2005 10:54:46 AM


pasqdnik@gmail.com escribi�:
> Try to be more specific. Maybe you shoud add 'wheel' group, maybe you
> shod add your user to this group, maybe ....., maybe ....
> 
> Why do you use telnet ? ever heard about ssh ?
> 
> 
> Adolfo napisal(a):
> 
>>I can connect with telnet. But then when I use su, "su - user1" or "su
>>user1" my session hang. Any idea?
> 
> 
The problem is this

#su - oracle

And my session hang.

So I have to go other terminal


#ps -ef|grep su
   root 17555  9977  0 13:14:34 pts/106  0:00 su - oracle
   root 17615 17413  0 13:15:40 pts/46   0:00 su - oracle
   root 17556 17555  0 13:14:34 pts/106  0:00 su - oracle

But  I can use telnet or ssh and connect with the user oracle. This 
happen for all users, also root

0
Reply Adolfo 11/21/2005 12:29:07 PM

Adolfo wrote:
> I can connect with telnet. But then when I use su, "su - user1" or "su
> user1" my session hang. Any idea?

Check the binary with:
http://sunsolve.sun.com/pub-cgi/fileFingerprints.pl
"which su" should report:
/usr/bin/su
pkgchk -l -p /usr/bin/su should report correct permissions..

0
Reply gerryt 11/21/2005 3:49:18 PM

gerryt@vcn.bc.ca escribi�:
> Adolfo wrote:
> 
>>I can connect with telnet. But then when I use su, "su - user1" or "su
>>user1" my session hang. Any idea?
> 
> 
> Check the binary with:
> http://sunsolve.sun.com/pub-cgi/fileFingerprints.pl
> "which su" should report:
> /usr/bin/su
> pkgchk -l -p /usr/bin/su should report correct permissions..
> 

# pkgchk -l -p /usr/bin/su
Pathname: /usr/bin/su
Type: regular file
Expected mode: 4555
Expected owner: root
Expected group: sys
Expected file size (bytes): 17568
Expected sum(1) of contents: 51174
Expected last modification: nov 05 14:22:14 2001
Referenced by the following packages:
         SUNWcsu
Current status: installed


I also has copied the binary from another machine without problems
0
Reply Adolfo 11/21/2005 4:08:29 PM

4 Replies
368 Views

(page loaded in 0.071 seconds)

Similiar Articles:













7/23/2012 4:57:09 PM


Reply: