This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
/etc/profile, mk[passwd|group|group_l_d] messages
- From: "Morrison, John" <John dot Morrison at uk dot experian dot com>
- To: "'cygwin-apps at cygwin dot com'" <cygwin-apps at cygwin dot com>
- Date: Thu, 28 Aug 2003 13:55:43 +0100
- Subject: /etc/profile, mk[passwd|group|group_l_d] messages
Hi all,
Igor and I have been having a chat about the warning/error messages
which appear when there's something wrong with /etc/[passwd|group].
Here's what we are considering so far...
case "`id -ng`" in
mkpasswd )
echo "The /etc/passwd (and possibly /etc/group) files need to be
rebuilt."
echo "See the man pages for mkpasswd and mkgroup then, for example,
run"
echo "mkpasswd -l [-d] > /etc/passwd"
echo "mkgroup -l [-d] > /etc/group"
echo "as appropriate. Note that the -d switch is necessary for"
echo "domain users."
;;
mkgroup )
echo "The /etc/group (and possibly /etc/passwd) files need to be
rebuilt." echo "See the man pages for mkpasswd and mkgroup then,
for example, run" echo "mkpasswd -l [-d] > /etc/passwd"
echo "mkgroup -l [-d] > /etc/group"
echo "as appropriate. Note that the -d switch is necessary for"
echo "domain users." ;;
mkgroup_l_d )
echo "The /etc/group file doesn't contain the domain groups."
echo "See the man page for mkgroup and then, for example, run"
echo "mkgroup -l -d > /etc/group"
echo "as appropriate."
echo
echo "You can safely ignore this message"
echo "To stop it displaying, please edit /etc/profile"
;;
esac
but neither of us is 100% sure this is correct, Pierre, Corinna,
[anyone else ;) ] any comments/opinions?...
J.
==========================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF