which file defines the user id shell parameters?


 
Thread Tools Search this Thread
Operating Systems Solaris which file defines the user id shell parameters?
# 1  
Old 05-29-2010
which file defines the user id shell parameters?

hi all
in linux /etc/login.defs is the file which is defining the user id , group id.
/etc/default/useradd is the file which is defining the home directory and shell.

In solaris, which files defines these parameters when i simply give the command "useradd username"

Regards

Kingston S
# 2  
Old 05-29-2010
useradd and usermod are scripts that change /etc/passwd and /etc/shadow and /etc/group

The defintions are in the /etc files: shell is in /etc/passwd.
# 3  
Old 05-29-2010
Also consider to consult the man pages for useradd and usermod, especially the description and files sections.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell script to read lines in a text file and filter user data Shell Programming and Scripting

sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies

2. Shell Programming and Scripting

Shell Script to Dynamically Extract file content based on Parameters from a pdf file

Hi Guru's, I am new to shell scripting. I have a unique requirement: The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this: Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Discussion started by: DIps
3 Replies

3. Shell Programming and Scripting

How the user will provide the parameters for Oracle db connection in a shell script?

I'm new into unix. My question: is possible to write a shell script which will ask for the ORACLE_HOME, ORACLE_SID, USERNAME, PASSWORD to connect to Oracle db. In generally we have to set the ORACLE_HOME in .profile file. And after putting the 'sqlplus' command it asks for the username &... (6 Replies)
Discussion started by: priya001
6 Replies

4. UNIX for Dummies Questions & Answers

shell script with parameters?

hi , I wanted to create a script, and I have no idea how to, and I would appreciate any help on that. Any advice on solving this is welcome. Thanks Here it goes: make a shell script in bash that show the activity of users. The results should be a summary or a complete report in a file.... (2 Replies)
Discussion started by: ubu-user
2 Replies

5. AIX

which setting defines behaviour when paging space runs full ?

Hi, I have a bunch of AIX systems which usually have more than enough memory to live happily. Unfortunately we have on a few of our boxes an rman runaway problem - every now and than after restoring from rman backups, the process goes crazy and eats all memory it could possibly get hold off -... (0 Replies)
Discussion started by: zxmaus
0 Replies

6. Shell Programming and Scripting

Calling sql file from shell script with parameters.

Hi, I am calling a sql file script.sql from shell script and passing few parameters also as shown below: sqlplus -S id/password @script.sql $param1 $param2 Now,In sql file I have to create a extract text file after querying oracle tables based on the parameters passed(param1,param2) as... (7 Replies)
Discussion started by: anil029
7 Replies

7. Shell Programming and Scripting

Parameters for function in Shell script

Hi, I am having a function inside a shell script. The Shell script is called with parameters and one of the parameter is passed to a SQL script inside the function. But when the function is called inside the shell script, the SQL script is not called. Do the shell parameter has to be... (3 Replies)
Discussion started by: srimenon09
3 Replies

8. UNIX for Dummies Questions & Answers

Shell parameters

I need to check the number of input parameters in the K shell script. Also, I want to exit if the no of parameters is not met. How can I do that ? Thanks LS1429 (3 Replies)
Discussion started by: ls1429
3 Replies
Login or Register to Ask a Question