Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I want to chk ip of my system on lan I dont have administrative privileges for that i can not use ifconfig and ip address show command if i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82

    Smile How to find ip if i have log in as a diferent user rather than Root


    Hi
    I want to chk ip of my system on lan
    I dont have administrative privileges
    for that i can not use ifconfig and ip address show command
    if i do so it prompts a message "command not found"
    Is there any way to do so
    root has configured ip address and eth card also i want to chk that info ..
    Thanks

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Code:
    hostname -i

  3. #3
    Just Joined!
    Join Date
    May 2006
    Posts
    8
    With Gnome you can use Applications-Network Tools

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,746
    "Command not found" does not mean "access denied."

    openSuSE ifconfig is executable by normal users:

    Code:
    ls -al /sbin/ifconfig 
    -rwxr-xr-x 1 root root 65448 2008-12-03 00:09 /sbin/ifconfig
    Since /sbin isn't in the path of a normal user, specify the location:

    Code:
    /sbin/ifconfig

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •