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 CENTOS
amzfs-snapshot
AMZFS-SNAPSHOT(8) System Administration Commands AMZFS-SNAPSHOT(8)
NAME
amzfs-snapshot - Amanda script to create zfs snapshot
DESCRIPTION
amzfs-snapshot is an Amanda script implementing the Script API. It should not be run by users directly. It create a zfs snapshot of the
filesystem where the path specified is mounted.
PRE-DLE-* create a snapshot and the POST-DLE-* destroy the snapshot, *-DLE-AMCHECK, *-DLE-ESTIMATE and *-DLE-BACKUP must be set to be
executed on the client:
execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup
execute-where client
The PRE_DLE_* script output a DIRECTORY property telling where the directory is located in the snapshot. The application must be able to
use the DIRECTORY property, amgtar can do it.
The script is run as the amanda user, it must have the priviledge to create and destroy snapshot:
zfs allow -ldu AMANDA_USER mount,snapshot,destroy FILESYSTEM
Some system doesn't have "zfs allow", but you can give the Amanda backup user the rights to manipulate ZFS filesystems by using the
following command:
usermod -P "ZFS File System Management,ZFS Storage Management" AMANDA_USER
This will require that your run zfs under pfexec, set the PFEXEC property to YES.
The format of the DLE must be one of:
Desciption Example
---------- -------
Mountpoint /data
Arbitrary mounted dir /data/interesting_dir
ZFS pool name datapool
ZFS filesystem datapool/database
ZFS logical volume datapool/dbvol
The filesystem must be mounted.
PROPERTIES
This section lists the properties that control amzfs-snapshot's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
DF-PATH
Path to the 'df' binary, search in $PATH by default.
ZFS-PATH
Path to the 'zfs' binary, search in $PATH by default.
PFEXEC-PATH
Path to the 'pfexec' binary, search in $PATH by default.
PFEXEC
If "NO" (the default), pfexec is not used, if set to "YES" then pfexec is used.
EXAMPLE
In this example, a dumptype is defined to use amzfs-snapshot script to create a snapshot and use amgtar to backup the snapshot.
define script-tool amzfs_snapshot {
comment "backup of zfs snapshot"
plugin "amzfs-snapshot"
execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup
execute-where client
#property "DF-PATH" "/usr/sbin/df"
#property "ZFS-PATH" "/usr/sbin/zfs"
#property "PFEXEC-PATH" "/usr/sbin/pfexec"
#property "PFEXEC" "NO"
}
define dumptype user-zfs-amgtar {
dt_amgtar
script "amzfs_snapshot"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 AMZFS-SNAPSHOT(8)