View previous topic :: View next topic |
Author |
Message |
lynz_addict n00b
Joined: 31 Jan 2004 Posts: 54 Location: Singapore
|
Posted: Wed Jan 19, 2005 3:27 pm Post subject: [Solved]Gaining ip address |
|
|
How to get the ip address of the machine w/o having access to the root? _________________ ADDictED to PoweR!
ADDictED to LiNuX !!!
Last edited by lynz_addict on Wed Jan 19, 2005 4:37 pm; edited 1 time in total |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
|
Back to top |
|
|
nemo_ Apprentice
Joined: 19 Sep 2002 Posts: 167 Location: Brussels, Belgium
|
Posted: Wed Jan 19, 2005 3:50 pm Post subject: |
|
|
try netstat -ie
should give the same info as ifconfig, but runs as a regular user I beleive. |
|
Back to top |
|
|
Niosop n00b
Joined: 04 Oct 2003 Posts: 24
|
Posted: Wed Jan 19, 2005 3:50 pm Post subject: |
|
|
You can use ifconfig, which by default is world executable I believe. It's in /sbin though, so you'll either have to add /sbin to your users path, or type /sbin/ifconfig to run it each time.
Hope this helps,
Niosop |
|
Back to top |
|
|
lynz_addict n00b
Joined: 31 Jan 2004 Posts: 54 Location: Singapore
|
Posted: Wed Jan 19, 2005 4:37 pm Post subject: |
|
|
Thanks! It worked. ifconfig by default is not there in the path for users. Its only there for the root. But, ya! /sbin/ifconfig works. _________________ ADDictED to PoweR!
ADDictED to LiNuX !!! |
|
Back to top |
|
|
|