- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to include controlM agent startup at /etc/...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 02:40 AM
тАО07-16-2009 02:40 AM
Re: how to include controlM agent startup at /etc/inittab file
As Berd Suggested use same,we are also using the same in our setup.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 02:49 AM
тАО07-16-2009 02:49 AM
Re: how to include controlM agent startup at /etc/inittab file
I added my startup script at /sbin/rc3.d and my shutdown script at /sbin/rc0.d.
Problem is I cant change the permission of my shutdown script in /sbin/rc0.d
My default umask is
root:/sbin/rc0.d> umask -S
u=rwx,g=rx,o=rx
my current file permission:
l---r-xr-x 1 root sys 50 Jul 16 18:28 K891ctm-agent-shut.sh -> /home/ctmagent/Agent/ctm/scripts/ctm-agent-shut.sh
I want to change it to "755," but chmod is not working on this one.
TIA!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 02:55 AM
тАО07-16-2009 02:55 AM
Re: how to include controlM agent startup at /etc/inittab file
Firstly unlink it then change the permission to 755 and then again link it.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 02:57 AM
тАО07-16-2009 02:57 AM
Re: how to include controlM agent startup at /etc/inittab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 03:33 AM
тАО07-16-2009 03:33 AM
Re: how to include controlM agent startup at /etc/inittab file
> l---r-xr-x 1 root sys 50 ...
> I want to change it to "755," but chmod is not working on this one.
You can't change the link's permissions. The permissions for the link are set based on the current value for umask at the time you created the link but have no effect on the target (/sbin/init.d). You can remove the link, change umask to 022 and then recreate it -- but it does not change the target. A symbolic link is just a pointer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 03:45 AM
тАО07-16-2009 03:45 AM
Re: how to include controlM agent startup at /etc/inittab file
Basically you cant change the permissions of link.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 04:33 AM
тАО07-16-2009 04:33 AM
Re: how to include controlM agent startup at /etc/inittab file
-h If the file is a symbolic link, change the mode of the link itself rather than the file that the link points to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 04:46 AM
тАО07-16-2009 04:46 AM
Re: how to include controlM agent startup at /etc/inittab file
chown(2) has a -h option but I don't see it for chmod(2)??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 08:30 AM
тАО07-16-2009 08:30 AM
Re: how to include controlM agent startup at /etc/inittab file
chmod -- change file modes or Access Control Lists
SYNOPSIS
chmod [-fv] [-R [-H | -L | -P]] mode file ...
chmod [-fv] [-R [-H | -L | -P]] [-a | +a | =a] ACE file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E] file ...
chmod [-fhv] [-R [-H | -L | -P]] [-C] file ...
chmod [-fhv] [-R [-H | -L | -P]] [-N] file ...
DESCRIPTION
The chmod utility modifies the file mode bits of the listed files as
specified by the mode operand. It may also be used to modify the Access
Control Lists (ACLs) associated with the listed files.
The generic options are as follows:
-f Do not display a diagnostic message if chmod could not modify the
mode for file.
-H If the -R option is specified, symbolic links on the command line
are followed. (Symbolic links encountered in the tree traversal
are not followed by default.)
-h If the file is a symbolic link, change the mode of the link
itself rather than the file that the link points to.
-L If the -R option is specified, all symbolic links are followed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 08:46 AM
тАО07-16-2009 08:46 AM
Re: how to include controlM agent startup at /etc/inittab file
itself rather than the file that the link points to."
ok, I can find that for AIX, some AT&T style systems, but nothing like that on hpux 10.20, or any 11.xx variant.
so, what OS'es man page is that????