HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Unix User

 
SOLVED
Go to solution
toni osta
Frequent Advisor

Create Unix User

hi ,

I need to create a unix user , user will be used to log in and collect the warning alerts

i already create the user using SAM , but i want to know in which specific group should i put it , did the group sys could be enough or it should be root group

Thank you
3 REPLIES
Robert Salter
Respected Contributor
Solution

Re: Create Unix User

Toni,

What type of alerts are you looking for this user to collect? They could be part of the users group and still be able to see the /var/adm/syslog/syslog.log file, which is where most alerts go to.

I definitely wouldn't want a user to be part of the root group nor sys. You could create a new group and put them in there and it would be seperate from any other group.

Regards,

robert
Time to smoke and joke
f. halili
Trusted Contributor

Re: Create Unix User

Hello,

A regular user can can check the system messages:

$ cat /var/adm/syslog/syslog.log

For the dmesg you can create a cron to dump the dmesg output to a file and make sure to change it's permissions so a regular user has read access to it.

0,15,30,45 * * * * /sbin/dmesg >> /var/adm/messages 2>&1


Cheers,
f. halili
derekh
Johnson Punniyalingam
Honored Contributor

Re: Create Unix User

Hi Toni,

/var/adm/syslog/syslog.log file. Other's are give permission to the log file,

You No need to add the User to group sys,


Thanks,
Johnson
Problems are common to all, but attitude makes the difference