Sponsored Content
Full Discussion: ssh & load custom profile
Top Forums UNIX for Advanced & Expert Users ssh & load custom profile Post 302696883 by jack.bauer on Wednesday 5th of September 2012 02:55:32 PM
Old 09-05-2012
Quote:
Originally Posted by jim mcnamara
Your specifications need some detail, in order for us to help.

1. Do the users who need the custom profile always want to have it available?
2. Are there identifiable user groups or user ids that need the profile?
3. What happens to a user who accidentally gets the profile - what breaks?
4. Are you doing ANYTHING in the profile to change the set of standard UNIX commands,
aliases for commands, PATH changes? (so that some scripts you don't know about will fail, for example)
1. yes
2. there is a powerbroker group that they can sudo into but currently they are sudo'ing into the service account via ssh
3. the user will lose their own custom profile that they would have applied similar to how we apply ours. they would need to re-apply their custom profile should they accidently inherit ours.
4. no. the custom profile consists of aliases and functions designed to perform purpose built tasks. we have been running this profile for a few months without adverse effects

thanks for looking into this
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

executing .profile with ssh

Hi, How do I get all my profile settings when connecting with ssh? (5 Replies)
Discussion started by: rein
5 Replies

2. UNIX for Dummies Questions & Answers

create and load my own .profile

Hello to everyone, This is my first that I use any group in order to find a reply to my question. I would really like your help!!! Do you know how can I create my own .profile file in unix (not edit the existing one) and how can I load it when i open a new bash? I would like those settings... (1 Reply)
Discussion started by: unbalanced
1 Replies

3. UNIX for Advanced & Expert Users

How can I get sudo -u <username> to load that users profile on HP-UX

I am running a serverapplication on a HP-UX machine where I need to handle some of the commands as a specified user called "druser". When I log on as this user with the command; sudo -u druser -sit starts an instance of the shell as that user. However, it doesn't load that users .profile from... (1 Reply)
Discussion started by: ukiome
1 Replies

4. UNIX for Dummies Questions & Answers

Permit sftp load /etc/profile on AIX6.1

Hi, I've set on /etc/profile: TMOUT=3600 readonly TMOUT It seems to work when I connect using ssh client, putty for example, but not when connect through sftp. What am I missing on sshd configuration? regards Israel. (2 Replies)
Discussion started by: iga3725
2 Replies

5. AIX

SSH and a users .profile

How do I get a command like "ssh Theuser@host date" to execute the /home/Theuser/.profile before executing the "date" command? (5 Replies)
Discussion started by: IL-Malti
5 Replies

6. Ubuntu

Load Balancing - LB Server & BackEnd1 & BackEnd2

Hello, What I wish to succeed is to setup loadbalancing between two dedicated servers. Here is my case: ======================================================================================================= LB IP (Just an IP address): Provided by hosting company (11.22.33.44) Hosting company... (1 Reply)
Discussion started by: baris35
1 Replies

7. Programming

Remote login UNIX box from java passing parameters to the custom script called in the profile

Hello Good Day / Guten Tag.... I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard. So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() { public String... (1 Reply)
Discussion started by: Sanalkumaran
1 Replies
SABAYON-APPLY(8)														  SABAYON-APPLY(8)

NAME
sabayon-apply - Apply a sabayon profile to a user. SYNOPSIS
sabayon-apply DESCRIPTION
sabayon-apply is a tool to apply a profile created with sabayon . It is typically run as part of the Xsession login scripts. OPTIONS
profile If a profile is manually specified on the command line, that profile mapping will take precedence above the ones in users.xml or groups.xml FILES
/etc/sabayon/users.xml XML file that maps userids to profile mappings /etc/sabayon/groups.xml XML file that maps userids to profile mappings /etc/sabayon/sabayon-debug-log.conf Config file for logging options. /etc/sabayon/profiles/ Directory where profiles are stored. RESOURCES
http://live.gnome.org/Sabayon COPYING
Copyright (C) 2007 GNOME Sabayon authors This program is Free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28/12/2009 SABAYON-APPLY(8)
All times are GMT -4. The time now is 04:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy