Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
I am writing a script that has some tasks that must be run as root, then set of tasks to be run as normal user, then again as root.
is there a way to switch between users in a script?
any other alternatives?
thx (3 Replies)
I'm trying to give a non-root user the right to start IBM HTTP Server, the web server is listening on port 80, but for AIX, ports under 1024 are privilege ports which can be used only by root.
/usr/IBMIHS/bin# ./apachectl start
(13)Permission denied: make_sock: could not bind to address :::80... (1 Reply)
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Hi,
Is it possible to grant root privileges to an ordinary user?
Other than 'sudo', is there some way under Users/Groups configuration?
I want ordinary user to be able to mount, umount and use command mt.
/Brendan (4 Replies)
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
I need to make a shell script that accepts a directory input by the user. The program searches for the directory and finds if it exists or not. Then if it does exist, it outputs the number of files within that directory. Here's what I have so far.
result=
echo "Please input a directory:... (5 Replies)
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
LEARN ABOUT DEBIAN
addlomodel
ADDLOMODEL(3) MBK LOGICAL FUNCTIONS ADDLOMODEL(3)NAME
addlomodel - create a tempotary logical model and add it to a list
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mlo.h"
lofig_list *addlomodel(model, name)
lofig_list *model;
char *name;
PARAMETERS
model Pointer to the head of a model list
name Name of the model to be created
DESCRIPTION
addlomodel creates a new lofig_list element and adds it to the front of the list pointed to by model, and becomes itself the list head.
The addlomodel function is mosty used to create a temporary list of lofig in order to represent the "in file" instances' models. In fact,
all the file format used with mbk have the notion of models local to files, so they are not figure, but are temporarly used to create
instance connectors, for example. For details on the structure, see lofig(3).
RETURN VALUE
addlomodel returns a pointer to the new head of model list.
ERROR
"*** mbk error *** addlomodel impossible : model name already exists"
The model, not the figure, is already present in the model list pointed to by model, and since a model should be unique, this can't
be.
EXAMPLE
#include "mut.h"
#include "mlo.h"
void add_model(name)
char *name;
{
MODEL = addlomodel(MODEL, name);
}
SEE ALSO mbk(1), lofig(3), getlomodel(3), freelomodel(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 ADDLOMODEL(3)