Sponsored Content
Operating Systems HP-UX How to reactivate user with command(no SAM) Post 302144710 by arm_naja on Friday 9th of November 2007 10:19:25 AM
Old 11-09-2007
Very thanks Perderabo,

I use "/usr/lbin/modprpw -k user" for enable user OK.


and sorry for slow reply ^_^
aRm_nAja
 

8 More Discussions You Might Find Interesting

1. HP-UX

help on sam

hi, any idea how to get more info on the usage, unix equivalent of sam in hp-ux? thanks (7 Replies)
Discussion started by: yls177
7 Replies

2. UNIX for Dummies Questions & Answers

How to reactivate expired account in Linux as a root user

I am an administrator of a Red Hat Enterprise Linux system. Now one account expired. I wonder how to reactivate the account. Thanks (2 Replies)
Discussion started by: cy163
2 Replies

3. HP-UX

Where are SAM user templates stored?

Hey, new here, so be nice! I'm trying to write a little script to automate the user creation process on one of our boxes. But I would like to be able to use the templates that we have set up in SAM. Is the information in these templates stored in a file somewhere, that I can reference in my... (5 Replies)
Discussion started by: paqman
5 Replies

4. HP-UX

Adding user to a group without SAM

How can I add a user to a specific group without using SAM? I know I can user modprpw -G, but that will overwrite any groups the user is in with the ones I specify. I need to assume that I do not know what groups the user is already in, so I can't put them in the modprpw command. I just need... (2 Replies)
Discussion started by: paqman
2 Replies

5. HP-UX

Getting command (command line) from SAM?

Hi I hope this is easy and sorry if I am using the wrong HP terms. I am looking for a way to glean the command line information from a process I run in SAM? In AIX I can just select any options I want for particular process and hit F6 and the command line is shown on the screen for use in... (3 Replies)
Discussion started by: KmJohnson
3 Replies

6. Shell Programming and Scripting

root user command in shell script execute as normal user

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)
Discussion started by: mnmonu
3 Replies

7. Linux

Reactivate an account

Hello, I had this issue today. One of my co-workers accounts was looked due to inactivity. The passwd -u command didn't work. So I did what I posted below. I don't think this the proper way to do this. What is the right to reactivate an account in Linux? After I changed the inactivity to never he... (2 Replies)
Discussion started by: bitlord
2 Replies

8. HP-UX

Display SAM user list at the command line

Hello, I've been doing Linux and AIX administration for years, but I'm very new to HPUX. We have an old audit process which involves someone manually using sam to generate user lists. I'd like to kill that old process with fire... But... After working a bit in the morning to try and pull... (3 Replies)
Discussion started by: Celt1977
3 Replies
pcfof(8)						      System Manager's Manual							  pcfof(8)

NAME
pcfof - Generic print filter for ANSI, PCL, and multi-language PostScript printers SYNOPSIS
/usr/lbin/pcfof +Bbanner-tray +Cfilename.pcf [-n login] [-h host] [...] [accounting-file] OPTIONS
Use of the print options is dependent on the features available on the print device, and on the current status of those features. For example, selection of a particular paper size and orientation requires that appropriate paper is correctly loaded in the paper trays avail- able on the print device. Options in /etc/printcap Specifies the default tray name to select for printing the banner page. For example: :of=/usr/lbin/pcfof +Bupper +Cln17.pcf: In this example, the banner page will be printed on whatever paper is currently loaded into the upper tray on the selected print device. Specifies the name of the printer configuration file to use for this print job. Specifies the default tray name to select for printing the file. For example: :if=/usr/lbin/pcfof +Iupper +Cln17.pcf: Specifies the default tray name to select for printing the trailer page. For example: :of=/usr/lbin/pcfof +Tlower +Cln17.pcf: This command is useful of you want to use colored paper as a divider between print jobs. Specifies the default tray name to select to place the printed pages. For example: :if=/usr/lbin/pcfof +olower +Cln17.pcf: Print Filter Options Specifies the host name of the job owner. Specifies the amount of indentation. This value controls how far the print image appears from the edge of the page. Specifies the login name of the job owner. Specifies the tray where the printed pages are placed. See the -I option for information on printer configuration files. Specifies the page width in columns. Selects printer features but does not perform any file processing. Specifies the tray name from which print paper is selected. To find the available options, view the printer configura- tion file (.pcf file) specified in the /etc/printcap file by the if entry. For example: :if=/usr/lbin/pcfof +Cln17.pcf: The ln17.pcf pcf file is located in /usr/lbin/pcf/ln17.pcf. The pcf file header provides additional information on available tray options. Specifies the number of sides to print on each sheet. You can specify sides as follows: Print on one side of the sheet. Print on both sides of the sheet. Specifies options related to page orientation and printing of text files. The option-list argu- ment can include one option or multiple options that are separated by commas (no embedded spaces). The following settings for page orientation are valid for both PostScript or text files: The printed output is parallel to the short side of the page. The printed output is parallel to the long side of the page. The following options are available for printing text (not PostScript) files: Print even numbered pages. Reduce the number of lines on a page to n lines. Print odd numbered pages. Perform codeset conversion if codeset-name is different from the codeset component of the current locale and if the appropriate codeset converter is installed on the system. See iconv_intro(5) for information about codeset conversion. Print the pages of a file within the start and end parameters. When start is not specified, printing starts at page 0. When end is not specified, printing continues to the end of the file. The file header may specify additional printer-specific options. (See the description of the -I option for the location of files.) OPERANDS
Specifies the file in which accounting information will be recorded. DESCRIPTION
The pcfof filter is a generic print filter that can be used with text and PostScript files and handle printer device dependencies. The type of printer that the filter is supporting is determined by the printer configuration file (.pcf file) that is specified by the +C option. The Tru64 UNIX product includes files for a variety of printers. In addition, a template file (/usr/lbin/pcf/template.pcf) is available for the system administrator to customize for use with additional printers. The pcfof filter should be specified for both the of and the if entries in the /etc/printcap file. Use the wwpsof filter when you want to print files in languages for which printer-resident fonts are not available. See the wwpsof(8) ref- erence page for more information. EXIT STATUS
An error has occurred. ERRORS
The /etc/printcap error log field, lf, is used to specify the name of the error log file. SEE ALSO
Commands: cancel(1), lpr(1), pr(1), printer(1), pac(8), thailpof(8), wwpsof(8) Files: printcap(4) Others: i18n_printing(5) System Administration pcfof(8)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy