🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #3963

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

#3963
From: Andrew Pearson
Date: Tue, 15 Jun 1999 00:00
47 lines
2549 bytes
(I see that you have had two replies to this already... with
the basics)

The other responders are correct as far as I know - you can
make the .profile a link to one of two standard ones you
keep - setting the permissions to stop them changing it, or
you might well benefit from some of the utilities HP give
you (is it useradd or adduser?) and using the file /etc/skel
to set up a default user. If you use useradd it can create
the home directory for you with the default .profile, you
can replace this with a link to the ITOE one (for instance)
where appropriate...

GoldBerg <none@nowhere.com> wrote in message
news:7jlqhd$d93$1@news.rt66.com...
> 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
>

--
Andrew Pearson - un animal avec beaucoup de fonctions
interactives. Parlez et riez ensemble. Il connait 800 mots
et bruits. R�agit � la lumi�re et au bruit. Ses movemements
sont tr�s r�alistes! Version anglais.
Technical Details
Message-ID: <7k6c3q$p5f$1@calais.pt.lu>
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
X-Google-Thread: 1065ea,fe70065accaa0f2b
X-Google-Attributes: gid1065ea,public
X-Google-Thread: 1020c6,fe70065accaa0f2b
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 10183f,fe70065accaa0f2b
X-Google-Attributes: gid10183f,public
From: "Andrew Pearson" <apearson@pt.lu>
Subject: Re: Restricted shells in HP-UX 10.20 (rksh)
Date: 1999/06/15
Message-ID: <7k6c3q$p5f$1@calais.pt.lu>
X-Deja-AN: 489989088
Content-Transfer-Encoding: 8bit
References: <7jlqhd$d93$1@news.rt66.com>
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: usenet@news.pt.lu
X-Trace: calais.pt.lu 929477562 25775 195.46.224.223 (15 Jun 1999 20:12:42 GMT)
Organization: Entreprise des P&T
X-MSMail-Priority: Normal
Mime-Version: 1.0
NNTP-Posting-Date: 15 Jun 1999 20:12:42 GMT
Newsgroups: comp.unix.admin,alt.unix.wizards,ca.unix