Sponsored Content
Top Forums UNIX for Dummies Questions & Answers "ap" command not dumping user profiles Post 82387 by rm -r * on Wednesday 31st of August 2005 11:44:20 AM
Old 08-31-2005
"ap" command not dumping user profiles

System = SCO UnixWare 7.1.1

Using the following command...

ap -dgv > users.ap

... I should be able to dump all 250 user profiles to the file "users.ap" and display the results for each account as it is added to the file. The problem is that I only get the following output:

UX:ap: INFO: Account profile dumped for root
UX:ap: INFO: Account profile dumped for daemon
UX:ap: INFO: Account profile dumped for bin
UX:ap: INFO: Account profile dumped for sys
UX:ap: INFO: Account profile dumped for adm
UX:ap: INFO: Account profile dumped for uucp
UX:ap: INFO: Account profile dumped for mail
UX:ap: INFO: Account profile dumped for nuucp
UX:ap: INFO: Account profile dumped for nobody
UX:ap: INFO: Account profile dumped for noaccess
UX:ap: INFO: Account profile dumped for lp
UX:ap: INFO: Account profile dumped for listen
UX:ap: INFO: Account profile dumped for mhsmail
UX:ap: INFO: Account profile dumped for admin
UX:ap: INFO: Account profile dumped for ftp

...and then it just hangs there. Only the results for the system accounts is displayed and I have 250 normal user accounts in /usr and /home and none of their profiles are being dumped to "users.ap".

Any ideas? Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Want to create new users without using "useradd" command and user Interaction.

Don't want to use useradd command to create a new user I am doing manual addition of accounts. Actually I am writing a script and I am working on RedHat7.1 system. What I am trying to do is run the script and pass all the values of the username password and group as command line parameters. Now... (2 Replies)
Discussion started by: syedifti
2 Replies

2. UNIX for Dummies Questions & Answers

"Global" profiles?

Hi, for all of the users on our boxes, we have a .profile in each home directory. That's fine. But I have some PATH statements that I want to apply for ALL users once they log in. And I'm hoping not to have to edit all user's .profile files in each dir on each box. Is there a global or team... (6 Replies)
Discussion started by: amheck
6 Replies

3. Shell Programming and Scripting

communicating wth another user aside from "wall" and "write"

Hi, Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies

4. HP-UX

script running with "ksh" dumping core but not with "sh"

Hi, I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone. And its not dumping core if we run the script using "/bin/sh" instead of "ksh" Can some body please help me how to resolve this issue. ... (9 Replies)
Discussion started by: simhe02
9 Replies

5. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

8. UNIX for Dummies Questions & Answers

What is the significance of sh -s in ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh?

Please can you help me understand the significance of providing arguments under sh -s in > ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. UNIX for Beginners Questions & Answers

How to run root level command , if user has "su -" permission in sudoers provided?

I am looking t run root level command on multiple servers, but all servers have only "su - " permission available in sudoers. please help me if any way that I can run command using help of "su -" My script for hosts in `cat hosts.txt`; do echo "###########################Server Name-... (5 Replies)
Discussion started by: yash_message
5 Replies
SMOLTSENDPROFILE(1)					      General Commands Manual					       SMOLTSENDPROFILE(1)

NAME
smoltSendProfie - Submit Smolt hardware profile to server SYNOPSIS
smoltSendProfile [options] DESCRIPTION
smoltSendProfile program submits the hardware profile of the current machine to the Smoon server. Smolt is a cross-desktop hardware report- ing tool for GNU/Linux based systems. OPTIONS -p, --printOnly Display information only; do not send -a, --autoSend Don't prompt to send; just send -r, --retry Continue to send until success -c, --checkin Automated check-in, suitable for cron-jobs -S, --scanOnly Only scan this machine for known hardware errata; do not send profile --submitOnly Do not scan this machine for known hardware errata; only submit profile -b, --bodhi Submit this profile to Bodhi as well, for Fedora Developmnent -n, --newPublicUUID Request a new public UUID -s SMOON_URL, --server=SMOON_URL Specify the URL of the server -u USERAGENT, --useragent=USERAGENT, --user_agent=USERAGENT Specify HTTP user agent (default "smolt/0.97") -t TIMEOUT, --timeout=TIMEOUT Specify HTTP timeout in seconds (default 60.0 seconds) --uuidFile=UUIDFILE Specify which UUID to use; useful for debugging and testing --username=USERNAME Fedora Account System registration username --password=PASSWORD Fedora Account System registration password (will prompt if not specified) -d, --debug Enable debug information --version Show program's version number and exit -h, --help Show this help message and exit SEE ALSO
smoltDeleteProfile(1), smoltGui(1). AUTHOR
smoltSendProfile was written by Mike McGrath <mmcgrath@redhat.com> and others. This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others). February 27 2008 SMOLTSENDPROFILE(1)
All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy