05-28-2005
prob with selinux is the permission enforcement when enabled.. so it wouldn't let me back in unless i unlocked the perms... close to 1777 is what screwed it up due to SE (security enhanced).... SE refused it and when i finally broke back into the system gconf-usrs had been corrupted.. a few files were erased and a few lib files couldn't be recreated.. so even after i disabled SE reconfiguring gconf files amongst others in /tmp was impossible...
edit;; i know that SE can lock files and i am pretty sure it can erase certain files when necessary.. so i guess those files bit the dust when the chmod hit the targeted SE policy.. if i could configure SElinux (i could do anything!) its government developed and very complex so the better route would be to revamp /tmp.. if i knew how!..
thanx for your input anyways...
moxxx68 (out!)....
Last edited by moxxx68; 05-28-2005 at 08:18 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present?
Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies
2. Shell Programming and Scripting
Hi,
I need to know how I'll be able to write a script that can goto a different dir where I don't have access to read,write and execute and also to run a commandline prompt in that dir with one file whose path has to be specified in that command.
Will I be able to do this?
Any ideas or... (2 Replies)
Discussion started by: ann_124
2 Replies
3. Shell Programming and Scripting
hi all,
i'm looking for a bash or tcsh script that will clone an empty dir tree 'over' another tree ...
specifically, i'd like to:
(1) specify a src directory
(2) list the directory tree/hiearchy beneath that src dir, w/o files -- just the dirs
(3) clone that same, empty dir hierarchy to... (2 Replies)
Discussion started by: OpenMacNews
2 Replies
4. Solaris
I have a Solris 9 box my problem is when I restart my box all my files and dirs in /tmp dir will be deleted exept 2 directories I found them since installation phase !!!!
How to keep my files at that dir " /tmp " even after restarting ??? (1 Reply)
Discussion started by: DarkSoul
1 Replies
5. Shell Programming and Scripting
Hello guys,
I need help in globally replacing a string 'string1' with 'string2' in several files in a directory. In fact, also in all directories under it.
Can anyone help me...
Thanks (3 Replies)
Discussion started by: chiru_h
3 Replies
6. UNIX and Linux Applications
HI all, I got a CPIO archive that contains a unix filesystem that I try to extract, but it extract to the root dir / unstead of current dir, and happily it detects my file are newer otherwise it would have overwrited my system's file!
I tried all these commands
cpio -i --make-directories <... (2 Replies)
Discussion started by: nekkro-kvlt
2 Replies
7. Shell Programming and Scripting
Hello!!
I have directories from 2008, with files in them. I want to create a script that will find the directoried from 2008 (example directory:
drwxr-xr-x 2 isplan users 1024 Nov 21 2008 FILES_112108), delete the files within those directories and then delete the directories... (3 Replies)
Discussion started by: bigben1220
3 Replies
8. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies
9. Shell Programming and Scripting
Dear Members,
I have a list of xml files like
abc.xml.table
prq.xml.table
...
..
.
in a txt file.
Now I have to search the file(s) in all directories and sub-directories and print the full path of file in a output txt file.
Please help me with the script or command to do so.
... (11 Replies)
Discussion started by: Yoodit
11 Replies
10. AIX
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies
LEARN ABOUT CENTOS
yumdownloader
yumdownloader(1) yumdownloader(1)
NAME
yumdownloader - download RPM packages from Yum repositories
SYNOPSIS
yumdownloader [options] package1 [package2...]
DESCRIPTION
yumdownloader is a program for downloading RPMs from Yum repositories.
GENERAL OPTIONS
-h, --help
Help; display a help message and then quit.
--destdir DIR
Specify a destination directory for the download. Defaults to the current directory.
--urls Instead of downloading RPMs, list the URLs that would be downloaded.
--resolve
When downloading RPMs, resolve dependencies and also download the required packages.
--source
Instead of downloading the binary RPMs, download the source RPMs.
--archlist=ARCH1[,ARCH2...]
Limit the query to packages of given architecture(s). Valid values are all architectures known to rpm/yum such as 'i386' and 'src'
for source RPMS. Note that repoquery will now change yum's "arch" to the first value in the archlist. So "--archlist=i386,i686" will
change yum's canonical arch to i386, but allow packages of i386 and i686.
ADDITIONAL OPTIONS
Yumdownloader inherits all other options from yum. See the yum(8) man page for more information
EXAMPLES
Download the kernel RPM to /var/tmp:
yumdownloader --destdir /var/tmp kernel
List the URL for the kernel and kernel-smp RPMs:
yumdownloader --urls kernel kernel-smp
FILES
As yumdownloader uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which
repositories to use. Consult YUM documentation for details:
/etc/yum.conf
/etc/yum/repos.d/
/var/cache/yum/
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
Gijs Hollestelle 28 November 2005 yumdownloader(1)