Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-15-2002, 11:54 AM   #1
LQ Newbie
Registered: May 2002
Location: canada
Distribution: Redhat Linux 7.2
Posts: 6

Rep: Reputation: 0
bash logout profile rc cs emacs sreenrc

hello folks, you have a real newbie on your hands here. I recently opened a dedicated redhatlinux 7.2, W apache server to host websites for artists in my community, Ive had a few bumps getting started. I am tring to set up mail for a new user, and have discovered that there doesn't appear to be binbash logout profile rc cs emacs or screenrc files in their home directory. - BUT there are these files in another users directory, but they are for an id that I used in an earlier attempt to set up the new user.

so user 502 has "binbash,logout,profile" et all files in a home directory that is document root for my web page. but user 503 doesnt seem to have these files anywhere.

Im assuiming this is a real mess - and want to clean it up before i add a new user. I have root, but was wondering if I could create a new user for the id 502 (in my webmin user list no 502 user is listed) and then somehow re-create those files for user 503 in their home directory.

Old 05-15-2002, 04:50 PM   #2
Registered: May 2002
Posts: 172

Rep: Reputation: 30
look at /etc/skel
skeleton dir for new users
and create there the files for all your new users
Old 05-15-2002, 08:01 PM   #3
LQ Newbie
Registered: May 2002
Location: canada
Distribution: Redhat Linux 7.2
Posts: 6

Original Poster
Rep: Reputation: 0
well - i dont know exactly how i did it but i restored the correct users to the corect home directories, and this time i didnt crash the server.

Im using webmin - so i just created a new user with a uid of 502 in the correct home directory it seemed to overwrite the files.

I looked in /etc/skel and the files that were there appeared only to be sample files?

can anyone tell me what the bin bash logout ... files actually do?

Ive scouraged the net and am a bit vague still on their functions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
'logout' inserted in profile cryo70 Linux - Security 6 09-19-2005 05:01 PM
howto re-load my ~/.profile without logout? minike Slackware 4 09-18-2005 12:36 AM
bash and user profile maxoo Slackware 1 08-05-2004 06:19 AM
bash profile stuff gauge73 Linux - Newbie 7 01-05-2004 01:54 AM
where is my bash profile? bandofmercy Linux - General 3 04-08-2003 05:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 PM.

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