🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #627

re: Default .profile in SCO Xenix

#627
From: Grad
Date: Thu, 30 Mar 1989 02:58
21 lines
1492 bytes
> First, when mkuser is used to add user accounts in SCO Xenix, a default 
> .profile is set up for them.  Where is this default file stored so I can 
> change it instead of having to customize .profile for every user?

I dug through the manuals and found the answer myself.  I'm posting it here
to benefit other SCO Xenix users.  The default profile is in the directory
/usr/lib/mkuser/<shell>, where <shell> is the shell being used (sh, csh,
etc.)  In the case of the Bourne shell, which I'm using, the default profile
is in /usr/lib/mkuser/sh/profile.  For the C shell, it's in
/usr/lib/mkuser/csh/login.

> Also, When you create a login with mkuser, it sends that user mail saying 
> "Welcome to Xenix."  Is there a way to disable that?

In the same directory as above is a shell script called mkuser.init.  This
script performs most of mkuser's dirty work such as creating the user's home
directory and startup files (.profile or .login).  This script also sends the
above-mentioned mail.  I commented out the offending section of the script
and voila!  No more junk mail.

          --->>> Graddy <<<---   (Grad@cup.portal.com)
Technical Details
Message-ID: <956@altos86.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!pyramid!nsc!icldata!altnet!altos86!dtynan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!pyramid!nsc!icldata!altnet!altos86!dtynan
From: Grad@cup.portal.com
Newsgroups: comp.unix
Subject: re: Default .profile in SCO Xenix
Message-ID: <956@altos86.UUCP>
Date: 30 Mar 89 02:58:47 GMT
Sender: dtynan@altos86.UUCP
Lines: 21
Approved: dtynan@zorba.Tynan.COM