Sponsored Content
Full Discussion: bash profile question
Operating Systems Linux Red Hat bash profile question Post 302559284 by bitlord on Monday 26th of September 2011 03:25:34 PM
Old 09-26-2011
Thanks I'm looking at this file as well as /etc/bashrc
 

10 More Discussions You Might Find Interesting

1. AIX

Changing user profile - Newbie question

Hi guys, I am very very new to AIX, (actually today I entered an AIX server for the first time), but I have worked with Solaris a little bit in the past. Today when I entered the system, the first thing I realized is that there was no "/home/" directory created, and instead it took me to a... (1 Reply)
Discussion started by: panchopp
1 Replies

2. UNIX for Dummies Questions & Answers

Setting up Bash profile

Hi, I have a SunOS -s 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 system. I need to set up my .bash_profile. I need to do the following thins. 1) set up history 2) Set up VI as my editor 3) Display the current directory at the prompt. I have tried using the set command, the... (1 Reply)
Discussion started by: kaushys
1 Replies

3. UNIX for Dummies Questions & Answers

Question on .profile login script

Hey everyone, I'am a little new here and experincing Unix for the first time. I was wondering if somone could help me with this question i'am a bit stuck on Looking at the content of .profile login script The .profile file is in your login directory. It is a startup script file... (1 Reply)
Discussion started by: worldsoutro
1 Replies

4. Solaris

How do i permanently set bash profile??

Hi all, I don't want to enter below command on solaris every time. How do i permanently set this command on Solaris. I know that this operation is a piece of cake on redhat because there is a /etc/rc.local file on it. But Solaris ???? bash-3.00#export PS1="\e (2 Replies)
Discussion started by: getrue
2 Replies

5. Solaris

After giving Bash the .profile settings are not working

I am using Solaris ... I have some settings in my .profile and in .profile iam calling some scripts. After i logged in to that box if i gave "bash" and proceed with my shorcuts(alias) are not working . (3 Replies)
Discussion started by: girija
3 Replies

6. Shell Programming and Scripting

Update ksh .profile to launch bash

Hi I don't have chsh option. I want to launch bash instead of ksh ( or launch bash from ksh .profile) how can I do this ? (1 Reply)
Discussion started by: Sivaswami
1 Replies

7. Red Hat

Bash profile

Hi I noticed that my bash profile has duplicate entries. For example there are two entries for the variable $APP_HOME = /app/soft/install $APP_HOME =/app/software/install Will this have any impact ? Please advise (2 Replies)
Discussion started by: nathan_nathan
2 Replies

8. Solaris

Profile file bash

Hi Experts, Profile file was not found for one of the users on solaris box. Default shell is bash for the user. <prod>>:/home/produser::echo $SHELL /usr/bin/bash <prod>>:/home/produser::ls -lta |grep bash -rw------- 1 produser prod 4157 Oct 19 17:32 .bash_history... (1 Reply)
Discussion started by: sai_2507
1 Replies

9. SuSE

/etc/profile and cntlm question

I'm working behind a windows proxy server which requires ntlm. I configured cntlm and it works great as long as i manually run it as root. I tried putting it in /etc/profile and it doesn't run. any thoughts on how to make it run on system boot? thanks in advance, regards. (1 Reply)
Discussion started by: mhahe
1 Replies

10. UNIX for Dummies Questions & Answers

Alias does not work with bash profile

Hi, Below is what i have in my profile: alias wldm='cd /opt/app/wls' If i use bash or ksh shell this alias does not work. What should be done for this alias to work with all these simultaneously -> No Shell, bash shell, and ksh shell (14 Replies)
Discussion started by: mohtashims
14 Replies
prelude-admin(1)					      General Commands Manual						  prelude-admin(1)

NAME
prelude-admin - Manage agents accounts SYNOPSIS
prelude-admin <subcommand> [options] [args] prelude-admin add <profile name> [--uid UID] [--gid GID] prelude-admin chown <profile name> [--uid UID] [--gid GID] prelude-admin del <profile name> prelude-admin rename <profile name> <profile name> prelude-admin register <profile name> <wanted permission> <registration-server address> [--uid UID] [--gid GID] [--passwd=PASSWD>] [--passwd-file=<FILE>] prelude-admin registration-server <profile name> [--uid UID] [--gid GID] [--prompt] [--passwd=PASSWD>] [--passwd-file=<FILE>] [--keepalive] [--no-confirm] [--listen] prelude-admin revoke <profile> <analyzerID> [--uid UID] [--gid GID] DESCRIPTION
In order for an agent to communicate with a manager, it must be registered. Registration involves several steps: - Allocating an unique identity for the agent - Creating directory to be used by the agent (example: failover purpose) - Registering to a remote 'prelude-manager': get a signed X509 certificate that will allow communication between agent and manager using the specified permissions. All these informations are stored in an agent profile. An agent profile is identified by its name. When an agent is started, it will load the profile of the same name as the program itself, that is, if your agent is named "prelude-lml", the agent will load the profile named "prelude-lml". The name of the profile can be overriden using the '--prelude --profile name_of_my_profile' command line option. It is possible to define the profile name so that you can have several instances of one agent running with different permissions, using different profiles. Note that profiles are not specific to agents, but are used in all programs of the Prelude suite (agents, managers, etc). If you are not sure which permission your agent should get, just start it and default permissions will be displayed. OPTIONS
<profile name> is the default name of the agent you are installing or your own defined name. If you start your agent without prior registration, a warning is displayed including the default profile name on how to register the agent. <requested permission> is the permission your agent needs. It is composed of permission attributes (idmef or admin) and access type: read/write (r/w). By default, an agent need permissions for writing IDMEF to a manager, and reading administrative command sent to it. That is : "idmef:w admin:r". <manager address> is the address of the prelude-manager you wish to register. this can either be its IP address or its hostname. If you made a local installation, you can write localhost to connect via unix socket. Remember to use the correct uid/gid when registering your agent. For instance, if you want to register snort (running with snort euid / egid), use --uid snort --gid snort. add <analyzer profile> Setup a new agent user. --uid=UID UID or user to use to setup agent files. --gid=GID GID or group to use to setup agent files. chown <analyzer profile> Change analyzer owner. --uid=UID UID or user to use to setup agent files. --gid=GID GID or group to use to setup agent files. del <analyzer profile> The delete command will remove the agent files created through "add" command. Once this is done, the analyzer can't be used unless "register" or "add" is called again. rename <analyzer profile> <analyzer profile> Rename an existing analyzer. register <profile name> <wanted permission> <registration-server address> Register an analyzer. Register and create the analyzer basic setup if needed. It will also configure communication of this analyzer with a receiving ana- lyzer (like a Manager) through the specified registration-server. --uid=UID UID or user to use to setup analyzer files. --gid=GID GID or group to use to setup analyzer files. --passwd=PASSWD Use provided password instead of prompting it. --passwd-file=-|FILE Read password from file instead of prompting it (- for stdin). registration-server <profile name> Start a registration server to register agents. This is used in order to register 'sending' analyzer to 'receiving' analyzer. <pro- file name> should be set to the profile name of the --uid=UID UID or user to use to setup 'receiving' analyzer files. --gid=GID GID or group to use to setup 'receiving' analyzer files. --prompt Prompt for a password instead of auto generating it. --passwd=PASSWD Use provided password instead of auto generating it. --passwd-file=-|FILE Read password from file instead of auto generating it (- for stdin). --keepalive Register analyzer in an infinite loop. --no-confirm Do not ask for confirmation on agent registration. --listen Address to listen on for registration request (default is any:5553). revoke <profile name> Revoke access to <profile> for the given analyzerID. --uid=UID UID or user to use to setup analyzer files. --gid=GID GID to group to use to setup analyzer files. --help Print help AUTHOR
This man page has been written by Frederic Motte 19 June 2007 prelude-admin(1)
All times are GMT -4. The time now is 08:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy