04-16-2010
Run script with different user at the startup ..
Run script with different user at the startup ..
I have created this user appuser
And I have a script should to be up thru the startup by this user appuser
I have defined the path of the script /user/appstart.sh in /etc/rc
But at the startup starting will be by root , I’d like to keep the starting of that script to be by appuser not root .
Pls advice in this..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to run tomcat automatically when Linux boots without having to log in? (4 Replies)
Discussion started by: Spetnik
4 Replies
2. Linux
Hi all,
i have a script in /etc/init.d directory.
-rwxr-xr-x 1 root root 26 Mar 28 16:00 myscript
I need it to run when my linux reboots/startup. However is it not being executed. Do i need to put in in the rc.local directory? (1 Reply)
Discussion started by: new2ss
1 Replies
3. Shell Programming and Scripting
Hi
I have a script that execute every X minute for checking new files in a folder and converting to pdf.
Is there any way to start this script automatically on linux startup?. I use sleep function in script with infinite loop.
while
do
killall -u `whoami` -q soffice
soffice... (0 Replies)
Discussion started by: zawmn83
0 Replies
4. AIX
I am using AIX 5.3 in P6 machine.
I have a script "test.sh", when i run it manually it runs properly.
I want to run the script automatically when system starts.
I kept the script in /etc/rc.d/init.d and also in /etc/rc.d/rc2.d but it is not working.
Do i have to write it in inittab instead of... (1 Reply)
Discussion started by: pchangba1
1 Replies
5. Shell Programming and Scripting
Hi guys ,
I Need to run a specific command (pinging a particular machine).
Which need to run every time i reboot the server till the time it shut down.
What is the preferred way of doing this.
Will it impact my system performance.
My Operating system is as below.
# lsb_release -a... (3 Replies)
Discussion started by: pinga123
3 Replies
6. UNIX for Dummies Questions & Answers
hi,
i am using rhel 5, and i wanna run a script as soon as the operating system open. How can i do this ? ( i was reading rc.d files but i could not understand exactly what are the run levels and where should i put the my shell script.
my script will be :
#!/bin/ksh
iptables -I INPUT... (1 Reply)
Discussion started by: futi
1 Replies
7. SuSE
Hi
I have a script myscript.sh that needs to be run whenever the server boots. The script is actually logging Syslog-ng messages to sql server. I need to lauch it at startup
I have copied the script in etc/init.d
i have also added the link
ln -s /etc/init.d/syslog-ng-mssql-pipe.sh... (5 Replies)
Discussion started by: SystemEng
5 Replies
8. Shell Programming and Scripting
We have a Windows Service written in C# ported over to linux using Mono Develop... The code is working 100% when we run a script file which runs the exe... but we want the application to run at startup.... The application gathers info of the computer eg. Hard Disk Space etc... And compress it into... (1 Reply)
Discussion started by: yodzaan
1 Replies
9. Solaris
Environment
Solaris 9
I have configured the Solaris9 as NTP client in which Solaris9 is syncing the time with a windows2008 R2 Server which is runing fine. Now I want that the xntpd service should start at startup. I did this via a script. Kindly correct if I did any thing wrong:
1.)Made... (9 Replies)
Discussion started by: z_haseeb
9 Replies
10. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
PYMOL(1) User commands PYMOL(1)
NAME
pymol - free and flexible molecular graphics and modelling package
SYNOPSIS
pymol [options] [files]
DESCRIPTION
Over the years, PyMOL has become a capable molecular viewer with support for animations, high-quality rendering, crystallography, and other
common molecular graphics activities. It has been adopted by many hundreds (perhaps even thousands) of scientists spread over thirty coun-
tries. However, PyMOL is still very much a work in progress, with development expected to continue for years to come.
OPTIONS
These options are currently supported:
-2 Start in two-button mouse mode.
-c Command line mode, no GUI. For batch opeations.
-d string
Run pymol command string upon startup.
-e Start in full-screen mode.
-f #line
Controls display of commands and feedback in OpenGL (0=off).
-g file.png
Write a PNG file (after evaluating previous arguments)
-i Disable the internal OpenGL GUI (object list, menus, etc.)
-l file.py
Spawn a python program in new thread.
-o Disable security protections for session files.
-p Listen for commands on standard input.
-q Quiet launch. Suppress splash screen & other chatter.
-r file.py
Run a Python program (in __main__) on startup.
-s script
Save commands to this PyMOL script or program file.
-t Use Tcl/Tk based external GUI module (pmg_tk).
-u script
Load and append to this PyMOL script or program file.
-x Disable the external GUI module.
-B Enable blue-line stereo signal (for Mac stereo)
-G Start in Game mode.
-M Force mono even when hardware stereo is present.
-R Launch Greg Landrum's XMLRPC listener.
-S Force and launch in stereo, if possible.
-X int -Y int -W int -H int -V int
Adjust window geometry.
All files provided will be loaded or run after PyMOL starts. They can have one of the following extensions:
.pml PyMOL command script to be run on startup
.py[cm] Python program to be run on startup
.pdb Protein Data Bank format file to be loaded on startup
.mmod Macromodel format to be loaded on startup
.mol MDL MOL file to be loaded on startup
.sdf MDL SD file to be parsed and loaded on startup
.xplor X-PLOR Map file (ASCII) to be loaded on startup
.ccp4 CCP4 map file (BINARY) to be loaded on startup
.cc[12] ChemDraw 3D cartesian coordinate file
.pkl Pickled ChemPy Model (class "chempy.model.Indexed")
.r3d Raster3D file
.cex CEX file (Metaphorics)
.top AMBER topology file
.crd AMBER coordinate file
.rst AMBER restart file
.trj AMBER trajectory
.pse PyMOL session file
.phi Delphi/Grasp Electrostatic Potential Map
For a list of options, you can also enter the following in the command line of pymol:
help launching
COMMANDS
Please refer to PyMols online documentation at http://www.pymolwiki.org/index.php/Category:Commands or its internal help for a command ref-
erence.
AUTHOR
This manpage was written by Daniel Leidert <daniel.leidert@wgdd.de> for the Debian distribution (but may be used by others).
2008-05-06 PYMOL(1)