05-19-2007
start a program with other user's permission
I have some of programs in unix system which are to started with one_user say "xxxx".
I have sudo permission if i start these programs with sudo it shows root permission. But i want these programs permession should be "xxxx".
I tried "su user_name -c Program_name"
but it is not working..
pls help
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know? (1 Reply)
Discussion started by: l008com
1 Replies
2. UNIX for Dummies Questions & Answers
hi! all
i've setup my PC with FreeBSD 6.2 and i've created login ID for my friends
i would like to allow them to install program (since they're requesting to use bnc/psybnc) using their shell
however, they have encounter such error to install the program
they have to sudo in order to run... (3 Replies)
Discussion started by: rdns
3 Replies
3. Programming
Helo
I havea particular file.
how I know ownerof the file as well as file permission using c program.
Regards,
Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies
4. Programming
I have a set of attributes such as group id,group name,etc related to a linux process. Iwant to know how to start a process in linux using C program.Plz do help me. (3 Replies)
Discussion started by: vigneshinbox
3 Replies
5. Shell Programming and Scripting
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am working on Solaris Sparc 9 and I developed application and in that I want to open any file when any action is happened but when I am trying to do the same.I am getting the error --
"Error launching /test.txt", "", "Process.execAndWait",
"java.io.IOException: Cannot run... (0 Replies)
Discussion started by: smartgupta
0 Replies
7. Homework & Coursework Questions
hello,
i wil make the next mission:
give how many chambers in a constant number. use an array which chamber is free and count how many chamber there are free. make also something to test
I don't now how to start. I need an little example so i can make the mission
thank you (10 Replies)
Discussion started by: wouter88
10 Replies
8. OS X (Apple)
Hi,
Solid as a rock or ...
Is it possible for a program to damage an iMac (Snow Leopard) so bad that it cannot start up again, and need to be repaired?
I am asking about this, because this seems to have occurred two days ago, when I was running a popular game program.
When I closed the... (6 Replies)
Discussion started by: ASL123
6 Replies
9. Fedora
hello everyone,
I have Matlab installed on Fedora 16. I tried running it by simply typing on terminal:
$ matlabBut it returned the follwoing error:
--- can anyone suggest a solution?
cheers,
peter
---------- Post updated at 10:57 PM ---------- Previous update was at 10:54 PM ----------... (1 Reply)
Discussion started by: peter_071
1 Replies
10. Shell Programming and Scripting
Hi community,
I'm looking for a script/code which starts a shell script with a MPI process depending on:
a) the processor workload, i.e. if the workload falls below a certain limit
b) alternatively if the previous process finished, e.g. if a process ID disappears
I need this for... (3 Replies)
Discussion started by: heunigreenfreak
3 Replies
LEARN ABOUT LINUX
unicode_start
UNICODE_START(1) General Commands Manual UNICODE_START(1)
NAME
unicode_start - put keyboard and console in unicode mode
SYNOPSIS
unicode_start [font [umap]]
DESCRIPTION
The unicode_start command will put the keyboard and console into Unicode (UTF-8) mode.
For the keyboard this means that one can attach 16-bit U+xxxx values to keyboard keys using loadkeys(1), and have these appear as UTF-8
input to user programs. Also, that one can type hexadecimal Alt-xxxx using the numeric keypad, and again produce UTF-8.
For the console this means that the kernel expects UTF-8 output from user programs, and displays the output accordingly.
The parameter font is a font that is loaded. It should have a built-in Unicode map, or, if it hasn't, such a map can be given explicitly as
second parameter. When no font was specified, the current font is kept.
NOTE
Unicode mode is a parameter with a value per virtual console. However, usually the font and keymap is common to all consoles.
SEE ALSO
dumpkeys(1), kbd_mode(1), loadkeys(1), unicode_stop(1), utf-8(7), setfont(8)
3 Feb 2001 UNICODE_START(1)