12-10-2012
What do you mean by "stops there"? Does it not let you send any more commands to the shell? I'm not sure I understand the issue.
10 More Discussions You Might Find Interesting
1. Solaris
Hi folks,
could anyone please tell me how can i switch between two users without going thru the su(i.e. root)?
is there any such command?
thanks in advance,
thell (1 Reply)
Discussion started by: thell
1 Replies
2. Shell Programming and Scripting
Can any one tell me :
How we can switch between two users without prompting for the password. (In the SHELL SCRIPT can we fetch the USERID and PASSWORD from a specified file, without using SUDO command)? (2 Replies)
Discussion started by: deepusunil
2 Replies
3. Shell Programming and Scripting
Hi
I want to write a script which can switch between super users.But it asks for the password at the prompt.How can I manage in the script so that it didnt ask me for the password at the prompt. (1 Reply)
Discussion started by: monika
1 Replies
4. AIX
Hi
I want to write a script which can switch between super users.But it asks for the password at the prompt.How can I manage in the script so that it didnt ask me for the password at the prompt. (1 Reply)
Discussion started by: monika
1 Replies
5. AIX
Hi All,
I used to know a comand that you could log in as another user from root, if you didn't know the password for the account.
Can anyone let me know what it is? (2 Replies)
Discussion started by: banchee
2 Replies
6. Solaris
Hi All,
How to restrict the NIS users not to change their passwords in for NIS users??
and my NIS user is unable to login to at client location what could be the problem for this ?
Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies
7. Solaris
HI,
I am using the windows 2003 server R2 in there we are using the putty as to access the different AP's
now from the primary AP i want to login to several different AP's using a script
what the script will do is :-
input a text file in which list of different ap's and the corresponding... (0 Replies)
Discussion started by: amiglani
0 Replies
8. Shell Programming and Scripting
Hello Everyone,
I'm new to unix and having trouble with switching users
s_user='sample_user', I need to connect to a remote server using the user "sampleuser" copy files on that remote server. However I am not allowed to add a private key to that same server nor add scripts on sampleuser's... (5 Replies)
Discussion started by: AmazingTyagoman
5 Replies
9. Programming
Hi,
We've been using a perl script to extract datas from several logs to generate a report. I've been asked to rewrite the code in C++. I want to know if it is wise to have a code in C++ and will it be more faster than Perl? (23 Replies)
Discussion started by: Ribosome
23 Replies
10. Shell Programming and Scripting
hi,
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies
LEARN ABOUT REDHAT
lpoptions
lpoptions(1) Easy Software Products lpoptions(1)
NAME
lpoptions - display or set printer options and defaults
SYNOPSIS
lpoptions [ -h server ] -d dest[/instance] [ -o option=value ] ... [ -o option=value ]
lpoptions [ -h server ] [ -E ] [ -p dest[/instance] ] -l
lpoptions [ -h server ] [ -E ] [ -o option=value ] ... [ -o option=value ] [ -p dest[/instance] ] -r option
lpoptions [ -h server ] [ -E ] -x dest[/instance]
DESCRIPTION
lpoptions displays or sets printer options and defaults. lpoptions shows the default printer options when run with no arguments. Other
options include:
-E
Enabled encryption when communicating with the CUPS server.
-d dest[/instance]
Sets the default printer to dest. If instance is supplied then that particular instance is used. This option overrides the system
default printer for the current user.
-h server
Specifies the CUPS server to communicate with.
-l
Lists the printer specific options and their current settings.
-o option=value
Specifies a new option for the named destination.
-p dest[/instance]
Sets the destination and instance, if specified, for any options that follow. If the named instance does not exist then it is cre-
ated.
-r option
Removes the specified option for the named destination.
-x dest[/instance]
Removes the options for the named destination and instance, if specified. If the named instance does not exist then this does noth-
ing.
If no options are specified using the -o option then the current options for the named printer are reported on the standard output.
Options set with the lpoptions command are used by the lp(1) and lpr(1) commands when submitting jobs.
ROOT ACCOUNT OPTIONS
When run by the root user, lpoptions gets and sets default options and instances for all users in the /etc/cups/lpoptions file.
COMPATIBILITY
The lpoptions command is unique to CUPS.
FILES
~/.lpoptions - user defaults and instances created by non-root users.
/etc/cups/lpoptions - system-wide defaults and instances created by the root user.
SEE ALSO
cancel(1), lp(1), CUPS Software Users Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
21 October 2002 Common UNIX Printing System lpoptions(1)