|
|
|
jthiessen
|
Posted:
Sat Jan 01, 2005 10:40 pm |
|
|
|
PRO Level 2
Joined: 25 Dec 2004
Posts: 24
Location: Grand Forks, BC [Canada]
|
| D3LM3L wrote: |
| ifconfig doesn't work amazingly! It worked on my Mac laptop using Terminal there, but it doesn't even work on SuSE Linux. I also tried ifconfig eth0, still, it won't do anything. I just get the error 'bash: ifconfig: command not found'. What do I do now lol? |
well, the only thing you can do is hang your head and weep... j/k. the trouble is that you are trying to execute it as a normal user, however you won't have the rights to by default. you could 1) always run it as root, 2) escalate your privledges by adding yourself to the root group in /etc/groups [not advisable], 3) you could run chmod +x /sbin/ifconfig [and make it so that anyone can use it] [not advisable either unless everyone with access to your computer is trusted] or 4) you could run chown <yourusername> /sbin/ifconfig [probably the best simple solution, this way you, and root could use it, but nobody else could]
nb: you must execute the chmod, and chown commands from the root account.
ps: if you really felt like it, you could make a special group just for accessing ifconfig, then you could add everyone who needs to use ifconfig to that group, and then chown :<group name> /sbin/ifconfig, that way a bunch of people could use it without opening up your system too much.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
jthiessen
|
Posted:
Sat Jan 01, 2005 10:42 pm |
|
|
|
PRO Level 2
Joined: 25 Dec 2004
Posts: 24
Location: Grand Forks, BC [Canada]
|
|
please disregard everything i just said... you most likely already have /sbin/ifconfig wide open for anyone to execute. however, it's not in your path variable. either invoke it using the full path [/sbin/ifconfig], or add /sbin to your path variable.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
jthiessen
|
Posted:
Sat Jan 01, 2005 11:00 pm |
|
|
|
PRO Level 2
Joined: 25 Dec 2004
Posts: 24
Location: Grand Forks, BC [Canada]
|
|
to add /sbin, and /usr/sbin to your personal path variable, type: echo "export PATH=\"/sbin:/usr/sbin:\${PATH}\"" >> ~/.bash_profile [assuming you are using bash] and then logout and log back in.
nb: this must be done from the user's account for which you want to modify the path variable
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
jthiessen
|
Posted:
Sun Jan 02, 2005 2:09 am |
|
|
|
PRO Level 2
Joined: 25 Dec 2004
Posts: 24
Location: Grand Forks, BC [Canada]
|
| D3LM3L wrote: |
| Oh sorry nvm, I just had to login as root for teh command to work. |
now i feel really stupid. i guess that's what i guess for not reading the _entire_ post. i missed the edit before posting all those replies. oh well. if you really want to access it later from a normal user account, my suggestions should work. otherwise, just disregard everything i said.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
D3LM3L
|
Posted:
Sun Jan 02, 2005 2:12 am |
|
|
|
PRO Level 10
Joined: 24 Jul 2004
Posts: 424
Location: Bergen County, NJ
|
|
LOL jthiessen I still think you're the most helpful [Linux] person in the world.... you made like 5 posts about stuff that I never heard of but now i can use :D! Thankx anyways!
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
OrangeRoot1000
|
Posted:
Mon Apr 04, 2005 12:51 am |
|
|
|
PRO Level 5
Joined: 01 Apr 2005
Posts: 155
Location: Phx., AZ USA
|
|
chattr .. change attributes ... used to protect files
dd ... used for bit by bit backup with blank spaces
/etc/init.d/MODULE_NAME START|STOP|RESTART --- if the service name is known the admin rarely needs to reboot.
dmesg ... makes a list of kernel modules that are loaded on your system
grep ... find a certain pattern in text
less ....similar to more but allows backward movement in a file --- *nix considers everything a file
more ...allow forward movement of a file ... pause function if used wih ls
lsusb ... shows usb connections
dpkg ... Debian package manager
apt-get ... Debian way to upgrade, install or remove packages
apt-cache ... shows what is stored in archives of /var
tar -- compression files for *nix
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
Michaels
|
Posted:
Tue Apr 05, 2005 10:17 am |
|
|
|
Respected Member of PROnetworks
Joined: 23 Jul 2002
Posts: 5927
Location: NL
|
|
|
Back to top
|
|
|
|
phileysmiley
Larry Richman |
Posted:
Tue Apr 05, 2005 3:28 pm |
|
|
|
Management Media & Events
Joined: 21 Jun 2004
Posts: 37287
Location: Philadelphia PA USA
|
Wow.  I don't have Linux, but I do read all the posts and this looks pretty impressive to me.  We get asked this question a lot. Should be very useful.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
SHK
|
Posted:
Tue Apr 05, 2005 4:28 pm |
|
|
|
PRO Level 17
Joined: 18 Sep 2004
Posts: 2015
Location: C:\Windows\System32\
|
|
HaHa Thanks for the list. Im planning on downloading at least half of them. I am looking at the ones under the gaming catagory... I wonder if they work well.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
Michaels
|
Posted:
Tue Apr 05, 2005 5:47 pm |
|
|
|
Respected Member of PROnetworks
Joined: 23 Jul 2002
Posts: 5927
Location: NL
|
| Quote: |
| I wonder if they work well. |
that is why it is livecd, try without risk
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
|
Back to top |
|
|
|
|
|