Sponsored Content
Full Discussion: Disable Setuid in HP-UX
Operating Systems HP-UX Disable Setuid in HP-UX Post 302448563 by guru13 on Thursday 26th of August 2010 10:19:41 AM
Old 08-26-2010
Disable setuid

Here is whjat i want to do

I am root user and doing a setuid inside my program to execute as a different user.

Is it possible to prevent this by some system setting.

I need to test the above mentioned scenario..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

setuid

I have a C wrapper programme which basically execute a shell script. The shell script has 700 as permission and oracle is owner of the shell script. The C execuatble has 4711 permission so that means that it has setuid bit set and group and others can execute the C executable. The reason why I am... (2 Replies)
Discussion started by: sanjay92
2 Replies

2. UNIX for Dummies Questions & Answers

Using setuid and setgid

Hi, I have been looking at setuid and setgid. I understand that setuid determines who owns the file and setgid determines which group of people can access the file... yeah?! But i need to know how to actually use setuid and setgid. I'm guessing chmod will feature somewhere.. Any help... (1 Reply)
Discussion started by: crispy
1 Replies

3. UNIX for Advanced & Expert Users

cc, setuid, and LD_LIBRARY_PATH

Hi, This question deals with Solaris 2.8 and setuid programs. From research I've done so far, setuid programs ignore LD_LIBRARY_PATH; I've proven this and am OK with it. The thing I am not certain of how the C compiler is supposed to behave when it is invoked via a setuid program. Basically,... (0 Replies)
Discussion started by: WolfBoy
0 Replies

4. UNIX for Dummies Questions & Answers

setuid

could u plz give me clear idea of spcial permissions setuid,getuid and striky bit . (1 Reply)
Discussion started by: Prem
1 Replies

5. Solaris

setuid and guid

Hi All, Can someone give me some info about setuid or guid topic? Also about sticky bit. Thanks in advance, itik (9 Replies)
Discussion started by: itik
9 Replies

6. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

7. Solaris

Need help with setuid.

Hi Gurus, I need your suggestions,to implement setuid. Here is the situation. I have a user xyz on a solaris zone.He needs to install a package using a pkgadd command but i guess only a root can run that .Is there any way I can set the setuid bit on the pkgadd which is in the location... (6 Replies)
Discussion started by: rama krishna
6 Replies

8. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 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. Shell Programming and Scripting

Setuid usage

I'm trying - as an ordinary user - to create a file in the root directory of my system. For that purpose I wrote a simple script that echoes a string into a file. I made the file executable, used sudo to change ownership to root. Like this: $ cat hello #!/bin/bash echo hello > /hello $... (5 Replies)
Discussion started by: Ralph
5 Replies
FBTERM_UCIMF(1) 					      General Commands Manual						   FBTERM_UCIMF(1)

NAME
fbterm-ucimf - ucimf input method interface for fbterm SYNOPSIS
fbterm_ucimf DESCRIPTION
This manual page documents briefly the fbterm_ucimf commands. fbterm_ucimf is a program that providing an interface for fbterm using ucimf, the Linux unicode framebuffer consle input method framework. This program is intended to be work with a non-setuid fbterm using fbterm -i fbterm_ucimf command, however because of some unresolved prob- lem in fbterm package this aim has not been achieved yet. Currently this program is the only known working solution to start ucimf in Debian. Setuid fbterm is required, use command chown root:utmp /usr/bin/fbterm to change its user/group to root/utmp, and chmod 6755 /usr/bin/fbterm to change make it setuid. After doing so users with- out root privilege are able to load the input method with fbterm -i fbterm_ucimf while starting fbterm, then press Ctrl+Space to activate the input method, and Ctrl+Shift to switch among the input methods to find your preferred one. SEE ALSO
ucimf(1). AUTHOR
libucimf was written by Chun-Yu Lee (Mat) <MatLinuxer2@gmail.com> and Jim Huang <jserv.tw@gmail.com>. This manual page was written by Aron Xu <happyaron.xu@gmail.com>, for the Debian project (and may be used by others). Feburary 17, 2010 FBTERM_UCIMF(1)
All times are GMT -4. The time now is 02:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy