06-08-2011
Hi Corona688,
I am using RHEL so i did not find dpkg.
I am trying to know what files to be edited if i installed a program for example in /usr/bin etc. How i make this program available to say xyz user.
Thanks in advance!
10 More Discussions You Might Find Interesting
1. Solaris
I have a script in my home direcroty which upon execution gives the essential system information like memory,cpu etc and is currently owned by root:root. Now I want to see that every non root user will run this file and grab the reqired system info. I know this is some thing associated with chown... (2 Replies)
Discussion started by: chrs0302
2 Replies
2. Shell Programming and Scripting
hi i need to make a script that will check the directories of the users on mp3 or mp4 files. if so they must be automaticly deleted and they have to get a warning message instead.
this should be running every day at 1 pm and should be done within the cron file.
could someone help me with... (2 Replies)
Discussion started by: stefan
2 Replies
3. Solaris
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies
4. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
5. Solaris
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
6. Shell Programming and Scripting
hi,
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies
7. UNIX and Linux Applications
Is it possible to use {SHA} with ldappasswd? I didn't find responsible option in manual page and doc (1 Reply)
Discussion started by: urello
1 Replies
8. UNIX for Dummies Questions & Answers
Edit: Sorry. Mistakenly posted - please delete (3 Replies)
Discussion started by: Reddax
3 Replies
9. OS X (Apple)
As you may already know, Apple has integrated all the GNU developer tools into their own graphical development environment so you can no longer use them from the command line. This means that open source software that is distributed as source is inaccessible to users of newer versions of Mac OS X,... (4 Replies)
Discussion started by: Ultrix
4 Replies
10. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
LEARN ABOUT DEBIAN
dh_shlibdeps
DH_SHLIBDEPS(1) Debhelper DH_SHLIBDEPS(1)
NAME
dh_shlibdeps - calculate shared library dependencies
SYNOPSIS
dh_shlibdeps [debhelperoptions] [-Lpackage] [-ldirectory] [-Xitem] [--params]
DESCRIPTION
dh_shlibdeps is a debhelper program that is responsible for calculating shared library dependencies for packages.
This program is merely a wrapper around dpkg-shlibdeps(1) that calls it once for each package listed in the control file, passing it a list
of ELF executables and shared libraries it has found.
OPTIONS
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being passed to dpkg-shlibdeps. This will make their dependencies be
ignored. This may be useful in some situations, but use it with caution. This option may be used more than once to exclude more than
one thing.
-- params
Pass params to dpkg-shlibdeps(1).
-uparams, --dpkg-shlibdeps-params=params
This is another way to pass params to dpkg-shlibdeps(1). It is deprecated; use -- instead.
-ldirectory[:directory ...]
With recent versions of dpkg-shlibdeps, this option is generally not needed.
Before dpkg-shlibdeps is run, LD_LIBRARY_PATH will have added to it the specified directory (or directories -- separate with colons).
With recent versions of dpkg-shlibdeps, this is mostly only useful for packages that build multiple flavors of the same library, or
other situations where the library is installed into a directory not on the regular library search path.
-Lpackage, --libpackage=package
With recent versions of dpkg-shlibdeps, this option is generally not needed, unless your package builds multiple flavors of the same
library.
It tells dpkg-shlibdeps (via its -S parameter) to look first in the package build directory for the specified package, when searching
for libraries, symbol files, and shlibs files.
EXAMPLES
Suppose that your source package produces libfoo1, libfoo-dev, and libfoo-bin binary packages. libfoo-bin links against libfoo1, and should
depend on it. In your rules file, first run dh_makeshlibs, then dh_shlibdeps:
dh_makeshlibs
dh_shlibdeps
This will have the effect of generating automatically a shlibs file for libfoo1, and using that file and the libfoo1 library in the
debian/libfoo1/usr/lib directory to calculate shared library dependency information.
If a libbar1 package is also produced, that is an alternate build of libfoo, and is installed into /usr/lib/bar/, you can make libfoo-bin
depend on libbar1 as follows:
dh_shlibdeps -Llibbar1 -l/usr/lib/bar
SEE ALSO
debhelper(7), dpkg-shlibdeps(1)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
9.20120909 2012-09-10 DH_SHLIBDEPS(1)