Operating System - HP-UX
1836604 Members
1929 Online
110102 Solutions
New Discussion

Re: recovring the .profle

 
Pando
Regular Advisor

recovring the .profle

hi Gurus,

Is it possible to recover the root .profile using frecover?
7 REPLIES 7
Sudeesh
Respected Contributor

Re: recovring the .profle

Hi
Do you have a backup?


Sudeesh
The most predictable thing in life is its unpredictability
renarios
Trusted Contributor

Re: recovring the .profle

Hi Fernando,

Yes it is possible. It is only read when logging in.
Success recovering!

Renarios
Nothing is more successfull as failure
Naveej.K.A
Honored Contributor

Re: recovring the .profle

Hi,

frecover can only be used to recover/restore if backed up using the fbackup command

frecover -f /dev/rmt/0m -xv -i /home/root/.profile

Regards,
Naveej
practice makes a man perfect!!!
Joseph Loo
Honored Contributor

Re: recovring the .profle

hi,

if u have really lost it and cannot be recover, another place to look for is at /etc/skel/.profile which u have to modify to suit your previous profile.

regards.
what you do not see does not mean you should not believe
Suraj Singh_1
Trusted Contributor

Re: recovring the .profle

Yes, it is very much possible, provided the backup you have taken us using fbackup.

Regards
What we cannot speak about we must pass over in silence.
Sudeesh
Respected Contributor

Re: recovring the .profle

if you dont have a backup, me too will prefer copieng from /etc/skell.

Sudeesh
The most predictable thing in life is its unpredictability
Muthukumar_5
Honored Contributor

Re: recovring the .profle

If you have backup then you can able to recover always :) when backup is healthy.

If you have configured .profile then your memory only source if u don't have backup. You can get model profile from /etc/skel/.profile file.

Easy to suggest when don't know about the problem!