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 - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-25-2008, 02:41 AM   #1
WW125599
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....

Rgds
vinit.s
 
Old 09-25-2008, 04:04 AM   #2
ajay1982@gmail.com
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 ajay1982@gmail.com; 09-25-2008 at 04:20 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 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