Operating System - HP-UX
1834746 Members
2862 Online
110070 Solutions
New Discussion

Creating a read-only profile user

 
Daniel Wajsman
Contributor

Creating a read-only profile user

Hello.
I need to create a new user with read-only profile,because I want it to have read-only X-terminal access when opening the NNM Openview,even though it??s his/her first session.
I can??t remember how to do so
Thanks for your help
be yourself
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: Creating a read-only profile user

chown bin:bin filename
chmod 444 filename


live free or die
harry
Live Free or Die
MANOJ SRIVASTAVA
Honored Contributor

Re: Creating a read-only profile user

Hi Daniel


Please create a normal user , and then change the permissions of the .profile to read only. In case you dont want the user to run commands then may be you can put a condition in /etc/profile which gets excuted whenver any user logs in ( not via ftp).


Manoj Srivastava