LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2014, 06:46 AM   #1
lalitkumarsinghania
LQ Newbie
 
Registered: Jan 2014
Location: INDIA
Distribution: Open Source
Posts: 10

Rep: Reputation: Disabled
Cool User profile


Hi,

How we can reset the user profile in RHEL5?
 
Old 01-31-2014, 09:45 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by lalitkumarsinghania View Post
Hi,

How we can reset the user profile in RHEL5?
No idea, since the question is too vague to answer. Are you using LDAP, NIS, or local files? What do you mean by 'user profile', and what do you want to reset??

And since you're using RHEL, have you contacted Red Hat support? You are paying for it with your RHEL subscription...
 
Old 02-03-2014, 02:40 AM   #3
lalitkumarsinghania
LQ Newbie
 
Registered: Jan 2014
Location: INDIA
Distribution: Open Source
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile

OK sir,

My question is that , if a user is asking to reset his profile so . Which files we need to delet from his user /home directory. Becuase their is a difference in newuser creation and profile reset. So could you please help how and what are the step to reset the profile , without hammper any kind of data.
 
Old 02-03-2014, 08:39 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by lalitkumarsinghania View Post
OK sir,
My question is that , if a user is asking to reset his profile so . Which files we need to delet from his user /home directory. Becuase their is a difference in newuser creation and profile reset. So could you please help how and what are the step to reset the profile , without hammper any kind of data.
If you're the systems administrator, you first need to ask this user WHY they need their 'profile' reset. What did they do, and why can't they reset it? A users profile is in that users home directory, and owned by that user...they can read/write to it easily.

And again, your question is still vague. Depending on the users shell, they could have to modify any one of a number of files. These could be .profile, .bashrc, or .bash_profile. And those are just for the BASH shell. Cshell, kshell, etc., have different files. And again, you STILL don't say if you're using LDAP, NIS, or local files for your user authentication. And have you contacted Red Hat support, since you're PAYING FOR IT???
 
1 members found this post helpful.
Old 02-03-2014, 08:50 AM   #5
lalitkumarsinghania
LQ Newbie
 
Registered: Jan 2014
Location: INDIA
Distribution: Open Source
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by TB0ne View Post
If you're the systems administrator, you first need to ask this user WHY they need their 'profile' reset. What did they do, and why can't they reset it? A users profile is in that users home directory, and owned by that user...they can read/write to it easily.

And again, your question is still vague. Depending on the users shell, they could have to modify any one of a number of files. These could be .profile, .bashrc, or .bash_profile. And those are just for the BASH shell. Cshell, kshell, etc., have different files. And again, you STILL don't say if you're using LDAP, NIS, or local files for your user authentication. And have you contacted Red Hat support, since you're PAYING FOR IT???
Thank you so much,

You have given the answer in that .

I am really happy/
 
Old 02-03-2014, 09:38 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by lalitkumarsinghania View Post
Thank you so much,
You have given the answer in that. I am really happy/
Great...so if this solved your problem, why don't you post what you DID, so that others may benefit as well?
 
Old 02-03-2014, 10:04 AM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
and mark thread solved please.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I copy a user profile to another user? michalng Linux - Newbie 12 04-19-2015 05:02 AM
user profile linuxalwayswins Linux - Newbie 4 11-25-2010 05:17 AM
login as other user using shell doesn't load the profile for that user ukiome Linux - General 11 12-19-2009 05:56 AM
system profile vs user profile bonito SUSE / openSUSE 3 06-28-2006 01:02 PM
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration