LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-11-2008, 02:21 PM   #1
tcsenthil
LQ Newbie
 
Registered: May 2008
Location: Bangalore
Posts: 10

Rep: Reputation: 0
provide some examples


Hi,

Could you please provide some examples for the following usermod options

d home directory
-s starting program (shell)
-p password
-m (Create the user’s home directory

By

senthil
 
Old 06-11-2008, 02:33 PM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
man usermod
 
Old 06-11-2008, 02:44 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Homework detector is beeping......

Why not tell us what you are trying to do, and what aspect of the documentation you don't understand?
 
Old 06-11-2008, 02:47 PM   #4
tcsenthil
LQ Newbie
 
Registered: May 2008
Location: Bangalore
Posts: 10

Original Poster
Rep: Reputation: 0
hi

[QUOTE=Randux;3181771]man usermod[/QUOTE

Please provide examples like usermod -g mygroud user1, user2 for the above options. I have tried but am not getting correct output.
 
Old 06-11-2008, 02:52 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
[QUOTE=tcsenthil;3181782]
Quote:
Originally Posted by Randux View Post
man usermod[/QUOTE

Please provide examples like usermod -g mygroud user1, user2 for the above options. I have tried but am not getting correct output.
Show us what you tried and what the problem was!!!
 
Old 06-12-2008, 09:25 AM   #6
tcsenthil
LQ Newbie
 
Registered: May 2008
Location: Bangalore
Posts: 10

Original Poster
Rep: Reputation: 0
its working fine.

ya i got result.
 
Old 06-13-2008, 06:39 AM   #7
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Another happy customer
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Examples of PCRE library in C Centinul Programming 11 09-27-2010 05:13 AM
Good Code Examples JMJ_coder Programming 10 09-17-2007 07:05 PM
Mass-Compile C++ examples Worstje Linux - Newbie 0 04-03-2004 04:54 AM
IPTables examples? tarballed Linux - Security 7 12-27-2002 10:07 AM
FYI: need some more iptable examples? unSpawn Linux - Security 1 04-24-2002 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:31 PM.

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