SUID Unix question?
What is "SUID"? I repair permission and showing details, "SUID file usr/libexe/load_hdi has been modified and will not not be Repaired". Please explain in plain english. I'm really a novice at Unix. Should I be worried about not being repaired.
Thank you
Luis
Luis Casale wrote:
What is "SUID"? I repair permission and showing details, "SUID file usr/libexe/load_hdi has been modified and will not not be Repaired". Please explain in plain english. I'm really a novice at Unix. Should I be worried about not being repaired.
Thank you
Luis
These are typically warnings, not errors, and are annoying only because they tend to mess up a clean verify/repair by poking their noses into the window
If you upgraded from a previous install, that might explain them. Most are related to the new ACL (another Unix thing you might wish to learn about) which is an Access Control List that says who can do what to a file.
Many here are still suffering from a warning that occurs because of installing a RemoteDesktop update that was unnecessary.
If you updated with the full 110MB 10.5.1 update, that's about as clean as you can get the permissions to be, at least for now.
Similar Messages
-
A Unix question: find command
Hi all,
Sorry for posting a Unix question here.
In the following directory I have:
/opt/SonicSoftware/SonicMQ/samples/TopicPubSub/DurableChat>ls
DurableChat.class DurableChat.java Readme.txt
However, if I try:
/opt/SonicSoftware>find -iname DurableChat.class
The path can not be found, it just gives me the prompt back; I don't know what the reason is. Any idea?I'm just wondering can the symbolic link be the
reason that class file can not be found (I guess, not
though, b/c other classes can be found):What do you mean "not found"?
Do you mean why the find command isn't finding it? Yes, that's why. But now that you know, you can use -follow.
Or do you mean the VM is unable to find the class at runtime? I'm almost certain the classloader can follow symbolic links in the classpath, so I don't think that's the problem.
>
/opt/SonicSoftware/SonicMQ/samples/TopicPubSub/Chat>..
/../SonicMQ.sh DurableChat -u AlwaysUp
Exception in thread "main"
java.lang.NoClassDefFoundError: DurableChat
Should I change the path that it won't be symbolic
anymore?Try it and see if it fixes it. I'd be surprised, but you never know. If making it not a link fixes it, then maybe that's what you have to do. If it doesn't fix it, then you know you have to look somewhere else. -
Simple Java Command-Line on Unix Question
From the windows shell, the following command works fine:
java -classpath MyJar.jar;. Test
The class Test, in the current director, depends on files in MyJar.jar. However, when I open up the cygwin bash shell and try to execute the same command, I get this error:
bash: /usr/bin/Test: No such file or directory
It appears it's looking for Test in /usr/bin as opposed to in the current directory. Why is this happening and how can I get this to work in bash?
I know it's kind of unix question, but I figured some one here could help.
TIA,
JohnHow can I use aboslute classpaths within bash. For
example, what it the bash equivalent of the
following:
java -classpath C:/Java;C:/Java/MyJar.jar Testjava -classpath /the/path/to/your/Java:/the/path/to/your/MyJar.jar Test
Normally you will be using things relative to your home directory so yo can use
java -classpath ~ /the/relative-path/to/your/Java:~/the/relarive-path/to/your/MyJar.jar Test
or
java -classpath $HOME/the/relative-path/to/your/Java:$HOME/the/relative-path/to/your/MyJar.jar Test
Please don't use these blindly. Spend some time (half a day say) looking at the bash shell! -
Anyone know of a good unix forum so i dont have to ask unix questions here?
Anyone know of a good unix forum so i dont have to ask unix questions here?
and how bout a good unix tutorial?what is solaris dev?
What's wrong with asking unix questions. Anyways,if
you go to the sun home page http://www.sun.com I
think
there is a solaris dev connection.
What I meant was the solaris developer connection.
Solaris is Sun's version of unix. just like this forum is part of the java developer connection I'm sure that they have a forum for unix. -
"Batch" type script - maybe generic UNIX question!
Hey peeps,
We just set up an email filter on Solaris 9, which has 20MB of configuration files that need backing up on a regular basis. What I would like is a short executable script which does the following:
tar -cf the config files into a tar file, named conf-backup-DATE.tar with todays date.
open an ftp connection, with a specified username and password
"put" the tar file on the ftp server
disconnect from the ftp server
I think this is more of a generic UNIX question than a Solaris question, but I don't know any more about UNIX than I do about Solaris anyway!Your script defines functions which will enable you to invoke the backup. But this script only defines functions. You need to invoke them for your backup to work. The sample invocation can look like this (CODE NOT TESTED!!!):
Setup
Initialize
Gethottblspace
BeginHotbackup
Best Regards
Krystian Zieja / mob -
i could not see a unix section so i am asking this here , in ftp
what does the following mean
quote site CYL LR=50 REC=FB PRI=50 SEC=15 BLOCKS
LR, REC, PRI, SEC, what do they meanGoogle is a much better site for random non-Oracle questions
https://www.google.com/search?q=LR+REC+PRI+SEC
Seems to be related to IBM mainframes
http://www.sc.edu/ardc/docs/ftpbatch.htm
http://www.ibm.com -
Form6 package doc & unix question
Hi,
I starting to work using Forms6.
Can someone give me some links about Form6 doc about built-in packages (TEXT_IO ...) and other doc . I found PDF file on this site but I cant download them (problem with my navigator i suppose).
I searching a function to load unix environment variable too in forms.
Thanks for your help & sorry for my poor englisheaglelark,
You have two issues here; file names and text file formats for Unix vs PC (there is yet a third for Mac).
1) File names. By default the Finder does not display the file dot suffix (.txt). In the Finder, open the Finder Preferences and click the Advanced tab and there is a check box for "Show all file extensions". If you check that box then you can click each file and change the name. This is fine for a hand full of files, but if you have lots of files then the shell commands can clean up thousands in a few seconds.
2) Text file formats. All three text formats are really the same, but each uses a different character to indicate a line break (a classic example of how history haunts us). BBEdit is still alive and well. BBEdit lite (the freebee version) has been replaced by TextWrangler. If you are at all familiar with BBEdit you will be write at home with TW (pun intended;). I use it frequently and highly recommend it. Both have the option to change the line endings under a convenient pull down menu. Again, if you only have a few files this is certainly the easy way and again a good shell script could do thousands without issue.
So how many files do you need to fix? Is this a recurring issue? If only a few but you have to do it on an ongoing basis I would suggest using AppleScript. It's more approachable than shell scripting and you could create an applet where you drop the files and they get fixed in a flash.
Here's the url to TextWrangler:
http://www.bbedit.com/products/textwrangler/index.shtml
Hope this helps.
Reese -
Oracle + Unix question , Error validation for SQL statements in co process
Hi,
If I use co process in a shell script , what is the best way to do the error validation of the execution of any sql statements . I was trying to change the following code to make use of co process concept. When I tried echo $? after the execution of a "wrong statements"
it is still giving Zero output ( meaning success)
<<<<<<<<<<<<<<<<<<<<<<<<<<<
cat ${CFG_DIR}/srs_indx.lst | egrep -v '^#' | egrep -v '^[ ]*$' | while read x
do
echo " Processing values :: pre $pre tbl $tbl indx $indx tblspc $tblspc cols $cols param $param" >> ${LOGS_DIR}/srs_indx.log
sqlplus ${BIZSTG} << EOT >> ${LOGS_DIR}/srs_indx.log
set verify on timing on term on echo on feedback on serveroutput on
WHENEVER SQLERROR CONTINUE
drop index $indx;
WHENEVER SQLERROR EXIT FAILURE
alter session set query_rewrite_enabled = true;
create $pre index $indx on $tbl ($cols)
tablespace $tblspc
$param;
exit
EOT
RC=$?
if ( test $RC -ne 0 )
then
ERR_MSG="ERROR in creating index $indx for table $tbl from srs_indx.ksh of $ENVIR : $APP by `whoami`@`hostname` on `date` "
echo $ERR_MSG >> ${LOGS_DIR}/srs_indx.log
process_warning ${LOGS_DIR}/srs_indx.log
exitstat=1
else
echo "$indx created at `date`" >> ${LOGS_DIR}/srs_indx.log
fi
done
>>>>>>>>>>>>>>>>>>>>
Any help will be appreciated .
with thanks and regards
Ranjeesh K RHi,
Thanks for the response, I guess people misunderstood my question .
My question was about "error handling in case of CO PROCESS". For those who don't know about this, in case CO PROCESS you just need to login once to Oracle. In my above code It is logging in & out for each entry in the list. CO process statements may look Similar to SQL statements in pro*C. In PRO*C we use EXEC, but here print -p statements..
a sample is given for those who are new to co process.
sqlplus -s /nolog |& # Open a pipe to SQL*Plus
print -p -- 'connect user/password@instance'
print -p -- 'set feed off pause off pages 0 head off veri off line 500'
print -p -- 'set term off time off'
print -p -- "set sqlprompt ''"
print -p -- "select sysdate from dual;"
read -p SYSDATE
print -p -- "select user from dual;"
read -p USER
print -p -- "select global_name from global_name;"
read -p GLOBAL_NAME
print -p -- exit
echo SYSDATE: $SYSDATE
echo USER: $USER
echo GLOBAL_NAME: $GLOBAL_NAME
But I got stuck during error handling of these SQL statements, especially the $? / $* returns 0 even after an erroneus execution.
Regards -
One Unix Question......
All,
In our Application we've a KSH program for sending mails. We found a new bug while sending the attachment if the path contains forward slash "/". So we intend to relace the "/" as "\" in ksh. Could you please anyone tell us how to achive the above in unix.
Thanks for your help.# demo script x.ksh
AAA=abc///def
echo AAA=$AAA
BBB=`echo $AAA | sed 's/\//\\\/g'`
echo BBB=$BBB
# end of demo script
$ chmod u+x x.ksh
$ ./x.ksh
AAA=abc///def
BBB=abc\\\def
$ -
do u know the Unix command (or some shell script) to remove a prticular directory (which appear with same name in different sub directories)? Auctually . i wanted to remove "CVS" folders in all my sub directories in Solais environment; Can any one help plz.
- kumarcheck and try: rm -r
-
do u know the Unix command (or some shell script) to remove a prticular directory (which appear with same name in different sub directories)? Auctually . i wanted to remove "CVS" folders in all my sub directories in Solais environment; Can any one help plz.
- kumarman rm and man find
rm -r MyDir removes the directory named "MyDir" and all files and directoryes that it contains.
find -name MyDir -type d lists all directories with the name "MyDir"
prog1 `prog2` uses the output of prog2 as parameters of prog1
So:
rm -r `find -name CVS -type d`
- Marcus Sundman -
When I verify disk permissions, I get this message "Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired." What does this mean and should I be concerned?
SUID FIle Warning
Disk Utility Warning: SUID file xxx has been modified, will not be repaired
Mac OS X: Disk Utility's Repair Disk Permissions messages that you can safely ignore
Warning message when doing Verify Permissions -
Hi everybody,
I'm trying to find a regular file, file is not hidden, but it resides under a hidden directory; the 'find' command: find -name <filename>
can not find the file under a hidden directory. Is there any other solution to find the file?
Any help is greatly appreciated.Um, I'm not sure what you're doing, but "yes it can" is the only answer I can see given what you've specified:
dcminter@fatmoggy:~/bar$ ls -al
total 8
drwxr-xr-x 2 dcminter users 4096 Jun 1 23:42 ./
drwxr-xr-x 16 dcminter users 4096 Jun 1 23:40 ../No directories at present
dcminter@fatmoggy:~/bar$ mkdir .fooCreated a hidden directory.
dcminter@fatmoggy:~/bar$ touch .foo/temp.txtCreated a normal file in the hidden directory. Now we'll view the current directory (including the hidden one within it):
dcminter@fatmoggy:~/bar$ ls -al
total 12
drwxr-xr-x 3 dcminter users 4096 Jun 1 23:42 ./
drwxr-xr-x 16 dcminter users 4096 Jun 1 23:40 ../
drwxr-xr-x 2 dcminter users 4096 Jun 1 23:42 .foo/Ok, that looks good - now lets make sure it's really hidden:
dcminter@fatmoggy:~/bar$ lsOk, no output from that, so it's hidden. Now we'll run the find commant:
dcminter@fatmoggy:~/bar$ find -name temp.txt
./.foo/temp.txtThere's the file in the hidden directory. No problem.
I can only assume that you mean something different by "hidden directory" from what I mean - or that the "hidden directory" isn't actually there (and that this is why you can't find the file)...
D. -
A Unix question: grep command
Hi all,
I have a directory which contains more directories, and each directory has more directories inside, which in turn may or may not contain Java files. I need to use the grep command in the way that from the first directory goes into the directories recursively, finds the Java files and tell me what files have the PATTERN= "Basic Import Validation".
I used the grep like this, but guess its wrong since haven't received any response so far. Can sb. please tell me if I've used the command correctly or how should I change it? Any help is greatly appreciated.
dir> grep -r --include="Basic Import Validation" *.javaI gues the reason this isn't working for you isthat
-r means "process all subdirectories of any
directories listed in the command line args."
grep never sees the *.java that you supply. Theshell
grabs that and expands it to list all the .javafiles
in the pwd.If you can, would you please explain a little more,
what you meant by above?
grep whatever *.java When you type that command, your shell (bash, zsh, ksh, tcsh, etc.) is the program that receives that string on its standard input--like Java's System.in. The shell sees *.java and expands it into a list of all the .java files in the current directory. Then the shell invokes grep, and passes on the list of those java files.
But the list of .java files in the pwd has nothing to do with any java files that might be in subdirs.
If you use the -r arg, it seems that, in the list of "files" (where you put *.java), if any of those "files" are in fact directories, then -r means to look in files in that dir and its subdirs, rather than treating that arg as a file to examine.
So you'd put . (dot) as your current dir, and then use the --include to tell grep which files to process and which to ignore.
I'm sure about the shell expanding *.java. I'm not completely sure about my interpretation of -r and --include, but I'm pretty confident that's right.
As you said, the way I used grep, didn't return any
result. Your solution however, gave me results and
found the Java files containing the PATTERN. Thanks a
lot.You're welcome.
If you're still interested, it's probably worth trying out my slight modification to your original solution. If it works, it's a bit cleaner and simpler. -
Oracle on Solaris - General UNIX Question
Anyone have a way to list out the hidden (dotfiles) only on a Solaris box? ls -a shows both hidden and normal files I just want to list the hidden files and directories.
Thanksit's hard to list only hidden files and directories at the same time.
It's easier to use 2 commands one list hidden files like first poster did
and
ls -l | grep ^d | awk -F' ' '{print $9}'
to list all directories.
Maybe you are looking for
-
*New Dates For* Upcoming Support Webinars & Info About Support
Dear Oracle Primavera Customers: As of November 2009, the Oracle Primavera software support team has completed the migration and integration to Oracle Global Customer Support. This is an exciting time for the support organization, as we will now util
-
Problem with iWorks attachments
I recently purchased the latest version of iWorks so that I can send attachments to my iPhone 3G, but I have not been able to open any attachments saved in any of the iWorks formats (.numbers, .pages or .key). The files have the proper extensions and
-
Searching from beginning of a line/string with Oracle Text ...
Oracle Database 10.2.0.3, Solaris Hi, what sounds very easy with the LIKE operator seems to be impossible with the Oracle Text Operator Contains ; Searching for 'Deutsche%' results with LIKE -> 'Deutsche Bank' 'Deutsche Post' 'Deutsche Oracle Communi
-
How to turn off asking to remember passwords each time I open a site
Where do I go into 'Tools' to reset Firefox site password manager to 'off'. I don't want to be asked to have a particular site password saved.
-
Javax.servlet.http.Cookie
Hi All, Can anybody please tell me how to generate a Cookie object that will remain forever (until deleted by the client) The default appears to be removed at the end of the session (when the browser is closed down). Thanks in advance.