Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A user deleted several files from t

Status
Not open for further replies.

tracee

Technical User
Nov 27, 2001
40
US
A user deleted several files from the system yesterday. Now he is unable to log on. It will accept the password and then loop back to the login prompt. I checked the .profile (compared it to others) nothing seems out of the ordinary. Could you please help me and let me know if there is anything to fix the problem..
Thanks
Tracee
 
Does his home directory exist and are the permissions on it correct? CaKiwi
 
yes, the home directory is fine and permissions look good
 
I had a problem like yours, but was global for all users other than [tt]root[/tt]. Problem was perms on [tt]/[/tt] directory. Users need read and execute permissions on [tt]/[/tt], [tt]/home[/tt], and on their [tt]$HOME[/tt] directories.
I hope it works...
Unix was made by and for smart people.
 
thanks, for the quick response...I will check it out and let you know how it went
 
no, it did not seem to work...thanks anyway
is there anything else I can try?
 
Just give the entry from /etc/passwd file of that user.
 
hi,
which type of login has your user ?

Is he at a workstation with Common Desktop Env ,
or a terminal login or telnet to your server ?

If the user has a simly term. login,
entry in passwd, correct home dir, are enough;

but if he has a desktop login some other things he needs.

In this case, perform 2 operations:

1) check if the user can login in "command line login" mode
or "Failsafe Session" (OPTION in Wlcome panel)

2) if by 2 this mode is ok, enter as root and create
another user as user2 and suppose your user
is called user1:

you will have /home/user1 and /home/user2 as home dir.

Clear all files (save what you need) from user1.

cd /home/user2
find . | cpio -pdm /home/user1
cd /home
chown -R user1:somegroup user1


BYE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top