09-11-2009
Install sudo and allow that user to execute the control command (/etc/init.d/whatever) without the need for a password.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, guys, I've met a problem when print some file on the printer.
it says: "no deamon present"
the system is solaris 4.1.4
i can't find reference on the docs.sun.com
so, what can I do about this?
Thanks a lot. (1 Reply)
Discussion started by: cloudsmell
1 Replies
2. UNIX for Advanced & Expert Users
hi
how to write deamon program
i specified in detail i want to write c++ program when it run it run like deamon process (1 Reply)
Discussion started by: munnu
1 Replies
3. AIX
How will we check whether error deamon is started or not? any command is there? If it is not started how will we start the deamon. This server is highly critical server.
Pls, Let me know.
Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies
4. Shell Programming and Scripting
Hi experts,
I haved checked dir /etc/xinetd.d and there are no ftp and telnet files
in this dir
It means that the deamon's for ftp and telnet has not been installed on
my server or OS.
But,my question is in the same folder /etc/xinetd.d i have got files like:
echo netstat ....
so, How... (1 Reply)
Discussion started by: salil2012
1 Replies
5. UNIX for Dummies Questions & Answers
Hi experts,
I haved checked dir /etc/xinetd.d and there are no ftp and telnet files
in this dir
It means that the deamon's for ftp and telnet has not been installed on
my server or OS.
But,my question is in the same folder /etc/xinetd.d i have got files like:
echo netstat ....
so,... (1 Reply)
Discussion started by: salil2012
1 Replies
6. HP-UX
how to know if ntp deamon is start or stop
how to determine it
by command
thanks (1 Reply)
Discussion started by: alert0919
1 Replies
7. AIX
we have several deamon processes which were killed for some unknown reasons. we have to bring the deamon back manually everytime. Deamons running on 2 identical instances. It is ok on one instance but be killed 3 or 4 times a day on another. Any idea how to monitor it? like who/how the processes be... (3 Replies)
Discussion started by: hamiltonhall
3 Replies
8. Linux
I have install centos on my server,.. then after rebooting 2 ,3 times , hal deamon cannot start, and system hang on boot.. when i google, i found the solution which is off the hal daemon service... my question is, what is the effect if i off the deamon service ?:confused:
tq (2 Replies)
Discussion started by: ultramen7
2 Replies
9. Red Hat
Hi All,
in my server i configured like below
define(`SMART_HOST', `mapper.mail.domain.com')dnl
dnl FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`relay_based_on_MX')dnl
we have enabled smart host
and als o relay based mx
vi /etc/sysconfig/sednamil
DAEMON=no
... (0 Replies)
Discussion started by: venikathir
0 Replies
10. AIX
Hello,
In my HACMP cluster in 2 nodes, on active node, I have a core generated , so in errpt errors, I see BC3BE5A3 and the Failing Module is "clconfd" because "caavg_private" exists in this active node.
This deamon "clconfd" is inoperative.
Should I restart this deamon dynamically ?
Do... (2 Replies)
Discussion started by: LoLo92
2 Replies
LEARN ABOUT DEBIAN
0store-secure-add
0STORE-SECURE-ADD(1) 0STORE-SECURE-ADD(1)
NAME
0store-secure-add -- add an implementation to the system cache
SYNOPSIS
0store-secure-add DIGEST
DESCRIPTION
This command imports the current directory into the system-wide shared Zero Install cache, as /var/cache/0install.net/implementa-
tions/DIGEST. This allows a program downloaded by one user to be shared with other users.
The current directory must contain a file called '.manifest' listing all the files to be added (in the format required by DIGEST), and this
file must have the given digest. If not, the import is refused. Therefore, it is only possible to add a directory to the cache if its name
matches its contents.
It is intended that it be safe to grant untrusted users permission to call this command with elevated privileges. To set this up, see
below.
SETTING UP SHARING
To enable sharing, the system administrator should follow these steps:
Create a new system user to own the cache:
adduser --system zeroinst
Create the shared directory, owned by this new user:
mkdir /var/cache/0install.net
chown zeroinst /var/cache/0install.net
Use visudo(8) to add these lines to /etc/sudoers:
Defaults>zeroinst env_reset,always_set_home
ALL ALL=(zeroinst) NOPASSWD: /usr/bin/0store-secure-add
Create a script called 0store-secure-add-helper in PATH to call it. This script must be executable and contain these two lines:
#!/bin/sh
exec sudo -S -u zeroinst /usr/bin/0store-secure-add "$@" < /dev/null
The other Zero Install programs will call this helper script automatically.
FILES
/var/cache/0install.net/implementations
System-wide Zero Install cache.
LICENSE
Copyright (C) 2009 Thomas Leonard.
You may redistribute copies of this program under the terms of the GNU Lesser General Public License.
BUGS
This program is EXPERIMENTAL. It has not been audited. Do not use it yet in security-critial environments.
The env_reset line in sudoers may not be required. sudo(1) seems to do it automatically.
If sudo let us check whether we could call a command then we could switch to using it automatically, instead of needing to add the helper
script. Currently, sudo delays for one second and writes to auth.log if we try to use this system when it hasn't been set up.
Please report bugs to the developer mailing list:
http://0install.net/support.html
AUTHOR
Zero Install was created by Thomas Leonard.
SEE ALSO
0store(1)
The Zero Install web-site:
http://0install.net
Thomas Leonard 2010 0STORE-SECURE-ADD(1)