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)
Good day Guys!!!
I am currently making a script in AIX, the script runs a SAS job, the owner of the script is the root, but the SAS jobs cannot be run by the root, as it should be run by a user 'sasia'. But inside the script, root creates a logfile, so what I need is just to su to sasia for the... (3 Replies)
Got a cron to run everyday under my user. this cronjob runs a script from my /home/jack/scripts/run.sh
clear
#
# su to root and run a script, return with result
# su -
# passwd
# run /getfile.sh
# return with result
# the result will copy 2 files from /prod/app/logs/ and... (0 Replies)
Dear all
Ihave written a script in Hpux9.0, the ecript is working fine if I run it from root command prompt
But when I am running it thru /etc/profile or /user/.profile and login as a normal user, the owner of the process running the script is the normal user & hence cant run a root privileaged... (7 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)
Hi,
We need to execute a root commmand to change the expiry period of a user but we are getting error as permission denied
Q How can we execute a root command by a normal user ? :mad:
any thing or suggestion will be good .... :b: (3 Replies)
:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version
What should I do to fix this ...should show the latest version... (3 Replies)
Hi ,
I am trying to stop and start a process using the below code. I have sudo access on my machine
## PID = process id
echo "$PASSWD" | sudo -S kill -9 <PID>
echo "$PASSWD" | sudo -S /opt/abc/startserver
/opt/abc/startserver: error while loading shared libraries: librts.so: cannot open... (6 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)
Hi,
I am trying to schedule a script that starts on reboot.I came across chkconfig utility to schedule scripts on reboot.
Problem here is can i how to use this chkconfig to schedule a script that runs a s normal user.
Or if there is any other function to schedule on reboot as normal user... (4 Replies)
Discussion started by: praveena kotapa
4 Replies
LEARN ABOUT OSX
networkd
networkd(8) BSD System Manager's Manual networkd(8)NAME
networkd -- network daemon.
SYNOPSIS
networkd
DESCRIPTION
networkd is a launch-on-demand daemon that performs opreations on behalf of code in libystem_network, a component of libSystem.
networkd has no user-specifiable command-line argument, and users should not run networkd manually.
LOGGING
There are several methods with which to examine networkd's internal state for debugging and diagnostic purposes. The syslog(1) logging levels
map as follows:
Error - Error messages
Warning - Non-fatal concerns
Notice - Internal state messages
Info - Informational messages
By default, only log level Notice through Error is logged.
Syslog may be used to modify the mask which logging levels are logged. For example, to enable log levels Emergency - Debug :
% sudo syslog -c networkd -d
The networkd settings file may also be used to change the log level. This method will add some additional logging that may be missing using
the syslog technique listed above. This method is also persistent across runs of networkd For example, to enable log levels Emergency (1)
through Debug (7):
% sudo defaults write /Library/Preferences/com.apple.networkd networkd_log_level -int 7
The networkd settings file may also be used to change the log level for code in libsystem_network. For example, to enable log levels Emer-
gency (1) through Debug (7) for libsystem_network code:
% sudo defaults write /Library/Preferences/com.apple.networkd libnetcore_log_level -int 7
A SIGINFO signal will dump a snapshot summary of the internal state to the system log at log level NOTICE :
% sudo killall -INFO networkd
FILES
/usr/libexec/networkd
The binary.
/System/Library/LaunchDaemons/com.apple.networkd.plist
The launchd.plist(5) controlling the networkd job.
/Library/Preferences/com.apple.networkd.plist
An optional preferences file read by networkd.
BUGS
networkd bugs are tracked in Apple Radar component "networkd".
HISTORY
networkd first appeared in Mac OS X 10.7.
SEE ALSO networkd_privileged(8), syslogd(8), launchd.plist(5)Darwin June 2, 2019 Darwin