root profiles


 
Thread Tools Search this Thread
Operating Systems Linux root profiles
# 1  
Old 12-25-2005
root profiles

DOES ROOT USER HAS A PROFILE?
JUST LIKE .PROFILE FOR EVERY USER?

i UNDERSTAND AS A SECURITY REASON THAT IS GENERALLY NOT AVAILABLE?
DOES ANYBODY KNOW HOW IT IS A SECURITY THREAT?

IF WE DONT HAVE A .PROFILE FILE, THEN WHENVER WE EXPORT A VARIABLE OR DO SIMILAR STUFF, IN WHICH FILE IS THAT WRITTEN?

PLEASE ENLIGHTEN ME :?

PENGUIN
# 2  
Old 12-29-2005
I think root user have profile in / folder i.e /.profile...

also the common profile /etc/profile will be sourced by default if root shell is ksh.
# 3  
Old 12-29-2005
Most recent Linux distributions use a home directory for root of /root

You can check this with
# awk -vFS=':' '/^root/ {print $6}' /etc/passwd
/root

Again, most Linux distributions have root set up to use bash
# awk -vFS=':' '/^root/ {print $7}' /etc/passwd
/bin/bash

If you look in roots home directory, you'll see .bash_profile
# ls -la $HOME/.bash_profile
-rw-r--r-- 1 root root 234 Jul 6 2001 /root/.bash_profile

This all depends on a few things (particular Linux distro, security policy at your site, how your sysadmin wants things done, etc, etc)

Cheers
ZB
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Help with multiple profiles for lpar

Hi I have a doubt. Imagine an aix lpar named "sitsapfs" having 2 different profiles. If in case if it goes down suddenly how we will come to know under which profile it has been running before going down ? (3 Replies)
Discussion started by: newtoaixos
3 Replies

2. Shell Programming and Scripting

Difficult transposing of data from profiles blocks

Hello to all, I really hope some expert or awk guru could help me with this. I don't have how to begin and hope is not so difficult for somebody. I'll expecting how someone could resolve this problem I have to parse this. I have blocks of parameters for each MSISDN and I would like to extract... (9 Replies)
Discussion started by: Ophiuchus
9 Replies

3. Programming

Integrating website member’s profiles?

Hi! I have an accessible website with many register members. I am wondering if you could help me in taking the first step to integrate associate profiles/message to my new and advance database Is this something that should be coded from scratch? Or is there existing software that I can integrate... (1 Reply)
Discussion started by: AimyThomas
1 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. UNIX and Linux Applications

Combine firefox history from 2 different profiles

How do you combine firefox history from 2 different profiles? I discovered that firefox stores your history in places.sqlite but I don't understand how to use that file. (1 Reply)
Discussion started by: cokedude
1 Replies

6. UNIX for Dummies Questions & Answers

Regarding Profiles.

Hello, Actually I donno anything regarding profiles in Linux. Can anyone tell me what are Profiles in Linux and if possible copy links regarding so. Thanks in advance. (0 Replies)
Discussion started by: ashok.g
0 Replies

7. UNIX for Dummies Questions & Answers

Profiles for users without home directory

Hi I want to know which profile will be called when a user without home directory is created. When I created a user without home directory(by setting in /etc/default/useradd), the user is able to login directly into the main "/" folder but with only read permissions. Thanks naina (3 Replies)
Discussion started by: naina
3 Replies

8. Windows & DOS: Issues & Discussions

Terminal Services profiles

Hi guys i'm new in windows 2000 server so please bear with me. My quiestion is how can you remove all the icons and even the start menu using terminal services. I have a windows xp machine that is part of a domain i installed terminal services. I can login no problem but i want to be able to... (2 Replies)
Discussion started by: josramon
2 Replies
Login or Register to Ask a Question