Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Limited commandset over SSH.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Zarathustra[H]
Guru
Guru


Joined: 30 Dec 2002
Posts: 389
Location: Cambridge, MA, USA

PostPosted: Fri Mar 14, 2003 1:20 am    Post subject: Limited commandset over SSH. Reply with quote

Hey.

I'm assuming this is some sort of security related issue, thats why I am posting here.

I just recently set up a gentoo box as a server, disconnected it from keyboards and monitors and installed it in its final locatiion, so my only current acces to the box is via ssh.

For some reason its not letting me issue certain commands as root over ssh. I really need to run lspci right now, which I could before from any tty, but now over ssh it says "command not found"

Do you guys know if there is any way around this?

Thanks,
Matt
_________________
----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
----
Back to top
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Fri Mar 14, 2003 1:25 am    Post subject: Re: Limited commandset over SSH. Reply with quote

Zarathustra[H] wrote:
Hey.

I'm assuming this is some sort of security related issue, thats why I am posting here.

I just recently set up a gentoo box as a server, disconnected it from keyboards and monitors and installed it in its final locatiion, so my only current acces to the box is via ssh.

For some reason its not letting me issue certain commands as root over ssh. I really need to run lspci right now, which I could before from any tty, but now over ssh it says "command not found"

Do you guys know if there is any way around this?

Thanks,
Matt


It sounds like when you ssh in you're not getting your PATH set correctly.
Code:
/sbin/lspci
should work.
Else
Code:
locate lspci
should find it for you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum