Sponsored Content
Full Discussion: suid files???
Special Forums Cybersecurity suid files??? Post 8513 by Perderabo on Friday 12th of October 2001 01:51:56 PM
Old 10-12-2001
What's wrong with find?

find / -perm -4000 -o -perm -2000 | xargs ls -l
 

9 More Discussions You Might Find Interesting

1. Programming

SUID bit???

Hi all I'm getting file info through stat( char *filename, struct stat *buf) Taking all the file attributes to buf->st_mode, How can i check the suid bit in there, if suid bit mask is 0004000?? Thank you all (1 Reply)
Discussion started by: solvman
1 Replies

2. UNIX for Dummies Questions & Answers

what is suid ?

what is SUID ? can someone explain or point me to a link ? thanks simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies

3. UNIX for Advanced & Expert Users

is SUID disabled for shell

Hi, I have two file in my directory. "catter" file contains "cat ./file". And "file" contails "Hi ashish". I have SUID bit set for catter file. But when a different user in my group runs file catter, shell displays "Permission denied" message. I just want to know can use of suid bit be... (3 Replies)
Discussion started by: shriashishpatil
3 Replies

4. UNIX for Advanced & Expert Users

SUID not working

Hi Senario: I have previleges to edit a file F but User B does not have sufficient privs to edit it. In order for B to edit it I tried an indirect way. I created a script to edit F and SUID this script so that B can execute it with the privs of me. But this is not working . can some one help... (3 Replies)
Discussion started by: Pankaj Mishra
3 Replies

5. UNIX for Dummies Questions & Answers

find files with SUID bit turned on

I'm writing a script that will search for files with the SUID bit turned on, and put the list in a file called id.txt i read that files with the SUID bit turned on are chmod'd to 4000, so i tried: find / -perm 4000 > id.txt also various others such as -perm 4777 etc etc but it found nothing... (1 Reply)
Discussion started by: SoVi3t
1 Replies

6. Cybersecurity

the SUID of lpq

Hello My system is Debian-503-amd64. After I installed the "lpr" package, I found that some files with SUID bit come from this package. As: ls -l /usr/bin/lp* .... -rwsr-sr-x 1 root lp 31800 2008-05-20 /usr/bin/lpq -rwsr-sr-x 1 root lp 28504 2008-05-20 /usr/bin/lpr -rwsr-sr-x 1... (1 Reply)
Discussion started by: ZR_Lang
1 Replies

7. UNIX for Advanced & Expert Users

How do suid permissions work?

Hello all, I have a file system with permissions: drwxrwsr-x 49 pwcenter pwce1 4096 01 May 17:00 InFiles Can someone explain the real significance of the 's' setting for group users please? Cheers (3 Replies)
Discussion started by: Grueben
3 Replies

8. AIX

Why /bin/su permission with SUID?

Dear all experts in this forum, I have faced a audit issue as auditor told that we should not have SUID on /bin/su. As I have checked using Google, I found most of the site only telling that /bin/su should have the permission bit as -rwsr-xr-x but never explain why /bin/su need this permission... (4 Replies)
Discussion started by: kwliew999
4 Replies

9. UNIX for Dummies Questions & Answers

Difference between inbuilt suid programs and user defined root suid programs under bash shell?

Hey guys, Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries. However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
VMWARE-HGFSMOUNTER(8)						   Open VM Tools					     VMWARE-HGFSMOUNTER(8)

NAME
vmware-hgfsmounter - program for mounting HGFS shares SYNOPSIS
mount.vmhgfs SHARE DIRECTORY [ -o OPTIONS ] vmware-hgfsmounter SHARE DIRECTORY [ -o OPTIONS ] DESCRIPTION
This is a console-based mount helper application. It mounts the HGFS share, specified by name, to a local directory. Share names must be in host:dir format. OPTIONS
uid=ARGUMENT mount owner (by uid or username) gid=ARGUMENT mount group (by gid or groupname) fmask=ARGUMENT file umask (in octal) dmask=ARGUMENT directory umask (in octal) ro mount read-only rw mount read-write (default) nosuid ignore suid/sgid bits suid allow suid/sgid bits (default) nodev prevent device node access dev allow device node access (default) noexec prevent program execution exec allow program execution (default) sync file writes are synchronous async file writes are asynchronous (default) mand allow mandatory locks nomand prevent mandatory locks (default) noatime do not update access times atime update access times (default) nodiratime do not update directory access times adirtime update directory access times (default) ttl=ARGUMENT time before file attributes must be revalidated (in seconds). Improves performance but decreases coherency. Defaults to 1 if not set. EXAMPLES
This command is intended to be run from within /bin/mount by passing the option '-t vmhgfs'. For example: mount -t vmhgfs .host:/ /mnt/hgfs/ mount -t vmhgfs .host:/foo /mnt/foo mount -t vmhgfs .host:/foo/bar /var/lib/bar SEE ALSO
vmware-checkvm(1) vmware-hgfsclient(1) vmware-toolbox(1) vmware-toolbox-cmd(1) vmware-user(1) vmware-xferlogs(1) libguestlib(3) libvmtools(3) vmware-guestd(8) vmware-user-suid-wrapper(8) vmblock(9) vmci(9) vmhgfs(9) vmmemctl(9) vmsock(9) vmsync(9) vmxnet(9) vmxnet3(9) HOMEPAGE
More information about vmware-hgfsmounter and the Open VM Tools can be found at <http://open-vm-tools.sourceforge.net/>. AUTHOR
Open VM Tools were written by VMware, Inc. <http://www.vmware.com/>. This manual page was put together from homepage materials by Daniel Baumann <daniel.baumann@progress-technologies.net>, for the Debian project (but may be used by others). 2010.03.20-243334 2010-04-08 VMWARE-HGFSMOUNTER(8)
All times are GMT -4. The time now is 06:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy