Share your knowledge at the LQ Wiki.
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 09-25-2008, 03:41 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 12

Rep: Reputation: 0
useradd comand profiles for set the accounts

dear all,

i want to know where the file having the default setting of a user account profile while running the command #useradd loads
in the /etc/ Directory....

Old 09-25-2008, 05:04 AM   #2
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Hi Vinit,

You can find the files in /etc/skel directory which are used while creating new user to inherit the profile.

[root@station1 ~]# ls -la /etc/skel/
total 48
drwxr-xr-x 2 root root 4096 Jul 11 21:25 .
drwxr-xr-x 93 root root 12288 Sep 25 18:53 ..
-rw-r--r-- 1 root root 24 Jul 12 2006 .bash_logout
-rw-r--r-- 1 root root 176 Jul 12 2006 .bash_profile
-rw-r--r-- 1 root root 124 Jul 12 2006 .bashrc
[root@station1 ~]#

Please let me know if this is the solution you are looking for.

Ajay Shahi

Last edited by; 09-25-2008 at 05:20 AM.


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
How to set password when creating user accounts correro Linux - Newbie 3 02-08-2007 03:32 AM
sendmail set up for email accounts banner Linux - General 1 07-05-2005 09:19 AM
useradd locking accounts? evilchild Debian 2 04-26-2005 10:37 AM
set logon password without useradd? ldp Linux - Security 2 01-22-2005 08:12 PM
New windows installation doesn't set up profiles with samba server drjekyll Linux - Newbie 2 05-25-2004 01:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 AM.

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