The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
KDE and startx congo UNIX Desktop for Dummies Questions & Answers 1 10-21-2006 03:23 PM
startx / xterm gefa UNIX for Advanced & Expert Users 0 04-21-2006 09:30 AM
error startx with debian pascalbout Linux 0 03-20-2006 06:26 AM
Help with FreeBSD and startx. cosmotron UNIX for Dummies Questions & Answers 3 12-18-2004 01:31 PM
startx, xauth msg and Solaris 8 rpeteg UNIX for Dummies Questions & Answers 4 12-04-2001 06:25 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 09-04-2001
patvdv's Avatar
Registered User
 

Join Date: Jul 2001
Location: Belgium
Posts: 83
Stumble this Post!
try:

/usr/bin/whereis echo

If that output a valid path to 'echo' then:

$output_path/echo "test"

Normally echo resides in /bin:

/bin/echo "test"
__________________
Patrick Van der Veken - UNIX consultant (c) 2001 - 2001 http://www.baanboard.com - http://www.ux-core.com
'True strength lies in gentleness' - Irish proverb
Forum Sponsor
  #9 (permalink)  
Old 09-04-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
Stumble this Post!
Thanks again, but still no joy

These are the commands I've found to be active so far:

cat filename (no switches.)
echo (printing $input but not its contents to the shell.)
finger username
who
whoami
cd (permission denied for most movement.)
ls directoryname (no switches.)
vi (displays Must be root.)
pine (displays cannot connect to host.)
pico (displays Must be root.)
StartX (displays cannot access terminal.)

I've found a shadowed password file, although the passwd file contains user who do not have passwords attached to their usernames. However I cannot change user.

Unsuccessful commands:

su
find
grep
mkdir
mv
cp
lp
chfn
chmod
chuser
chsh
find
FTP
talk
ypcat passwd
passwd
rmdir
man

As you can see, it is pretty restrictive. I've even grabbed myself a free shell account at sdf.lonestar.org, and it's not helping me. I'm not sure if 'obscure' commands are being called for or not.

Any other suggestions?

hellz.
  #10 (permalink)  
Old 09-04-2001
patvdv's Avatar
Registered User
 

Join Date: Jul 2001
Location: Belgium
Posts: 83
Stumble this Post!
Mmm, are you sure you are running a Linux shell and not some weird DOS program? I give up!
__________________
Patrick Van der Veken - UNIX consultant (c) 2001 - 2001 http://www.baanboard.com - http://www.ux-core.com
'True strength lies in gentleness' - Irish proverb
  #11 (permalink)  
Old 09-04-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
Stumble this Post!
lol, nope it's definitely a csh I wish it was DOS, I wouldn't have a problem with that! The most irritating thing for me is that I can't use any scripting at all and I've got no idea how Unix/Linux systems work.

Thanks for trying though, I really appreciate it

hellz.
  #12 (permalink)  
Old 09-04-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
Stumble this Post!
test project???

I'm not sure what useful information can be
gleened from trying to find holes in an
extremely restrictive environment but anyway,
I'd be curious to know if "env" or "set"
gives you any information about your environment.
Since most of your commands are "disabled" or
unusable, I'm not sure what help I (or anyone
else) will be. Sorry about that
  #13 (permalink)  
Old 09-04-2001
Registered User
 

Join Date: Aug 2001
Posts: 20
Stumble this Post!
Thanks for the replies everyone, it looks like I'm at a dead end. I'll post back if I find the answer! Thank you all so very very much!

hellz.
  #14 (permalink)  
Old 09-05-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Stumble this Post!

You mentioned that whoami works... who does it say you are?

Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0