GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System  >  Solaris Admin
Go To First  |  Previous Question  |  Next Question 
 Solaris Admin  |  Question 180 of 189    Print  
User Creation
What are ways we can create users in Solaris?


  
Total Answers and Comments: 2 Last Update: May 04, 2009     Asked by: krishnakumar2012 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: xabiullah
 
There are 3 ways to create users:
   1. Using  `useradd` command
   2. Using   `smuser` command
   3. Adding user by modifying the following files:
           a. '/etc/passwd'
           b. '/etc/groups'
    Then, Updating the '/etc/shadow' file by executing 'passwd user_name'  command.


Above answer was rated as good by the following members:
pnwdigital
March 31, 2009 08:11:05   #1  
utpalsarkar Member Since: September 2008   Contribution: 6    

RE: User Creation
1. Using "useradd" command.

2. Manually editing the /etc/passwd /etc/group create home directory manually change perm to 700 to home dir copy all file from /etc/skel to home dir and last change the password with passwd command.

 
Is this answer useful? Yes | No
May 04, 2009 14:45:40   #2  
xabiullah Member Since: May 2009   Contribution: 5    

RE: User Creation
There are 3 ways to create users:
1. Using `useradd` command
2. Using `smuser` command
3. Adding user by modifying the following files:
a. '/etc/passwd'
b. '/etc/groups'
Then Updating the '/etc/shadow' file by executing 'passwd user_name' command.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

max change 
Latest Answer :  /etc/shadow file contain this in formation  ...

The hardware-level user interface that you see before the operating system has been started is called:
open boot 

Given the following command: lp -d sparky -q 0 fastfile the file fastfile will be sent to the printer by user sparky with a high priority?
False 

^d 
Latest Answer : Control + D ...

PROM= Post, Generic Device Drivers, User Interface, Default Parameters NVRAM= Eeprom, Time of Day, Ehternet Addss, Hostid & Battery 
Latest Answer : NVRAM1.important hardware element2.removable chip is often located on the main system board3.contains EEPROM4.EEPROM  stores user -configured parameters  that have been changed or customized from the boot  PROM S  default parameters ...

When this is set on a directory, only the file in that directory can be removed or renamed if:1. User owns the directory2. User owns the file3. Super User 
Latest Answer : It is the one utility in Solaris, by this we need to restrict the users to delete the files & dir in the file system (mount point). Only the authorised users can access. ...

All users cron jobs are stored as files in this location /var/spool/cron/crontab/Username 
Latest Answer : The above would work.  You could also run: crontab -l Username ...

When user login into solaris 8 it is repeatedly asking for user name and password.What could be the reason and what files has to be checked to fix this and which log file we have to refer to know more details about the problem?

Latest Answer : passwd -f username ...
Read Answers (1) | Asked by : Anil Attarde

How the password get updated in shadow file , though it is having read permission? 
Latest Answer : in /sbin/passwd file SGID is set, reason which we can update the password. ...


 Sponsored Links

 
Related Articles

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.  By understanding the different technologies that are available, one is able to use them and impleme
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

How Ajax Can Become as User Friendly as Flash

How Ajax Can Become as User Friendly as Flash There are a number of reasons why Flash has become so popular on the web today and this lies in the fact that users don t have to reload the page Products such as Flash Remoting will allow users to access the background server and Ajax can do the same th
 

CSS3 Links Creation and Usage

CSS3  Links Creation and Usage Links are very vital for any web page to navigate through the site and so is also with CSS3 In CSS3 it is possible to handle links even more powerful and effectively as it is possible to handle various states of links which are link visited hover and active s
 

How To Determine If Your CRM System Will Fail

How To Determine If Your CRM System Will Fail One of the primary reasons why many CRM systems fail is because of the quality of the data Even if you are using a high end CRM system your company will have no chance of success if it is processing data that is incorrect or faulty Fortunately data quali
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape