I created a new user and assigned a certain home dir to tis user. I've noticed that this home dir (/export/home/test) is already assigned to other users. I really want to create a dedicated home dir for the new user. Can anyone tell me how I can modify this user with a new homedir?
Thx for... (4 Replies)
Hi
I am trying to display the home directory of another user. I dont have the permissions to change into their directory and wonder is it possible to display their directory
eg I cant change directory to john but I am trying to display something like /home/John.
If anyone can help I would... (3 Replies)
Hello,
i need to create a user who's access is restricted only to his home directory and below,
i restricted his pty access by adding 'no-pty' to the options of the ssh key in authorized_keys file. However, sftp access still allows this user access to all my file system
thanks (5 Replies)
Hi!
i'm using FreeBSD 6.2 and hosting my pc to frens
in particular of sensitive information being saved to the PC, i would like to know is it possible for me to restrict user access to their /home dir. only?
and also, i wanted to restrict them listing files under /etc
thanks all! (10 Replies)
Hello there
Have anyone configured an AIX 5L machine as NIS client? with homedirectories automounted form an NFS share?
The NIS server is running Solaris. I am able to configure the AIX machine as client and user is able to login but
I have configured the client to use the automountd... (0 Replies)
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
HPUX does not recognise \h,\w,\u to display the hostname,working directory and username respectively.
So how do i set the PS1 variable to display my current working Directory as my prompt?
I also tried PS1=$PWD,
But it keeps showing the same directory path as prompt which PWD was holding at... (3 Replies)
HI all,
I have wrongly given a wrong home directory to a user. This dir is very critical for my production environment(Can;t afford to lose it for a single minute)
Now i want to delete that user,
Whenever i try to delete user it tries to delete its home dir.
Commnd i use:
userdel
... (9 Replies)
Hi all
I wanted to change the home dir for a user, but when using smh :
SMH->Accounts for Users and Groups->Local Users->Modify User
----------------------------------------------------------------------------------------------------------------------------------------------
* Required... (8 Replies)
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
LEARN ABOUT CENTOS
mkaf
MKAF(1) General Commands Manual MKAF(1)NAME
mkaf - create a Performance Co-Pilot archive folio
SYNOPSIS
$PCP_BINADM_DIR/mkaf [findopts] filename ...
DESCRIPTION
A collection of one or more Performance Co-Pilot (see PCPIntro(1)) archive logs may be combined with mkaf to produce a PCP archive folio
and the associated archive folio control file. Some PCP tools use mkaf to create archive folios, e.g. the ``record'' facility in the
pmchart(1) and pmview(1) tools, to facilitate playback with pmafm(1).
mkaf processes each filename argument, and if this is a component file from a PCP archive that archive is added to the folio.
If filename is a directory, then this is searched recursively using find(1). Any filename argument beginning with a ``-'' is assumed to be
a find(1) command line option (findopts); the default is -follow if no findopts are specified.
The first named archive in the folio is assumed to be associated with the default host for any tool that tries to replay multiple archives
from the folio.
The folio control file is written to standard output, and has the following format.
1. The first line contains the word PCPFolio.
2. The second line contains the tag Version: followed by the format version number (currently 1).
3. For subsequent lines, blank lines and lines beginning with ``#'' are ignored.
4. The line beginning with the tag Created: documents where and when the folio was created.
5. The line beginning with the tag Creator: identifies the tool which created the folio (and is assumed to know how to replay the archive
folio). If present, the second argument is the name of a configuration file that the creator tool could use to replay the archive
folio, e.g. with the replay command for pmafm(1). In the case of mkaf (unlike pmchart(1) or pmview(1)) there is no knowledge of the
contents of the archives, so the ``creator'' cannot replay the archive, however pmchart(1) is able to replay any archive, and so this
tool is identified as the Creator: for archive folios created by mkaf(1).
6. This is then followed by one or more lines beginning with the tag Archive: followed by the hostname and base name of the archive.
For example
$ mkaf mydir/gonzo
might produce the following folio control file.
PCPFolio
Version: 1
# use pmafm(1) to process this PCP archive folio
#
Created: on gonzo at Tue Jul 2 03:35:54 EST 1996
Creator: pmchart
# Host Basename
#
Archive: gonzo mydir/gonzo/960627
Archive: gonzo mydir/gonzo/960628
Archive: gonzo mydir/gonzo/960629
Archive: gonzo mydir/gonzo/960630
Archive: gonzo mydir/gonzo/960701
Archive: gonzo mydir/gonzo/960701.00.10
Archive: gonzo mydir/gonzo/960701.05.25
Archive: gonzo mydir/gonzo/960702.00.10
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
SEE ALSO find(1), PCPIntro(1), pmafm(1), pmchart(1), pmview(1), pcp.conf(5) and pcp.env(5).
DIAGNOSTICS
Some informational messages, warnings and pathological conditions are reported on standard error.
Performance Co-Pilot PCP MKAF(1)