09-18-2001
It suid bit controls the switch of the effective uid. The sticky bit has nothing to do with it. And modern kernels will ignore the suid and sgid bits when executing scripts.
There is a program called "sudo" that can let a user run a script with another uid's authority. That is what I would recommend. sudo is a public domain program available from various archive sites.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
So I need to change the permissions of my user account. I can
access the root account on the server, but don't know how to
change the permissions of my user account. I was advised to
try 'userconf' to see if I am part of a group, but I dunno how that works. ANyone who knows how to see the... (3 Replies)
Discussion started by: achink125
3 Replies
2. UNIX for Dummies Questions & Answers
Here is my situation. On a RedHat 7.3 box, I have a user named jody.
When I log in with jody and type in "id", I get the expected output:
uid=1(jody) gid=1(jody) groups=1(jody), 510(test)
However, I cannot figure which "id" option allows me to change the effective gid. I tried the options... (2 Replies)
Discussion started by: Jody
2 Replies
3. AIX
I have 02 servers:
- Linux RHEL AS 3 (server1)
- AIX 5.2 (server2)
Running the command rsh server2 passwd derje from the server1 to change derje user password on server2, give me this error:
3004-709 Error while changing the password for "derje"
Can somebody help me ? (0 Replies)
Discussion started by: mayge
0 Replies
4. AIX
We use smitty to administer user accounts. Is it safe to make changes to the characteristics of a user while the user is logged in?
Can I set "Is this user ACCOUNT LOCKED?" to true ?
Can I set an expiration date on an account?
Will this effect the user in anyway during their current... (1 Reply)
Discussion started by: andrewsc
1 Replies
5. Solaris
i created 1 user . Now its passwd time period get expired.
Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Discussion started by: ajitkraj
5 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
Ok, bear with me on this one, I am a bit new to Unix and it might take me a little bit of time to articulate my question.
I know that every process has a user id and an effective user id. This seems to include the shell itself, because when I type 'ps', I see 'bash' listed as a... (2 Replies)
Discussion started by: oddthingy
2 Replies
7. UNIX for Dummies Questions & Answers
Hello all.
Despite the exec man page, the exec system call seems to turn my effective-user-id into my real-user-id.
I coded and compiled 2 very simple c programs as user 1 (uid=501)
The first one (A) prints real and effective user IDs and then execs the second one (B), which in turn prints... (7 Replies)
Discussion started by: oviv
7 Replies
8. Shell Programming and Scripting
can we know the user id who changed saved script in cron tab..:D (7 Replies)
Discussion started by: netdbaind
7 Replies
9. Shell Programming and Scripting
Hi could some let me know how to prevent user from changing his home directory.......
Thanks in advance.... (1 Reply)
Discussion started by: Revanth547
1 Replies
10. Programming
I figured it out by now. (0 Replies)
Discussion started by: Ralph
0 Replies
LEARN ABOUT DEBIAN
mount.vmhgfs
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)