Re: Get the ip address without using "root"?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Aug 18, 2006 at 06:09:59PM +0800, Deephay wrote:
> Greetings all,
>
> How to get the address of the local machine without using "root"?
> ifconfig cannot be issued by a common user. TIA!
Why?
it works fine here (though you have to enter the full path since /sbin
is not in the path for a normal user...
/sbin/ifconfig should actully work (though you wont be able to change
anything of courese)
the "ip" programm from iproute does actually install into /bin so no
problem(not even the $PATH) for just calling
"ip a"
yours
Albert
- --
Albert Dengg <a_d@gmx.at>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE5ZNehrtSwvbWj0kRAsOXAJ9Ul3S0QHFgO3/1D5S27RfpM+OPCQCeLDCW
usAb6vgTPfvMd4QLVglLrAA=
=0PZu
-----END PGP SIGNATURE-----
Reply to: