Sponsored Content
Operating Systems AIX How to set path for the EDITOR variable? Post 302075791 by heprox on Tuesday 6th of June 2006 09:39:44 PM
Old 06-06-2006
Question How to set path for the EDITOR variable?

For some reason something has changing in my AIX environment where when I type:

ACLEDIT filename

...I get:

3002-104 acledit: EDITOR environment variable must be full pathname

I know I need to reset the EDITOR variables path to /usr/bin/vi but I can't remember the syntax anyone?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Set Path variable in c shell

I set my path environment variable in c shell, using the syntax below setenv PATH "${PATH}:/usr/local:/usr/local/bin" and placed this in $HOME/.login $HOME/.cshrc and /etc/.login /etc/.cshrc but when I issued echo $PATH or set command the output does not reflect changes made to... (5 Replies)
Discussion started by: hassan2
5 Replies

2. UNIX for Advanced & Expert Users

How does the PATH and MANPATH environment variable get set?

Hi, How does the PATH and MANPATH environment variable get set? I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable. I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies

3. UNIX for Dummies Questions & Answers

set variable PATH

Hi, i know that this topic discussed for many times but although i had researched them i couldnt succeed in my problem. i am following a step-by-step instruction guide and must do the following: ------------- To ensure access, set the path PATH $ORACLE_HOME/perl/bin:$PATH and set the Perl... (2 Replies)
Discussion started by: merope
2 Replies

4. UNIX for Dummies Questions & Answers

PATH variable set incorrectly?

I've noted that in order to use commands like ifconfig, I have to prefix the commands with the directory. /etc/profile shows that the paths should be part of the PATH environment variable; any idea where the bug is? :confused: # /etc/profile # System wide environment and startup... (1 Reply)
Discussion started by: jon80
1 Replies

5. Shell Programming and Scripting

Unable to set my PATH variable

Hello All, Hope you can understand my problem from the below code. $ cat ~/.profile PS1=`whoami`@`hostname`':$PWD $ ' export PATH="$PATH:.:/logarchive/utility/util:/usr/sbin:" $ echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:.:/usr/sbin: $ echo $SHELL /usr/bin/ksh ... (6 Replies)
Discussion started by: sathyaonnuix
6 Replies

6. Shell Programming and Scripting

Parse output path to set variable

I am looking to parse a text file output and set variables based on what is cropped from the parsing. Below is my script I am looking to add this feature too. All it does is scan a certain area of users directories for anyone using up more than X amount of disk space. It then writes to the... (4 Replies)
Discussion started by: es760
4 Replies

7. HP-UX

How to set PATH variable for all HP-UX users when they login using ssh?

Hello friends, I need to set PATH variable for all HP-UX users. I tried to implement it using /etc/profile and /etc/sshrc both none of them work. I don't see sshrc file anywhere. Please advise! TIA (4 Replies)
Discussion started by: prvnrk
4 Replies

8. Shell Programming and Scripting

Set variable to path that does not exist on local host

Can anyone suggest a workaround zone_5.org='/qaz/qwe/path/tns.osn' output /home/bingo/XXX_script.sh: line 180: zone_5.org=/qaz/qwe/path/tns.osn: no parent The path does not exist on the local machine, the allocation used to work till the server was upgraded. Red Hat Enterprise Linux... (2 Replies)
Discussion started by: squrcles
2 Replies

9. Shell Programming and Scripting

ksh - variable to be set to windows path issue

Greetings Experts, I need to pass a parameter to ksh and the value is windows path eg: sh abc.txt C:\Users\chill3chee\Desktop No matter I try with \ delimiter, still could not get this exact value assigned to the shell variable which was checked with echo. Tried with using... (2 Replies)
Discussion started by: chill3chee
2 Replies

10. Shell Programming and Scripting

Find a file and set path in variable?

Hi Folks - I was wondering if you could help convert batch code in Linux? For instance, I use the following piece of code in DOS to find a file/executable, and then the FULL path as a variable. ::-- If startMaxl.exe exists, set full path --:: for %%D in (c d e f g h i j k l m n o p q r s t... (4 Replies)
Discussion started by: SIMMS7400
4 Replies
Commands Reference, Volume 1, a - c

acledit_Command

  Purpose

   Edits the access control information of a file.

  Syntax

   acledit [ -t ACL_type ] [ -v ] FileObject

  Description

   The	acledit command lets you change the access control infor-
mation of the
   file specified by the FileObject parameter. The  command  dis-
plays the
   current  access  control  information  and lets the file owner
change it with
   the editor specified by the EDITOR environment  variable.  Be-
fore making any
   changes permanent, the command asks if you want to proceed.

   Note:
   The	EDITOR environment variable must be specified with a com-
plete path
   name; otherwise, the acledit command will  fail.  The  maximum
size of the
   ACL data is dependent on the ACL type.

   The	access	control  information displayed depends on the ACL
type
   associated with the file system object. Information	typically
includes
   access  control  entries displayed for owner and others. Also,
file mode
   bits associated with the object could be displayed.

   The following is an example of the access control  information
of a file:

	 attributes: SUID
	 base permissions:
     owner  (frank): rw-
     group (system): r-x
     others	   : ---
	 extended permissions:
     enabled
	 permit    rw-	  u:dhs
	 deny	   r--	  u:chas,    g:system
	 specify   r--	  u:john,    g:gateway, g:mail
	 permit    rw-	  g:account, g:finance

     Note: If the acledit command is operating in a trusted path,
the editor
     must have the trusted process attribute set.

  Flags

      This optional input specifies the ACL type in which the ACL
data will
      be  stored at the end of the ACL editing process. If no op-
tion is
      specified, then the ACL currently associated with the  file
system
      object  will  be	edited	in its ACL type format. If an ACL
type is
   -t specified with this flag, then it is assumed that  user  is
trying to
      modify  the current ACL type and store the ACL in a new ACL
type format.
      When this flag is specified and the ACL type does not match
the type
      that exists currently, it is expected that user will modify
the
      contents of the ACL data to format into the  new	ACL  type
specific
      format before saving.
      Displays the ACL information in Verbose mode. Comment lines
will be
      added to explain more details about the ACL associated with
the FS
   -v  object. These comment lines are generated when the command
is executed
      and do not reside anywhere persistently. Hence, any modifi-
cations to
      the same will be lost when acledit is exited.

  Security

   Access Control: This command should be a standard user command
and have
   the trusted computing base attribute.

   Files Accessed:

   Mode   File
   x	  /usr/bin/aclget
   x	  /usr/bin/aclput

   Auditing Events: If the auditing subsystem has  been  properly
configured
   and	is enabled, the acledit command will generate the follow-
ing audit
   record (event) every time the command is executed:

   Event      Information
   FILE_Acl   Lists access controls.

   See "Setting up Auditing" in Security for more  details  about
how to
   properly  select  and group audit events, and how to configure
audit event
   data collection.

  Examples

   To edit the access control information of the plans file,  en-
ter:

	 acledit plans

  Files

   /usr/bin/acledit		  Contains the acledit command.

  Related Information

   The aclget command, aclput command, auditpr command, chmod
   command.

   Access  control  lists  in Operating system and device manage-
ment.

   The Auditing Overview in Security explains more  about  audits
and audit
   events.

   For	more information about the identification and authentica-
tion of users,
   discretionary access control, the trusted computing base,  and
auditing,
   refer to Securing the network in Security.

________________________________________________________________________________

		      Commands Reference, Volume 1, a - c

acledit_Command

  Purpose

   Edits the access control information of a file.

  Syntax

   acledit [ -t ACL_type ] [ -v ] FileObject

  Description

   The acledit command lets you change the access control  infor-
mation of the
   file  specified  by the FileObject parameter. The command dis-
plays the
   current access control information and  lets  the  file  owner
change it with
   the	editor	specified by the EDITOR environment variable. Be-
fore making any
   changes permanent, the command asks if you want to proceed.

   Note:
   The EDITOR environment variable must be specified with a  com-
plete path
   name;  otherwise,  the  acledit command will fail. The maximum
size of the
   ACL data is dependent on the ACL type.

   The access control information displayed depends  on  the  ACL
type
   associated  with the file system object. Information typically
includes
   access control entries displayed for owner and  others.  Also,
file mode
   bits associated with the object could be displayed.

   The	following is an example of the access control information
of a file:

	 attributes: SUID
	 base permissions:
     owner  (frank): rw-
     group (system): r-x
     others	   : ---
	 extended permissions:
     enabled
	 permit    rw-	  u:dhs
	 deny	   r--	  u:chas,    g:system
	 specify   r--	  u:john,    g:gateway, g:mail
	 permit    rw-	  g:account, g:finance

     Note: If the acledit command is operating in a trusted path,
the editor
     must have the trusted process attribute set.

  Flags

      This optional input specifies the ACL type in which the ACL
data will
      be stored at the end of the ACL editing process. If no  op-
tion is
      specified,  then the ACL currently associated with the file
system
      object will be edited in its ACL type  format.  If  an  ACL
type is
   -t  specified  with this flag, then it is assumed that user is
trying to
      modify the current ACL type and store the ACL in a new  ACL
type format.
      When this flag is specified and the ACL type does not match
the type
      that exists currently, it is expected that user will modify
the
      contents	of  the  ACL data to format into the new ACL type
specific
      format before saving.
      Displays the ACL information in Verbose mode. Comment lines
will be
      added to explain more details about the ACL associated with
the FS
   -v object. These comment lines are generated when the  command
is executed
      and do not reside anywhere persistently. Hence, any modifi-
cations to
      the same will be lost when acledit is exited.

  Security

   Access Control: This command should be a standard user command
and have
   the trusted computing base attribute.

   Files Accessed:

   Mode   File
   x	  /usr/bin/aclget
   x	  /usr/bin/aclput

   Auditing  Events:  If the auditing subsystem has been properly
configured
   and is enabled, the acledit command will generate the  follow-
ing audit
   record (event) every time the command is executed:

   Event      Information
   FILE_Acl   Lists access controls.

   See	"Setting  up Auditing" in Security for more details about
how to
   properly select and group audit events, and how  to	configure
audit event
   data collection.

  Examples

   To  edit the access control information of the plans file, en-
ter:

	 acledit plans

  Files

   /usr/bin/acledit		  Contains the acledit command.

  Related Information

   The aclget command, aclput command, auditpr command, chmod
   command.

   Access control lists in Operating system  and  device  manage-
ment.

   The	Auditing  Overview in Security explains more about audits
and audit
   events.

   For more information about the identification and  authentica-
tion of users,
   discretionary  access control, the trusted computing base, and
auditing,
   refer to Securing the network in Security.
All times are GMT -4. The time now is 09:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy