setuid sticky bit


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users setuid sticky bit
# 1  
Old 09-23-2004
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 running as rmuser.

Now if I start the program as root on the second one it starts ok.
If I start the program as mqm on the first box it doesn't work. On the second box if I start it as root it works.

Can somebody explain me this.

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. AIX

sticky bit

as far as i understand, if sticky bit is set on a directory, the files created under tht directory cannot be deleted by ordinary user... but we can do ths by permission itself,,, tht's assign only read permission to tht dirrectory wht 's the difference? (1 Reply)
Discussion started by: udtyuvaraj
1 Replies

4. Shell Programming and Scripting

Sticky Bit

I want a file I create to not be deletable by other users so I created a sticky bit by chmod 1644 on the file. chown'd it to root and then tried to delete (via GUI drag to trash and empty) as a non root user and it let me. is sticky bit only good for terminal deletes or something? (4 Replies)
Discussion started by: glev2005
4 Replies

5. UNIX for Advanced & Expert Users

sticky bit

Hi, I understand the purpose of sticky bit on directories. But I am not very clear about what the sticky bit do on a file. Can any one explain me in detail and with example please. Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

6. UNIX for Dummies Questions & Answers

Question regarding permision and seguid bit (sticky bit)

Hi , I am having file permision as drwxrwsr_x I kwo for deleting a file in the diretory i need w permsion as well .. Say if i am having the permsion as drwxrwsrwx - wil any one can delete the files in the directory .. And one more question what is the s doing there ..... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

7. Shell Programming and Scripting

sticky bit

Hi frns, What is command to list out all dir's for which sticky bit has been set. Regards, Manu (2 Replies)
Discussion started by: manu.vmr
2 Replies

8. UNIX for Dummies Questions & Answers

Sticky Bit

I have the sticky bit set on my /tmp directory, but users are still able to remove files that are not owned by them. Does the /etc/group file get invloved in securing these files ?? (1 Reply)
Discussion started by: rob11g
1 Replies

9. UNIX for Dummies Questions & Answers

sticky bit

What command string would you use to set the sticky bit on a directory that you own? (2 Replies)
Discussion started by: mma_buc_98
2 Replies

10. UNIX for Dummies Questions & Answers

Sticky bit

I have a questions, whose answer may be very obvious: Of what use is the sticky-bit permission on a Unix system? I have looked at the chmod(1) man page on our HP-UX playground system, and haven't been given much explanation: Add or delete the save-text-image-on-file- execution (sticky... (3 Replies)
Discussion started by: LivinFree
3 Replies
Login or Register to Ask a Question
INSTALLDEB-ASPELL(1)													      INSTALLDEB-ASPELL(1)

NAME
installdeb-aspell - debhelper-like utility for maintainers of aspell dictionary Debian packages SYNOPSIS
installdeb-aspell [debhelper options] DESCRIPTION
installdeb-aspell is a debhelper like program that is responsible for installing appropriate debhelper snippets in an aspell dictionary package, according to the Debian Spell Dictionaries and Tools Policy. For more details, see /usr/share/doc/dictionaries-common-dev/dsdt-policy.txt.gz The actions executed by installdeb-aspell are the following: o Maintainer Scripts installdeb-aspell installs the necessary scraps of code in the postinst and postrm scripts. o Language info file installdeb-aspell also checks a file containing aspell dictionary information, called debian/info-aspell or debian/package.info-aspell. If this file is successfully parsed, it is installed in the /var/lib/dictionaries-common/aspell directory. o Debconf files As opposed to installdeb-ispell and installdeb-wordlist, neither installdeb-aspell nor installdeb-hunspell do anything related to debconf files, since both aspell and hunspell rely on the environment variable "LANG" for default dictionary selection instead of using symlinks set after a debconf question on dictionary installation. For that reason if you need to add debconf stuff with debhelper to your aspell or hunspell dictionary package do it in the usual way and call dh_installdebconf(1) as for any other package. o Extra installdeb-aspell options in Language info file For benefit of aspell dictionaries using aspell-autobuildhash, installdeb-aspell script will look for 'auto-compat' and 'auto-contents' fields in $lang.info-aspell, containing base name(s) of your compat and, if needed, contents file(s). If 'auto-compat' entry is found two debhelper snippets are added, one to create/reset compatfile(s) in postinst and the other to remove files in a removal list (initially containing compat files) from postrm. If 'auto-contents' entry is found, contents file at debian/ will be parsed and its contents added to the removal list, otherwise a hash with the same basename of the compatfile is expected and added to the removal list. Unless previous stuff exists, /usr/lib/aspell}/$dict.rws -> /var/lib/aspell/$dict.rws symlinks will also be automatically created. If you use a contents file and enable it in 'auto-contents' you usually will need only the same base name enabled in 'auto-compat'. OPTIONS
The usual dephelper(1) options are accepted. NOTES
This program is not part of debhelper, although it is intended to be used in aspell dictionary packages using debhelper in its building. SEE ALSO
debhelper(1) This program is part of the dictionaries-common-dev package. It is intended to be used by maintainers of aspell dictionary packages for Debian. See the documentation under /usr/share/doc/dictionaries-common-dev. AUTHORS
Rafael Laboissiere, Agustin Martin 1.12.11 2013-1-22 INSTALLDEB-ASPELL(1)