Sponsored Content
Operating Systems HP-UX How to set variable for users with no home directory? Post 303026950 by Peasant on Wednesday 5th of December 2018 11:40:56 AM
Old 12-05-2018
I'm sure if a user did malicious things, he would delete the history file or forge it easily.
History is not auditing.

Only why to track that is by employing auditing, which i never turned on on HPUX v3.
But i did find a document describing it with a lot of information.
https://support.hpe.com/hpsc/doc/pub...r_na-c02899022

Be careful playing with audit, do not just do it on production systems, use test systems first.
Audit configuration requires careful planning and implementation.

Hope that helps.
Regards
Peasant.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Restrict users to ther home directory

Hello! I want users in a certain group to be restricted to their home directory. So that they have full access to all files and folders in their home directory but the cant go to any directory above. Does anyone know how to do this? Anders (1 Reply)
Discussion started by: alfabetman
1 Replies

2. Programming

Monitor which users enter my home directory

Hi, I would like to monitor which users enter my home directory. Is it possible to write a script or code to do this. I donot have admin privileges. I have given read permissions to access my home directory. Any pointers in this direction is helpful! Thanks, Pradeep Ps: I use the... (1 Reply)
Discussion started by: mnpradeep
1 Replies

3. UNIX for Dummies Questions & Answers

Profiles for users without home directory

Hi I want to know which profile will be called when a user without home directory is created. When I created a user without home directory(by setting in /etc/default/useradd), the user is able to login directly into the main "/" folder but with only read permissions. Thanks naina (3 Replies)
Discussion started by: naina
3 Replies

4. UNIX for Dummies Questions & Answers

Home Directory Jail for Users

Hi, I am looking for a shell script (or any other way), that puts a user in a home directory jail. So for example, I have a user named richard and I don't want him wandering outside /usr/users/richard. I don't want him to cd to anywhere including cd .. Somebody said you can do that with... (3 Replies)
Discussion started by: mz043
3 Replies

5. UNIX for Dummies Questions & Answers

lost /home/directory for users

I'm using HPUX 11i. The other day a user logon to the workstation and was not able to find the /home/directory (tom is the directory) I login myself and it is the same thing. The home directory is on the server, so I was thinking of using sam to map it again. does anyone know how to do it... (5 Replies)
Discussion started by: blizzgamer
5 Replies

6. Solaris

find home directory paths for all users

How to find al the user's home directories? (2 Replies)
Discussion started by: a2156z
2 Replies

7. Solaris

Common Home directory for different users??

Hi Guys, I have a problem with configuring a server. this is a solaris 10 with sparc platform. I have setup so that the server is Authenticating through NIS but I dont want the server to Mount the Home directories. The users need to logged in through the CDE/display. I have over 200 users... (2 Replies)
Discussion started by: Luky
2 Replies

8. Shell Programming and Scripting

script to check for a directory in /home for all users

Following on from this post: https://www.unix.com/shell-programming-scripting/150201-simple-script-mount-folder-all-users-home.html and getting told off for bumping the thread:( Please could someone help me with a short script to check is a certain directory is present in /home for all users... (8 Replies)
Discussion started by: barrydocks
8 Replies

9. UNIX for Dummies Questions & Answers

Unix set home directory

Hi I've just made a directory, what command do I use to now make it the base directory? Thanks!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: beckywatson
1 Replies

10. UNIX for Advanced & Expert Users

Permissions on a directory in /home for all users

Hi, I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions. I did this using chmod -R g+rwx /home/shared/ The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies
audevent(1M)															      audevent(1M)

NAME
audevent - change or display profile, event, or system call audit status SYNOPSIS
profile] event]... syscall]... DESCRIPTION
changes or displays the auditing status of the given profile, event categories, or system calls. A list of pre-defined profiles, event categories, and system call names is given in Any site-specific customizations must be added to See audit.conf(4) for more details. A pro- file consists of a set of operations (event categories, self-auditing events, and system calls) that affect a particular type of system. An event category consists of a set of operations (self-auditing events and system calls) that affect a particular aspect of the system. If neither nor is specified, the current status of the selected profiles, event categories, or system calls is displayed. If the option is supplied, it is redundant to use to specify particular events. This also applies in the same way to the and options. If no event category is specified, all event categories associated with the selected profile are selected. If no system call is specified, all system calls associated with the selected profile and event categories are selected. At most one profile may be selected. takes effect immediately. However, the events and system calls specified are audited only when called by a user currently being audited (see audit(5)). If is specified, a list of valid profiles, event categories and system calls are displayed. This option may be helpful when deciding which profile, event, or syscall to use with the or options respectively. The same information can also be found in (see audit.conf(4)). Note: The set of audited system calls and corresponding audit events will change as HP-UX continues to evolve. Only a privileged user can change or display audit status. Options recognizes the following options and command-line arguments: Audit successful events or system calls. Do not audit successful events or system calls. Audit failed events or system calls. Do not audit failed events or system calls. Select profile to change or display. Select all events to change or display. Select event to change or display. The event must be a valid event category (base event or event alias) that is defined in or Select all system calls to change or display. Select syscall to change or display. The syscall must be a valid system call name or system call alias name that is defined in or Display a list of valid profiles, event categories, and system calls. This option must not be used with any other options. The following is a list of the pre-defined event types or categories: Object creation. For example: file creation, directory creation, and other object creation. Object deletion. For example: file deletion, directory deletion, and other object deletion. Discretionary access control (DAC) information reading events. DAC modification events. Non-DAC modification events. Object opening. For example: file open and other object open. Object closing. For example: file close and other object close. Process operations. Removable media events. For example: mounting and unmounting events. Login and logout events not related to any particular system call. All administrative and privileged events. Interprocess Communication (IPC) object creation. IPC object opening. IPC object deletion. IPC Datagram transactions. User-defined event 1 (for self-auditing records). User-defined event 2 (for self-auditing records). User-defined event 3 (for self-auditing records). EXAMPLES
Example 1: To display the list of valid profiles, event categories, and system calls as defined in file and use: Example 2: To display the current audit event selection status, use: The selection status for self-auditing events will be listed first, followed by the selection status for system calls. Example 3: To audit all and only the events that are associated with profile basic for auditing, use: Example 4: To audit all bad login attempts, use: Without doing a first, this configuration will be made incremental to what has already been configured before. WARNINGS
All modifications made to the auditing system are lost upon reboot. To make the changes permanent, set or in AUTHOR
was developed by HP. FILES
File containing event mapping information File containing site-specific event mapping information. SEE ALSO
audisp(1M), audomon(1M), audsys(1M), audusr(1M), audit.conf(4), audit(5). audevent(1M)
All times are GMT -4. The time now is 06:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy