I want to add a default path /bin/mycommands along with others to be loaded as default path for all new accounts created on my system . With out the new accounts not having to change thie manually to /bin/mycommands.Do I change the /etc/profile ? is there any better way?
Please throw some... (2 Replies)
Hello
I am getting error when the file (Folder or Application) path having space is given as external input to the shell program.
It works fine for the files which has no spaces in the file name
Thans, (5 Replies)
Hi everyone,
I create script for seaching count of differrent file types at my FS.
My script:
#! /bin/sh
#OLD_IFS=$IFS
#export IFS=$(echo "\n\t ")
echo "Wait a minute... Seaching is performed"
d=0;b=0;c=0;p=0;s=0;l=0;f=0
non=0
for fl in $(find /opt/google/picasa/3.0/wine/drive_c... (8 Replies)
OK I am trying to use something similar to this:
#!/bin/sh
echo "OK, starting now..."
sftp -b /dev/fd/0 user@remotehost <<EOF
cd pub
ascii
put filename.txt
bye
EOF
only difference is the dir I need to cd to has a space in it like this
/Import/Server/Prospect File
,... (3 Replies)
Hi all, I'm trying to make a script that takes at the most one argument and lists all directories in the path in a special format:
User Group Other Filename
rwx r-- r-x \
rwx r-x r-- home
This is my code as it is... (1 Reply)
Hi I am using MKS Toolkit c shell.
I am trying to set a path variable something like c:/Program Files/blah/blah
so
set path=(c:/Program Files/blah/blah)
this, however, does not work as it splits this thing up into 'c:/Program' and
'Files/blah/blah'.
Does anyone have any ideas on... (9 Replies)
I have a script like this running under OS X 10.8. The problem arises when the find command encounters a space in the path name. I need the "dir" variable as I'll be extending the script to more general use.
#!/bin/bash
CFS=$IFS
IFS=$(echo)
set dir = "/Users/apta/Library/Mail\... (3 Replies)
Hi All,
I did a review of some threads to see if someone had come across this problem.
My system is an oracle virtual box solaris 10 installed on a windows 10 system.
Right now I am learning scripting and am just playing with the env variables.
I am trying to update the PATH to... (9 Replies)
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
I have written a script to execute some sql statement via executable file.
It is working fine via command line, however when I schedule it in cron.
The executable file is looking for library file in its root directory.
Wonder where does cron run the script from, and can we get the script... (4 Replies)
Discussion started by: jaapar
4 Replies
LEARN ABOUT DEBIAN
vmware-user-suid-wrapper
VMWARE-USER-SUID-WRAPPER(8) Open VM Tools VMWARE-USER-SUID-WRAPPER(8)NAME
vmware-user-suid-wrapper - wrapper programm for vmware-user(1)SYNOPSIS
vmware-user-suid-wrapper
DESCRIPTION
Operations on the vmblock(9) filesystem are considered privileged, and as such may only be issued on a file descriptor acquired by root.
This is accomplished by vmware-user-suid-wrapper, a small setuid wrapper whose only purpose is to acquire a filesystem file descriptor,
drop superuser privileges, and then execute vmware-user(1). In particular, prepare the system for vmware-user means that it unmounts the
vmblock file system, unloads the vmblock module, then reloads the module, mounts the file system, and opens a file descriptor that vmware-
user can use to add and remove blocks.
OPTIONS
vmware-user-suid-wrapper has no options.
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-hgfsmounter(8)vmblock(9)vmci(9)vmhgfs(9)vmmemctl(9)vmsock(9)vmsync(9)vmxnet(9)vmxnet3(9)HOMEPAGE
More information about vmware-user-suid-wrapper 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-USER-SUID-WRAPPER(8)