11-21-2008
Which file has the user profile?
It's been a long time since I've done this and I can't remember which file is needed to edit. I would like to change the prompt for a user on my AIX 5.3 box, but I don't see a .profile file or a rc.ksh file to edit. Which file do I need to edit to get this?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Sorry to I am not familiar with script writing ,
attach is the /etc/profile in my system , we have limit each user can only have one login in the system . When the user login , if the system found the user have a dead process in the system , the system will confirm the user to kill the previous... (1 Reply)
Discussion started by: ust
1 Replies
2. Shell Programming and Scripting
Hello there,
I would like to know how can i prevent a normal user (not root user) from accessing his .profile and editing its information?
Also, how can i prevent this user from deleting a certain file named "script"?
Any help in that?
Thanks in advance, (3 Replies)
Discussion started by: charbel
3 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Im really new with this stuff...could anybody help to guide me ...how do i change/edit user profiile ? (2 Replies)
Discussion started by: gagasan_makmur
2 Replies
4. UNIX for Dummies Questions & Answers
Hi, I want to know how can i find a user when he has logged in and how many times and days (2 Replies)
Discussion started by: darwinscp@hotma
2 Replies
5. IP Networking
Hi I want to know how can i find a user when he has logged in, at what time and how many days, anyone can help me (1 Reply)
Discussion started by: darwinscp@hotma
1 Replies
6. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
7. Shell Programming and Scripting
Hello ,
i am on sles 11, and i can't figure out how can i locate my profile file,
the one that is use for setting the environment when i log in.
oracle@r200:~> cd
oracle@r200:~> pwd
/opt/oracle
oracle@r200:~> echo $SHELL
/bin/bash
oracle@r200:~>
oracle@r200:~> cat .profile
cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I tried creating a .profile file but it is not working even after exiting the session.
But before that I will give a quick background.
I log into UNIX(SUN - ksh) and then SUDO to another user. After that I change DIRECTORY. In this DIRECTORY I tried creating the profile file but it... (4 Replies)
Discussion started by: sumeet
4 Replies
9. UNIX for Dummies Questions & Answers
I want to copy .Profile file from user1 homedirectoryto user2 homedirectory in Aix.
Please help me with the process. (4 Replies)
Discussion started by: Laxxi
4 Replies
LEARN ABOUT CENTOS
perl::critic::userprofile
Perl::Critic::UserProfile(3) User Contributed Perl Documentation Perl::Critic::UserProfile(3)
NAME
Perl::Critic::UserProfile - The contents of the user's profile, often .perlcriticrc.
DESCRIPTION
This is a helper class that encapsulates the contents of the user's profile, which is usually stored in a .perlcriticrc file. There are no
user-serviceable parts here.
INTERFACE SUPPORT
This is considered to be a non-public class. Its interface is subject to change without notice.
CONSTRUCTOR
" new( -profile =" $p ) >
-profile is the path to the user's profile. If -profile is not defined, then it looks for the profile at ./.perlcriticrc and then
$HOME/.perlcriticrc. If neither of those files exists, then the UserProfile is created with default values.
This object does not take into account any command-line overrides; Perl::Critic::Config does that.
METHODS
" options_processor() "
Returns the Perl::Critic::OptionsProcessor object for this UserProfile.
" policy_is_disabled( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns true if the user has disabled that policy in their
profile.
" policy_is_enabled( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns true if the user has explicitly enabled that policy in
their user profile.
" policy_params( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns a Perl::Critic::PolicyConfig for the user's
configuration parameters for that policy.
" raw_policy_params( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns a reference to a hash of the user's configuration
parameters for that policy.
" listed_policies() "
Returns a list of the names of all the Policies that are mentioned in the profile. The Policy names will be fully qualified (e.g.
Perl::Critic::Foo).
" source() "
The place where the profile information came from, if available. Usually the path to a .perlcriticrc.
SEE ALSO
Perl::Critic::Config, Perl::Critic::OptionsProcessor
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-09 Perl::Critic::UserProfile(3)