I don't mind them too much when they ask intelligent and probing questions. I worry when they just ask for /etc/passwd and the shadow then nit-pick over saying that they can read the password, e.g. AIX has /etc/security/passwd with a format like:
Of course, they never actually try to login with the encrypted password to prove it.
I have even fed them a little nugget or two when I've been prevented from doing the right thing because someone didn't plan properly and that gets the profile raised and hopefully the issue fixed.
It's a bit of a game to keep us on our toes and them justifying their job.
Hi - I want to log commands typed by oraapps user with time into some log file on runtime.
HISTTIMEFORMAT="%d/%m/%y %T " works but any one with oraapps user can delete the history.
OS : RHEl 5.6
Any help is appreciated. (5 Replies)
Hi Admins,
As per my knowledge there are two types of user accounts in unix. root and normal users.
If there are any user types for which we can give some priviledges..?
Actually i want to restrict root access and create new accounts for admins with some of the priviledges.
Please let me... (6 Replies)
Hi, guys. I have two questions:
I need to write a script, which can show all the non-suspended users on system, and suspend the selected user account.
There are two things I am not sure:
1. How can I suspend user's account? What I think is: add a string to the encrypted password in shadow... (2 Replies)
hi all, i m tryin to create a new account on the unix work station. do i use 'useradd' command? can u guyz advice on the usage of 'useradd' command as it can comes with 'useradd -D' or 'useradd -e'
thanks :confused: (1 Reply)
USERDEL(8) System Manager's Manual USERDEL(8)NAME
userdel - Delete a user account and related files
SYNOPSIS
userdel [-r] login
DESCRIPTION
The userdel command modifies the system account files, deleting all entries that refer to login. The named user must exist. The options
which apply to the userdel command are:
-r Files in the user's home directory will be removed along with the home directory itself and the user's mail spool. Files located in
other file systems will have to be searched for and deleted manually.
FILES
/etc/passwd - user account information
/etc/shadow - secure user account information
/etc/group - group information
CAVEATS
userdel will not allow you to remove an account if the user is currently logged in. You must kill any running processes which belong to an
account that you are deleting. You may not remove any NIS attributes on an NIS client. This must be performed on the NIS server.
SEE ALSO chfn(1), chsh(1), passwd(1), groupadd(8), groupdel(8), groupmod(8), useradd(8), usermod(8)AUTHOR
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
USERDEL(8)