[X4U] 3 network questions

Charles Howse chowse at charter.net
Fri Dec 2 11:28:32 PST 2005


> The only problem I'm running into (other than I'm rust with *nix commands)
> is that I can seem to save the file, I've tried chmod to change the
> permissions but it seems that my Admin account isn't allowed to do that.
> I've also tried to su to root but it's not accepting this admin password
> either. I'm confused what I'm doing wrong.

You've tried every password you have in su?
You must enter root's password in su (note the dash, indicates a login shell
for the user).

[charles at larry:~]$ su -
Password:
[root at larry:~]#

If none of them work, you're sol.  Is this your installation on your
machine?

What groups are you a member of on your box?
[charles at larry:~]$ groups
charles appserveradm appserverusr admin

I'm a member of the admin group, which allows me to su to root.

Is the root user enabled in NetInfo Manager?
Applications/Utilities/NetInfo Manager
>From the menu, Security, Enable Root User, but that's going to ask you for
root's password.  :-)

> I'm also trying to change my hostconfig file per instructions and I'm having
> the same problem.

hostconfig?  You're quoting me below, and I said edit /etc/hosts.

[root at larry:~]# vi /etc/hosts

Don't know how to use vi?
Once you're in the hosts file, press the I key (lower case...dang Entourage
insists on capitalizing it) to begin editing.
When finished, press esc, then :wq to save and exit.
> 
> Any help on this new development?
> Thanks,
> -Colt
> 
> 
> On 12/1/05 12:38 PM, "Charles Howse" <chowse at charter.net> wrote:
> 
>>> Question 2, on a windows box I can ping servers called, one, two, and others
>>> just by typing 'ping one' in the command window. (They are internal servers)
>>> How do I do this on Mac?
>> 
>> You'll have to edit /etc/hosts to add the ip addresses.
>> $ man hosts  should tell you everything you need to know.
>> Mine looks like this:
>> 
>> ##
>> # Host Database
>> #
>> # localhost is used to configure the loopback interface
>> # when the system is booting.  Do not change this entry.
>> ##
>> 127.0.0.1       localhost
>> 255.255.255.255 broadcasthost
>> ::1             localhost
>> 192.168.254.4   moe
>> 192.168.254.5   shemp
>> 
>> I added the moe and shemp lines for the other boxes on my lan.
>> 
>> [charles at larry:~]$ ping -c 1 shemp
>> PING shemp (192.168.254.5): 56 data bytes
>> 64 bytes from 192.168.254.5: icmp_seq=0 ttl=64 time=0.857 ms
>> 
>> --- shemp ping statistics ---
>> 1 packets transmitted, 1 packets received, 0% packet loss
>> round-trip min/avg/max/stddev = 0.857/0.857/0.857/0.000 ms
 




More information about the X4U mailing list