11-28-2017
Security hardening for standard HP-UX users
Hi,
The standard accounts that are created during the HP-UX installation, eg, bin,adm,daemon,uucp,lp,hpdb and nobody have their own shell.
Will there be any impact if we change these user's shell to /bin/false?
Like processes get interrupted, files cannot be generated, etc.
Regards
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gang,
Running a script in AIX 5.3. Users wanted me to add a "confirm you want to run script, enter 'y' or 'n'" kind of thing... here is what I came up with:
#!/bin/sh
myfile=`basename "$1"`
dateNow=`date "+%m.%d.%Y.%H.%M.%S"` # Get current date
mydatedfile=$myfile.$dateNow... (2 Replies)
Discussion started by: yall
2 Replies
2. Solaris
What do we need to do to harden a freshly installed solaris OS? like disable telnet, no ftp for root etc...What all services you need to stop? How to check what ports are open? etc etc....please provide all tips that come to your mind...thanks:) (5 Replies)
Discussion started by: rcmrulzz
5 Replies
3. Shell Programming and Scripting
Hi there
how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Discussion started by: hcclnoodles
5 Replies
4. UNIX for Dummies Questions & Answers
Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway?
Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies
5. UNIX for Dummies Questions & Answers
Hi Everyone,
When I runthe query in ssh shell sudo cat /etc/security/user , I see half of the users cut down from the display screen. what I want to do is using the somthing like "pop" that when I hit the enter key every time the screen should move to the next user? does some one has any idea how... (4 Replies)
Discussion started by: starter2011
4 Replies
LEARN ABOUT SUNOS
uucheck
uucheck(1M) System Administration Commands uucheck(1M)
NAME
uucheck - check the uucp directories and permissions file
SYNOPSIS
/usr/lib/uucp/uucheck [-v] [-x debug-level]
DESCRIPTION
uucheck checks for the presence of the uucp system required files and directories. uucheck also does error checking of the Permissions file
(/etc/uucp/Permissions).
uucheck is executed during package installation. uucheck can only be used by the super-user or uucp.
OPTIONS
The following options are supported:
-v Give a detailed (verbose) explanation of how the uucp programs will interpret the Permissions file.
-x debug-level Produce debugging output on the standard output. debug-level is a number from 0 to 9. Higher numbers give more detailed
debugging information.
FILES
/etc/uucp/Devices
/etc/uucp/Limits
/etc/uucp/Permissions
/etc/uucp/Systems
/var/spool/locks/*
/var/spool/uucp/*
/var/spool/uucppublic/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbnuu |
+-----------------------------+-----------------------------+
SEE ALSO
uucp(1C), uustat(1C), uux(1C), uucico(1M), uusched(1M), attributes(5)
BUGS
The program does not check file/directory modes or some errors in the Permissions file such as duplicate login or machine name.
SunOS 5.10 18 May 1993 uucheck(1M)