01-17-2006
You might try placing a space between the . and the first / like this:
. /usrhome/ncora/script_test/script1.sh
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have used several Linux Flavors and now I need to know something. I have the ROOT user and then I have my personal user. What I need to do is for my normal user to be able to write files to directories where appearntly, only the root user has privileges.
For example, to write files to... (1 Reply)
Discussion started by: gdboling
1 Replies
2. UNIX for Dummies Questions & Answers
I have a website that I am working on and one of the pages allows people to upload pictures to be used on other pages. My question is: is it safe to set the privileges to 777 on the folder that the pictures are saved in? Or would that open up my site to be hacked, bugged, wormed...and everything... (1 Reply)
Discussion started by: paladaxar
1 Replies
3. Programming
Hi
I have make a program that needs root privleges but any user can try to run it, so what I want it is, when any user tries( other than root ) to run the program, an input prompt would open to enter root password ( if user knows ) and program will run ( otherwise exit ), and after completing... (21 Replies)
Discussion started by: sumsin
21 Replies
4. UNIX for Dummies Questions & Answers
Hello genius..!
what do y'all think of these questions...? help appreciated...!
Access Control Lists and privileges....
# Why both file ACLs and user permissions/privileges (not to be confused with rights in ACLs) are used in Windows access control (why not just use one of these)?
# In... (1 Reply)
Discussion started by: heroine
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
As admin with root rights, to execute any command from another user without password-ask, I do : su - <user> -c "<cmd>"
But how can I do to give the same rights to another physical user without using root user ? :confused:
I've try to create another user "toor" with the same primary... (4 Replies)
Discussion started by: madmat
4 Replies
6. AIX
Hi All,
I use "cp -R /fs/* /newfs" and I can copy everything except it won't have the files/directories the same privileges.
Is there a trick to this without using a software-backup.
Thanks in advance,
itik (3 Replies)
Discussion started by: itik
3 Replies
7. Web Development
Salamo Alikom
i had install MySQL 5.1.33 binary version for FreeBSD ,when i logging to phpMyAdmin as root i see no privilege
to create database ,how can i solve this problem ? (1 Reply)
Discussion started by: SIFE
1 Replies
8. Shell Programming and Scripting
How to execute a script with out giving x permission to the file? (7 Replies)
Discussion started by: praveen_b744
7 Replies
9. Shell Programming and Scripting
My English is no very good.
I must make a bash scripting sh create like a backdoor, and when execute the script a user without privileges convert in super user or root, whithout introducing the password.
In Spanish:
Crear un script que sirva como puerta trasera al sistema, de manera que al... (1 Reply)
Discussion started by: kitievbr
1 Replies
10. UNIX for Dummies Questions & Answers
Hi
What privileges I need to install X11?
Or, in other words, can I install X11 without root privileges? The only user that installed X11 will use it.
If it depends on OS version, here is the list of operating systems:
Linux Red Hat Enterprise AS/ES 4.0/4.5/5
... (1 Reply)
Discussion started by: lleontiev
1 Replies
LEARN ABOUT DEBIAN
vrb_give
vrb_give(3) VRB Programmer's Manual vrb_give(3)
NAME
vrb_give - create a new virtual ring buffer
LIBRARY
-lvrb
SYNOPSIS
#include <vrb.h>
vrb_p vrb_give(vrb_p vrb, size_t size);
DESCRIPTION
vrb_give specifies how much data has been placed into the empty portion of the virtual ring buffer by the caller.
The caller will have called vrb_empty_len(3) and vrb_empty_ptr(3) to get the length of empty space in the buffer and a pointer to it, and
having placed some data into that space, starting from the pointer obtained and placing no more that the length obtained.
ARGUMENTS
vrb_p vrb
specifies which virtual ring buffer.
size_t size
specifies the length of data that has been placed into the virtual ring buffer empty space by the caller.
RETURN VALUE
int
On success, 0 is returned. On error, -1 is returned.
ERRORS
If an error is returned, then errno will have one of the following values:
EINVAL An invalid virtual ring buffer pointer was specified.
ENOSPC The specified length is greater than the empty space in the virtual ring buffer.
SEE ALSO
vrb(3), vrb_capacity(3), vrb_data_len(3), vrb_data_ptr(3), vrb_destroy(3), vrb_get(3), vrb_get_min(3), vrb_init(3), vrb_init_opt(3),
vrb_is_empty(3), vrb_is_full(3), vrb_is_not_empty(3), vrb_is_not_full(3), vrb_move(3), vrb_new(3), vrb_new_opt(3), vrb_put(3),
vrb_put_all(3), vrb_read(3), vrb_read_min(3), vrb_resize(3), vrb_space_len(3), vrb_space_ptr(3), vrb_take(3), vrb_uninit(3), vrb_write(3),
vrb_write_min(3)
vrb 2002-09-30 vrb_give(3)