Local.profile in /etc/skel ??

From: Shaw, Matthew (Matt.Shaw@xwave.com)
Date: Thu Jun 19 2003 - 14:08:52 EDT


Folks,

I have a minor issue that I was wondering if someone could shed some
light on. I would never have noticed but there is a new fellow on my
team that is going through the Solaris certification process.
Essentially he came across an exercise in Sun's Certification Study
Guide that teaches how /etc/skel works by going through a series of
steps. The exercise doesn't seem to work properly and I'm wondering if
it's a version/configuration/user problem or a problem in the
implementation or documentation. It's also something else that I have
noticed through the years and just ignored as a quirk. Anyhow, here it
is:

In /etc/skel there are three files: local.login, local.cshrc,
local.profile

The documentation for the Solaris certification indicates that to
customize the environment for new users, you should edit
/etc/skel/local.* and when you create the user (with admintool or
useradd) the file will be copied over as the user's .profile, .cshrc, or
.login. The problem is that (as I would normally expect) when you create
the user useradd/admintool only copies 'local.profile' to the user's
home directory, not to ~/.profile (as it should be according to the
documentation) In the certification manual's exercise it continues as if
this is what happens (IE: it assumes that changes you made to
local.profile have been propagated to the new user's environment).

Am I missing something? I personally don't understand the point of
/etc/skel/local.*. In the past I personally have simply removed these
files and edited .profile (or .login, .cshrc, etc) in this directory
instead but maybe there's a reason for them that is not visible to me.

Anybody have any clues on this one?

Thanks
Matt Shaw
Technical Architect
xwave, An Aliant Company
Bus: 506-389-4641 (Mctn)
Bus: 506-444-9639 (Fred)
Cel: 506-863-8949
matt.shaw@xwave.com

-----Original Message-----
From: ahaukin@hushmail.com [mailto:ahaukin@hushmail.com]
Sent: Thursday, June 19, 2003 2:33 PM
To: sunmanagers@sunmanagers.org
Subject: in.rarpd problem with jumpstart

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi managers,

I have a 'known good' jumpstart server on a subnet. It has installed
numerous clients locally and on an extension to the subnet in another
building.

I have a client, an e250, that I need to install, hostname Israel.

On the jumpstart server:-

# cat /etc/netmasks
10.69.2.0 255.255.254.0

# cat /etc/ethers | grep israel
0:3:ba:2:e6:2c israel

# ^ethers^hosts
 cat /etc/hosts | grep israel
10.69.2.202 israel

# pwd
/jumpstart/OS/Solaris_8_2002_02/Solaris_8/Tools

# ./add_install_client israel sun4u
cleaning up preexisting install client "israel"
removing israel from bootparams
starting rarpd
updating /etc/bootparams

..issue a 'boot net - install' on client and it can't get beyond
'Timeout waiting for ARP/RARP packet'. So I tried snooping, and could
see the packets arriving at the jumpstart server and getting ignored:

# !snoop
snoop 0:3:ba:2:e6:2c
Using device /dev/hme (promiscuous mode)
OLD-BROADCAST -> (broadcast) RARP C Who is 0:3:ba:2:e6:2c ?
OLD-BROADCAST -> (broadcast) RARP C Who is 0:3:ba:2:e6:2c ?

..and so on. So I started up rarpd in debug mode, and got the
following:-

# /usr/sbin/in.rarpd -d -a
/usr/sbin/in.rarpd:[1] device hme0 ethernetaddress 8:0:20:b0:78:18
/usr/sbin/in.rarpd:[1] device hme0 address 10.69.2.245
/usr/sbin/in.rarpd:[1] device hme0 subnet mask 255.255.254.0
/usr/sbin/in.rarpd:[5] starting rarp service on device hme0 address
8:0:20:b0:78:18 /usr/sbin/in.rarpd:[5] RARP_REQUEST for 0:3:ba:2:e6:2c
/usr/sbin/in.rarpd:[5] trying physical netnum 10.69.2.0 mask fffffe00
/usr/sbin/in.rarpd:[5] got host entry but no IP address on this net

Can anyone help me with what this means?

Thanks

Ahau K'in

PS Will summarize when a solution is found

PPS More information can be provided if required.

-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.3

wkYEARECAAYFAj7x89MACgkQ7F/YCIy3rWG4hQCeK0WojCPfWfJWdOJpQDVlwZ0Fu4kA
oIlzPmj3BDDsMtqkovY5R5o+fC2p
=LeTk
-----END PGP SIGNATURE-----

Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Big $$$ to be made with the HushMail Affiliate Program:
https://www.hushmail.com/about.php?subloc=affiliate&l=427
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:37 EDT