08-29-2004
Check the permissions of the user running the script. If it is not that, you will need to post your script for us to give you an answer.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Need Help,
I am new in unix. (AIX UNIX - RS 6000).
I need a unix script to be able to change a unix password
by just passing the user id and the new password.
I need this script for the reason that my unix password
should be the same on my applicatiion... (2 Replies)
Discussion started by: randyth
2 Replies
2. UNIX for Advanced & Expert Users
System Parameters:
maximum number of processes = 2048
Network parameters:
ipqmaxlen - 512
rfc1323 - 1
sb_max - 1310720 (2*655360)
tcp_recvspace - 65536
tcp_sendspace - 65536
Udp_recvspace - 655360
Udp_sendspace 65536 (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies
3. UNIX for Dummies Questions & Answers
I'm not knowledgeable about UNIX and I have a question.
I'm an IT Auditor and I'm looking for my client's User Profile password settings. In some versions of UNIX it is in the etc/profile or etc/login files but in SCO and HP UNIX it is in a different file. Does anyone know which file?
Thanks (1 Reply)
Discussion started by: kristleigh
1 Replies
4. AIX
Hi
I want to create a user on AIX box. The only problem I have is I want to set it a password and the user doesn't have to change the password at his initial login. Is there any flag to do that. Any help would be appreciated. (6 Replies)
Discussion started by: bandaru
6 Replies
5. AIX
Hello,
How can I setup the ulimit for memory permanent
ulimit -m unlimited
ulimit -a Output from the ulimit command should be similar to the following:time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 32768... (4 Replies)
Discussion started by: filosophizer
4 Replies
6. AIX
Hi,
My server is an AIX server. Whenever a new user is created through smitty,
the first time he logs in, he has to change his password.
But i want to disable it and to enable the password expiry to a month. (i.e) after every month, he has to change his password.
Any help in this matter... (1 Reply)
Discussion started by: mac4rfree
1 Replies
7. AIX
Hi guys.... I found in basement one functional ThinkPad Power Series 850 from my father, unfortunately he is forgotten username and password for operating system (AIX 4.14) :wall:.
if anyone has any idea how to get in? (2 Replies)
Discussion started by: Alfons_x
2 Replies
8. AIX
Hi Guy's
Just I want to know the default settings of security password in AIX there is some changes happened in my machine when I try to change my password I'm getting this message
Changing password for "root"
root's New password:
a minimum of 1 elapsed week between changes.... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
9. AIX
I am try to tuning a parameter in AIX 5L and 6 (for performance issue.)
I find a link(https://forums.oracle.com/forums/thread.jspa?threadID=886358)
The thread mention two parameter below, I can use "ndd" command to tuning.
tcp_deferred_ack_interval = 2
tcp_deferred_ack_max = 2
but I... (3 Replies)
Discussion started by: nnnnnnine
3 Replies
10. AIX
Hi,
we've a gigabit Ethernet adapter. And we wanted to improve the performance by tuning network parameters. so' as per IBM info center,
http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fnetw_opt.htm
we tried changing the tuning... (2 Replies)
Discussion started by: System Admin 77
2 Replies
LEARN ABOUT DEBIAN
pam_selinux
PAM_SELINUX(8) Linux-PAM Manual PAM_SELINUX(8)
NAME
pam_selinux - PAM module to set the default security context
SYNOPSIS
pam_selinux.so [close] [debug] [open] [nottys] [verbose] [select_context] [env_params] [use_current_range]
DESCRIPTION
In a nutshell, pam_selinux sets up the default security context for the next execed shell.
When an application opens a session using pam_selinux, the shell that gets executed will be run in the default security context, or if the
user chooses and the pam file allows the selected security context. Also the controlling tty will have it's security context modified to
match the users.
Adding pam_selinux into a pam file could cause other pam modules to change their behavior if the exec another application. The close and
open option help mitigate this problem. close option will only cause the close portion of the pam_selinux to execute, and open will only
cause the open portion to run. You can add pam_selinux to the config file twice. Add the pam_selinux close as the executes the open pass
through the modules, pam_selinux open_session will happen last. When PAM executes the close pass through the modules pam_selinux
close_session will happen first.
OPTIONS
close
Only execute the close_session portion of the module.
debug
Turns on debugging via syslog(3).
open
Only execute the open_session portion of the module.
nottys
Do not try to setup the ttys security context.
verbose
attempt to inform the user when security context is set.
select_context
Attempt to ask the user for a custom security context role. If MLS is on ask also for sensitivity level.
env_params
Attempt to obtain a custom security context role from PAM environment. If MLS is on obtain also sensitivity level. This option and the
select_context option are mutually exclusive. The respective PAM environment variables are SELINUX_ROLE_REQUESTED,
SELINUX_LEVEL_REQUESTED, and SELINUX_USE_CURRENT_RANGE. The first two variables are self describing and the last one if set to 1 makes
the PAM module behave as if the use_current_range was specified on the command line of the module.
use_current_range
Use the sensitivity level of the current process for the user context instead of the default level. Also suppresses asking of the
sensitivity level from the user or obtaining it from PAM environment.
MODULE TYPES PROVIDED
Only the session module type is provided.
RETURN VALUES
PAM_AUTH_ERR
Unable to get or set a valid context.
PAM_SUCCESS
The security context was set successfully.
PAM_USER_UNKNOWN
The user is not known to the system.
EXAMPLES
auth required pam_unix.so
session required pam_permit.so
session optional pam_selinux.so
SEE ALSO
pam.conf(5), pam.d(5), pam(7)
AUTHOR
pam_selinux was written by Dan Walsh <dwalsh@redhat.com>.
Linux-PAM Manual 08/31/2010 PAM_SELINUX(8)