Sponsored Content
Operating Systems Solaris create command aliases for a user Post 302196363 by sparcguy on Sunday 18th of May 2008 03:25:47 AM
Old 05-18-2008
do a man alias
 

9 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 Advanced & Expert Users

Other than root user .Normal user is unable to create files

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)
Discussion started by: mallesh
1 Replies

3. Shell Programming and Scripting

bash aliases and command chaining with ; (semi-colon)

What am I doing wrong here? Or is this not possible? A bug? alias f='find . >found 2>/dev/null &' f ; sleep 20 ; ls -l -bash: syntax error near unexpected token `;' (2 Replies)
Discussion started by: star_man
2 Replies

4. UNIX for Dummies Questions & Answers

Aliases wont work after set command

Hi, I have setup my .profile with some helpful aliases and some set commands in it. I have it as: alias gr='autorep -G' alias c='clear' alias x='exit' alias wcl='wc -l' alias l1='ls -1 "$@"' alias ll='ls -l "$@"' alias la='ls -altr "$@"' alias l='ls -ltr "$@"' alias ml='m_ls -ltr... (5 Replies)
Discussion started by: grep_me
5 Replies

5. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

6. AIX

How to create permanent Aliases?

Hi All Under my root directory I have a file called Aliases. It is owned by root (root:root) and the user (I mean root) has rwx permissions. In this file I have set some aliases like the following alias a="cd /opt/IBM/WebSphere/AppAerver/Profiles" When I run the above alias command from... (0 Replies)
Discussion started by: chrs0302
0 Replies

7. Shell Programming and Scripting

Create user with access only to one command

Hi all, Is there any way to create linux user with access only one defined command? For example, I want new user has access only to ls command. (7 Replies)
Discussion started by: nypreH
7 Replies

8. Shell Programming and Scripting

Need one line command to create and set password for new user...

Using useradd abc --password password (5 Replies)
Discussion started by: Jagruti Rml
5 Replies

9. OS X (Apple)

Don't understand the practical difference between command aliases and environmental variables

Hey, I'm recently learning Unix from the video course by Kevin Scoglund. I'm stuck at the moment where he goes into Environmenat variables. I have some issues with understanding what's the essential difference between EV and command aliases: for instance, by writing the command alias ll='ls... (3 Replies)
Discussion started by: scrutinizerix
3 Replies
add entry(1m)															     add entry(1m)

NAME
add entry - Adds a name service entry to the name service database SYNOPSIS
rpccp add entry entry-name [-s syntax] OPTIONS
Indicates the name syntax of the entry name (optional). The only value for this option is the dce name syntax, which is the default name syntax. Until an alternative name syntax becomes available, specifying the -s option is unnecessary. ARGUMENTS
Specifies the name of the target name service entry. For an entry in the local cell, you can omit the cell name and specify only the cell- relative name. DESCRIPTION
The add entry command adds an unspecialized entry to the name service database. The name of the entry is required. The new entry initially contains no NSI attributes. This command creates a general name service entry for an application or user. The application or user can later use the export, add element, and add member commands to make the generic entry into a server entry, a group, or a profile (or a combination), as follows: For a server entry, specify the new entry as the target entry for the rpccp export command. For a group, specify the new entry as the target group for the rpccp add member command. For a profile, specify the new entry as the tar- get profile for the rpccp add element command. The add entry command enables administrators to add entries for users who lack the required permissions. If you have the permissions required by the add entry command, you can also add an entry using an export, add member, or add element command; if the entry you specify does not exist, the command creates the entry. Privilege Required To add an entry, you need insert permission to the parent directory and both read permission and write permission to the CDS object entry (the target name service entry). NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLES
The following commands start RPCCP and add an unspecialized entry to the name service database: $ rpccp rpccp> add entry > /.:/LandS/anthro/Cal_host_2 The following command operates from the system prompt to add an unspecialized entry to the name service data- base: $ rpccp add entry > /.:/LandS/anthro/Cal_host_3 RELATED INFORMATION
Commands: remove entry(1m), show entry(1m) add entry(1m)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy