Search Results

Search: Posts Made By: wcmiker
Forum: Open Source 10-20-2005
345,074
Posted By wcmiker
I use vi in UNIX and I use TextPad in Windows.
I use vi in UNIX and I use TextPad in Windows.
7,967
Posted By wcmiker
Also, given the problem I had, rsh probably would...
Also, given the problem I had, rsh probably would not have worked since sh and ssh were not working either.
7,967
Posted By wcmiker
Yep, I put sh at /sbin/sh Nope, rsh...
Yep, I put sh at /sbin/sh



Nope, rsh does not work for a root account either. You would need to change /etc/default/login to allow remote logins by root using rsh just as you would need to for...
7,967
Posted By wcmiker
Well, I must say, you guys totally rock. ...
Well, I must say, you guys totally rock.


-bash-3.00$ su testroot
Password:
# id
uid=0(root) gid=0(root)
#


Thank you everyone for your help. Especially you Corona688, your MakeFile...
7,967
Posted By wcmiker
You are exactly right. Take a look at this. ...
You are exactly right. Take a look at this.


-bash-3.00$ ls -l /sbin/sh
-r-xr-xr-x 1 root root 812188 Oct 16 21:24 /sbin/sh
-bash-3.00$ ls -l /usr/local/bin/make
-rwxr-xr-x 1...
7,967
Posted By wcmiker
-bash-3.00$ file /sbin/sh /sbin/sh: ELF...
-bash-3.00$ file /sbin/sh
/sbin/sh: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped
7,967
Posted By wcmiker
I just noticed that the date of /sbin/sh is...
I just noticed that the date of /sbin/sh is October 16, and that is when the problem began.
7,967
Posted By wcmiker
-bash-3.00$ grep root /etc/passwd ...
-bash-3.00$ grep root /etc/passwd
root:x:0:0:Super-User:/:/sbin/sh
testroot:x:0:0:Super-User:/:/sbin/sh

-bash-3.00$ ls -l /bin/sh
lrwxrwxrwx 1 root root 13 Aug 25 21:44 /bin/sh...
7,967
Posted By wcmiker
-bash-3.00$ su - testroot Password: -sh: ***...
-bash-3.00$ su - testroot
Password:
-sh: *** No targets specified and no makefile found. Stop.
-bash-3.00$

I receive the same result with su -
7,967
Posted By wcmiker
Cannot do anything as root
Hello,

I have a problem with a server. I have access to 2 different root accounts, and they appear to be stuck doing something with sh. I also could not get to the machine with ssh as I usually...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy