1753425 Members
4948 Online
108793 Solutions
New Discussion юеВ

Re: 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 3
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