Ahaa! It may be possible (depending on your implementation) to use the USER variable, such that:-
Does that help? It depends if $USER is respected as the person who logged on to the terminal.
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)
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
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 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)
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)
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
Hi!! one strange problem occurred with my RHEL 5 box.
i'm having logs folder with ownership of non-root user. Created some files with root user under logs folder.
here is the scene:
-rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log
-rw-r----- 1 root root ... (6 Replies)
Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal.
I want to give some users a root level access.
Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way
Regards
ADI (4 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 need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT DEBIAN
uget-gtk
UGET-GTK(1) User Commands UGET-GTK(1)NAME
uget-gtk - a download manager that uses gtk+2, and libcurl
SYNOPSIS
uget-gtk [options] [URL]
DESCRIPTION
Help Options:
-?, --help
Show help options.
--help-all
Show all help options.
--help-gtk
Show GTK+ Options
Application Options:
--quiet
add download directly. Don't show dialog.
--category-index=N
add download to Nth category. (default -1)
--folder=FOLDER
placed download file in FOLDER.
--filename=FILE
set download filename to FILE.
--user=USER
set both ftp and http user to USER.
--password=PASS
set both ftp and http password to PASS.
--proxy-type=N
set proxy type to N. (0=Don't use)
--proxy-host=HOST
set proxy host to HOST.
--proxy-port=PORT
set proxy port to PORT.
--proxy-user=USER
set USER as proxy username.
--proxy-password=PASS
set PASS as proxy password.
--http-user=USER
set http user to USER.
--http-password=PASS
set http password to PASS.
--http-referer=URL
include `Referer: URL' header in HTTP request.
--http-cookie-data=STRING
load cookies from STRING.
--http-cookie-file=FILE
load cookies from FILE.
--http-post-data=STRING
use the POST method; send STRING as the data.
--http-post-file=FILE
use the POST method; send contents of FILE
--ftp-user=USER
set ftp user to USER.
--ftp-password=PASS
set ftp password to PASS.
--display=DISPLAY
X display to use
AUTHOR
uget was written by Raymond Huang <plushuang at users.sourceforge.net>,and this manual page was originally written by Dennis Craven
<dcraven@gmail.com>
uget-gtk 1.4.9 July 2009 UGET-GTK(1)