Sponsored Content
Operating Systems Linux Red Hat process fails if setuid bit is set Post 302476480 by frank_rizzo on Wednesday 1st of December 2010 07:55:42 PM
Old 12-01-2010
what do you mean failing? please post the error. also provide details of what system your running on.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

setuid sticky bit

I have a binary. It is having the following permissions rws rws rwx mqm:mqm runmqtrm The same program on another machine is rws rws rwx root: mqm runmqtrm This program is a setuid program. This is what my understanding is. Whatever user the program is started under, it will finally be... (0 Replies)
Discussion started by: bandaru
0 Replies

2. Programming

setuid bit on user + dynamically linked libraries

hi all, i have a critical and specific problem with respect to set uid bit on user and the dll's for a binary, (under the userid A) it needs libraries from /usr/lib and informix libraries from $INFORMIXDIR/lib/esql but this binary should be kicked off from id B, hence s-bit on user is... (5 Replies)
Discussion started by: matrixmadhan
5 Replies

3. HP-UX

setuid bit - error

hi i have written small script which will login 2 two different users with su but if we run from normal user it prompts for password so i chnaged the owner of script to root and added setuid bit with chmod u+s <script_name> but when i run the script i get following message Warning:... (3 Replies)
Discussion started by: zedex
3 Replies

4. UNIX for Dummies Questions & Answers

How can we set the Sticky bit in the umask itself

How can we set the Sticky bit in the umask itself. Please help me :confused: (3 Replies)
Discussion started by: geniman2004
3 Replies

5. UNIX for Dummies Questions & Answers

setuid & sticky bit

Can anyone explain me difference between setuid and sticky bit? and also between setuid and chown? (3 Replies)
Discussion started by: kkalyan
3 Replies

6. Linux

Please explain setuid bit clearly!

Dear all, I am newbie with linux, i dont understand any code. I have googled a long time. Please help me explain about setuid bit on linux (Centos 6) Here: 1/ I chmod u+s for /sbin/iptables but normal user still cannot perform command (ex: /sbin/iptables -L) 2/Someone says : setuid only... (6 Replies)
Discussion started by: all4cfa
6 Replies

7. Programming

c program to set the m-bit to n-bit

I have a 32bit number and without using for loop,I want to set mbit to n bit. Say m bit may be 2nd or 5th or 9th or 10th.n bit may be 22nd or 27or 11th bit. I assume m<n. Please help me.Thanks acdc (6 Replies)
Discussion started by: acdc
6 Replies

8. Shell Programming and Scripting

Setuid not working in Linux as script fails to write to file.

Hi, I have the following 3 test files to test setuid bit which if it works I would like to implement in our application. However setuid doesnot seem to be having any impact on my test below.Following are the 3 files of interest in /tmp/ folder. $ ls -ltr *env* -rw------- 1 g332008 users 6... (23 Replies)
Discussion started by: waavman
23 Replies

9. UNIX for Beginners Questions & Answers

What keeps me from abusing setuid(0) and programs with setuid bit set?

Just learning about the privilege escalation method provided by setuid. Correct me if I am wrong but what it does is change the uid of the current process to whatever uid I set. Right ? So what stops me from writing my own C program and calling setuid(0) within it and gaining root privileges ? ... (2 Replies)
Discussion started by: sreyan32
2 Replies

10. UNIX for Beginners Questions & Answers

Java 32 bit installation fails on an AIX platform

Hello. It is my first to deal with Java installation on an AIX platform. I am now trying to install Java 32bit using installp command. However, it throws back the message that the installation media cannot be found. I need to install Java 32bit to proceed with an installation of Oracle JD... (0 Replies)
Discussion started by: EJ2019
0 Replies
crash(8v)																 crash(8v)

Name
       crash - what happens when the system crashes

Description
       This section explains what happens when the system crashes and shows how to analyze crash dumps.

       When the system crashes voluntarily it prints a message on the console in the form:

	      panic: explanation

       The  system takes a dump on a mass storage peripheral device or the network, and then invokes an automatic reboot procedure as described in
       Unless there is some unexpected inconsistency in the state of the file systems due to hardware or software failure, the system then resumes
       multi-user operations.  If auto-reboot is disabled, the system halts at this point.

       The system has a large number of internal consistency checks; if one of these fails, it prints a short message indicating which one failed.

       The  most  common cause of system failures is hardware failure.	In all cases there is the possibility that hardware or software error pro-
       duced the message in some unexpected way.  These messages are the ones you are likely to encounter:

       IO err in push
       hard IO err in swap
	    The system encountered an error when trying to write to the paging device or an error in reading  critical	information  from  a  disk
	    drive.  Fix your disk if it is broken or unreliable.

       timeout table overflow
	    Due to the current data structure, running out of entries causes a crash.  If this happens, make the timeout table bigger.

       Exception Condition
	    An unexpected system error has occurred.  The exception types are as follows:

	    ---------------------------------------------------------------
	    Mnemonic   Description
	    ---------------------------------------------------------------
	    INT        External interrupt
	    MOD        TLB modification exception
	    TLBL       TLB miss exception (load or instruction fetch)
	    TLBS       TLB miss exception (store)
	    AdEL       Address error exception (load or instruction fetch)
	    AdES       Address error exception (store)
	    IBE        Bus error exception (for an instruction fetch)
	    DBE        Bus error exception (for a data load or store)
	    Sys        Sys call exception
	    Bp	       Breakpoint exception
	    CpU        Coprocessor unusable exception
	    Ovf        Arithmetic overflow exception
	    ---------------------------------------------------------------

       KSP not valid
	      This indicates either a problem in the system or failing hardware.

       init died
	      The  system initialization process has exited.  The only solution is the automatic reboot procedure described in Until this is done,
	      new users cannot log in.

       When the system crashes, it attempts to write an image of memory into the back end of the primary swap area.  After the system is rebooted,
       the  program  runs  and	preserves  a  copy  of	this core image and the current system in a specified directory for later access.  See for
       details.

       To analyze a dump, you should begin by running with the flag on the core dump.

See Also
       dbx(1), reboot(8), savecore(8)

								       RISC								 crash(8v)
All times are GMT -4. The time now is 08:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy