1834746 Members
2793 Online
110070 Solutions
New Discussion

Creating a user

 
SOLVED
Go to solution
Daniel Wajsman
Contributor

Creating a user

Hello.
Does anybody know the command I have to use to add a new user,and how I modify his/her profile in order to make him/her read-only?
When I log in to the NMM Openview Server with this user ,will the session be read-only due to user which have opened it,or could it be a read-write session even though the user profile is read-only?
Thanks a lot
be yourself
2 REPLIES 2
Clemens van Everdingen
Honored Contributor

Re: Creating a user

HI,

You can use SAM to add a user to your system.

For NNM/ITO you can specifiy the user right within the software itself.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Wodisch
Honored Contributor
Solution

Re: Creating a user

Hi Daniel,

there is no concept of "read-only" for UNIX-users (well, AFAIK - only 20something years of UN*X experience on my side...)

But if you do NOT give that new user a "shell" you should be fine. The command is "sam" (for the menu-version) or "useradd" (for the command-line):

useradd -m -s /usr/bin/rsh joe

will create user "joe" with a restricted shell.
The ".xsession" for that user could minimally look like this (to start the ITO operator Motif-GUI automatically when "joe" logs in):

#!/usr/bin/rsh
/opt/OV/bin/OpC/opc -user
exec mwm


I ITO the administrator (opc_adm) has to "add" the new user to the "ITO User Bank" and in those dialogs can specify wether that user is permitted to modify messages, and/or to acknowledge messages or not, which "Applications" the user can use, for which "Managed Nodes" the user is responsible, and more...

HTH,
Wodisc