The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   How to become network Admin (http://hintsforums.macworld.com/showthread.php?t=55143)

-Led Zeppelin 05-01-2006 09:44 PM

How to become network Admin
 
I am on my network (1 mac me, and a few other pc's) how do I make myself admin on my network, so I can control what is happening. Also how do I make myself a superuser on my mac. When I tried to do certain commands in terminal it says I need to be super-user.

hayne 05-01-2006 09:51 PM

1) It isn't clear what you want to control relating to the network. Usually you would set network parameters in the config page (usually a web page) for your router or other networking equipment. To do this you need merely know where that page is (.e.g. what IP address it is at) and what the admin username and password is for the router. I.e. you could say that the network admin is the one who knows that password.

2) To run commands with 'root' or 'super-user' privileges on OS X, you use the command 'sudo' in front of the other command. You need to have an "admin" user account - i.e. one that has "allow this user to administer the computer" checked in Accounts preferences.
See this Unix FAQ

voldenuit 05-01-2006 09:55 PM

just for one command, use sudo, for example:

sudo rm -rf /

(don't do that ! really don't ;) )

If you want to run a rootshell you need to enable the root user in NetInfo, but you really shouldn't until you're pretty sure you know what you're doing.

-Led Zeppelin 05-01-2006 09:57 PM

that deletes your hard drive, now why would you use that as an example lol. Ok how would I connect to my router, I dont think there is a password, what is the ip to the router, or how do i find it.

bored28 05-01-2006 10:00 PM

Depends what router you have .... try 192.168.1.1 or 192.168.0.1, or similar ... you can look it up at the manufacturers website.....this should prompt you for a username and password, if you get this far, let us know.

-Led Zeppelin 05-01-2006 10:36 PM

K the second works for me 192.168.0.1 but for the login information, I forgot it, how do I get the info for it?

bored28 05-01-2006 10:49 PM

try admin / admin, or admin / password as the username / password, respectively.

hayne 05-01-2006 10:54 PM

Or (if all else fails!) try reading the manual (for the router) - usually available on the manufacturer's web site if you've lost the paper version.

-Led Zeppelin 05-01-2006 10:57 PM

Quote:

Originally Posted by bored28
try admin / admin, or admin / password as the username / password, respectively.

Sry bored that dosen't work. I guess I have to read the manual. You guys sure there isen't any other way?

bored28 05-01-2006 11:02 PM

read the manual or go to the manuf. website, it will tell you how to log into it. The ones i provided you are just examples. Also, when posting any questions, try to provide as much information as possible (system, OS version, computer type, router type, model #'s, etc). The more we know, the easier it will be for all of us to help you out! Let us know how it turns out.

hayne 05-01-2006 11:03 PM

Quote:

Originally Posted by -Led Zeppelin
You guys sure there isn't any other way?

I'm not sure if this will work, but you might try the following procedure:
1) Take off all your clothes
2) Sacrifice a chicken (preferably a virgin one)
3) Smear the entrails over your router.
4) Dance in a circle around the router singing "I Am The Admin" to the tune of the Beatles' "I Am The Walrus".
5) Repeat as necessary.

:)

-Led Zeppelin 05-01-2006 11:06 PM

I was just listeining to that song ....anyways ya, I looked on the site so I got to hit the reset button and hold it for 10 seconds, then it will reset to username:admin password:(nothing). So ima go to get bed now since its 11:10 here, hayne you should get some sleep to its late...anyways, I'll tell you tommorow what happened ect.

bored28 05-01-2006 11:08 PM

Hayne, That is the best post i have ever seen. :)

trevor 05-01-2006 11:08 PM

Quote:

Originally Posted by hayne
4) Dance in a circle around the router singing "I Am The Admin" to the tune of the Beatle's "I Am The Walrus".

Just to clarify Hayne's post--you need to dance counterclockwise around the router.

Trevor

blb 05-01-2006 11:53 PM

Quote:

Originally Posted by hayne
...
2) Sacrifice a chicken (preferably a virgin one)
...
:)

Wait; I know goats are used for *nix servers, but I thought network equipment required sheep sacrifice?

That could explain my mediocre luck with IOS...

hayne 05-02-2006 12:10 AM

Quote:

Originally Posted by blb
I thought network equipment required sheep sacrifice?

Modern networking standards have tended towards avian utilization but reference to chickens for networking issues has long-standing precedent.

voldenuit 05-02-2006 02:04 AM

...and there are other unexpected devices used in networking such as pegs:

http://www.ietf.org/rfc/rfc2322.txt

CAlvarez 05-02-2006 06:28 AM

Quote:

you need to dance counterclockwise around the router.
Unless he's in the Southern hemisphere.

bramley 05-02-2006 08:01 AM

Quote:

Originally Posted by hayne
Modern networking standards have tended towards avian utilization

Tests have shown that RFC1149 offers significant advantages over ADSL technologies.

Also there's an account of the as yet unadopted SNAP here

-Led Zeppelin 05-02-2006 07:11 PM

Ok now that I am connected to my router ip (the one above in my last post) what do I do now.

bored28 05-02-2006 08:14 PM

You basically do what you want. You should have several administrative functions available through the browser interface. You can set passwords, SSID's, WEP encryption, etc.... it depends on the router. What is it EXACTLY that you want to do ( please no general statements because when you log into a router, specifics become important).

(IP over Avian Carriers is the BEST TECHNOLOGY EVER)

schwartze 05-02-2006 09:40 PM

Quote:

Originally Posted by -Led Zeppelin
Ok now that I am connected to my router ip (the one above in my last post) what do I do now.

Congratulate yourself.

Click on a tab.
Choose an option.
Read the FAQs included with the router.

Ask a vague question.

Craig R. Arko 05-03-2006 10:13 AM

Under certain conditions, this might have actually been a useful thread.

I'll concur that reading the instructions for the equipment is very often a laudable goal.

Mikey-San 05-03-2006 10:20 AM

Sticking a router up your butt does not make you an admin.

tlarkin 05-03-2006 10:56 AM

Quote:

Originally Posted by voldenuit
just for one command, use sudo, for example:

sudo rm -rf /

(don't do that ! really don't ;) )

If you want to run a rootshell you need to enable the root user in NetInfo, but you really shouldn't until you're pretty sure you know what you're doing.


I used to have sudo rm -rf /* as my signature, then someone was asking what it did, so I decided to well, take it off:rolleyes:

Since Apple seems to have created their own group called "Admin" and given them sudo privlidges via /etc/sudoers

you can edit that file with a text editor (as root) however i would suggest leaving it there. This directory gives admin accounts root privlidges via sudo commands so really there is not much reason to have the root enabled on your mac.


All times are GMT -5. The time now is 06:55 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.