🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #3961

Re: Restricted shells in HP-UX 10.20 (rksh)

#3961
From: David DeVault
Date: Mon, 14 Jun 1999 00:00
27 lines
1758 bytes
What you could do is create 2 different .profiles and put them in a place where
users can not get to them ... and When you create a user, instead of creating or
copying a .profile, link it to the one that you allready have created.

                         Dave--

GoldBerg wrote:

> My scenario is:
>
> I have two separate type of users:  ITOE (Information Technology Office
> Employees) and regular users.  The ITOE users have full access to the
> environment.  All of the regular users have a restricted shell and when they
> log in, they see various information that I  have edited into their
> $HOME/.profile.  The problem I am having is that I have to copy a .profile
> that is specific to those users every time I add a user to the environmnet.
>
> My question(s) is/are:
>
> Is there an easier way to do this?
> Is there a way to specify where the .profile comes from?
>
> Thanks for your help.
>
> Please send responses to:
>
> thewavewon@geocities.com
Technical Details
Message-ID: <3765D04A.2B5B1838@mindspring.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7jlqhd$d93$1@news.rt66.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10183f,fe70065accaa0f2b
X-Google-Attributes: gid10183f,public
X-Google-Thread: 1020c6,fe70065accaa0f2b
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 1065ea,fe70065accaa0f2b
X-Google-Attributes: gid1065ea,public
From: David DeVault <devaultd@mindspring.com>
Subject: Re: Restricted shells in HP-UX 10.20 (rksh)
Date: 1999/06/14
Message-ID: <3765D04A.2B5B1838@mindspring.com>
X-Deja-AN: 489702165
Content-Transfer-Encoding: 7bit
References: <7jlqhd$d93$1@news.rt66.com>
X-Accept-Language: en
X-Server-Date: 15 Jun 1999 04:00:35 GMT
Content-Type: text/plain; charset=us-ascii
Organization: MindSpring Enterprises
Mime-Version: 1.0
Newsgroups: comp.unix.admin,alt.unix.wizards,ca.unix