LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack 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: 54
man usermod
 
Old 06-11-2008, 02:44 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
[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: 54
Another happy customer
 
  


Reply


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration