04-08-2009
Figured it out just need to add a \ before the #
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone tell me what the charachter maximum on a username is in SunOs 5.6.
Thanks
Mark (1 Reply)
Discussion started by: m.szylkarski
1 Replies
2. UNIX for Advanced & Expert Users
I need a command that returns the usernames that have ran the 10 processes that have taken the most time to execute on a machine.
I also need a command that returns only those directories that have read/execute permissions for all the users. (4 Replies)
Discussion started by: anw68ster
4 Replies
3. Shell Programming and Scripting
Hi,
i want to use grep to extract users with at least 4 characters in their username, i've tried who | grep \{4,\} but thats not working!!!!!!
Thanks (4 Replies)
Discussion started by: c19h28O2
4 Replies
4. Post Here to Contact Site Administrators and Moderators
Under all users, there are some keynames. Some are obvious, like Moderator and Registered User. I have seen others too. What do they mean or signify?;) (2 Replies)
Discussion started by: joeyg
2 Replies
5. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
6. Shell Programming and Scripting
Hello everyone,
I am trying to create a script that will make usernames (last name and first letter of name - for example, James Bond = bondj).
At this point, I figured out how to make a script that can read the list of names from a text file.
Here is what I have:
#!/bin/bash
... (5 Replies)
Discussion started by: RSpades
5 Replies
7. Shell Programming and Scripting
Hello All,
A quick description of what I would like to do;
1) Find all the current registered usernames and loop through them.
2) Display each username 1 by 1 and Ask the user if they would like to store the username in another array (y or n)
3) Display the list of chosen usernames... (4 Replies)
Discussion started by: mmab
4 Replies
8. Solaris
Hi
There is an application installed on a server, that has a unique login account, but many users are using it with the same login name! How can we overcame this by creating individual accounts for the same application login account? (11 Replies)
Discussion started by: fretagi
11 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script that displays all usernames and their UIDs in the following fashion:
name1 uid=999
name2... (2 Replies)
Discussion started by: baniel
2 Replies
LEARN ABOUT HPUX
add_object
add object(1m) add object(1m)
NAME
add object - Adds a value to a modifiable, set-valued attribute (including application-defined attributes) of an object entry
SYNOPSIS
cdscp add object object-name attribute-name = attribute-value
ARGUMENTS
The full name of the object entry. The name of a particular attribute. Specify only one attribute at a time. See the cds_attributes file
for the list of attributes and corresponding data types that your application uses. The value of a particular attribute. The value of an
application-defined attribute is dependent on the type of attribute.
DESCRIPTION
The add object command adds a value to a modifiable, set-valued attribute (including application-defined attributes) of an object entry.
If the attribute does not exist, this command creates it. Usually, this task is performed through the client application. See the DCE
Administration Guide for more information about attributes.
Privilege Required
You must have write permission to the object entry.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
To add the value ps to the attribute printcap of an object entry named /.:/subsys/deskprinter, read the cds_attributes file to verify that
the attribute shown in the following display exists:
OID LABEL SYNTAX
1.3.22.1.3.70 printcap char
Enter the following command to assign the value ps to the attribute printcap: cdscp> add object /.:/subsys/deskprinter printcap = ps
RELATED INFORMATION
Commands: create object(1m), delete object(1m), list object(1m), remove object(1m), set object(1m), show object(1m)
Books: OSF DCE Administration Guide
add object(1m)