The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
USERS command Furqan_79 Shell Programming and Scripting 2 05-29-2008 07:57 AM
Lp admin command frustrated1 SUN Solaris 1 06-15-2004 04:22 AM
linux command line admin tool jarkvarma UNIX for Dummies Questions & Answers 1 11-19-2003 12:55 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-11-2002
Kanu77 Kanu77 is offline
Registered User
  
 

Join Date: Feb 2002
Location: Ireland
Posts: 18
Question Admin of Users from command line

I have been adding new users on a system(SOLARIS 8), and one of these 'nice'(?) users has got back to me to complain that his full name isnt showing up when he does the following at the command prompt :

$ finger <login_id>

You see when I added the users details at the command line using 'useradd' the part where you add the comment (-c), it would only allow one word for this part.

How do I overcome this - I know you're saying use the GUI(Admintool) but that option isnt open to me at the moment.

Basically if your name is joe bloggs, how do I get Joe Bloggs to appear as the users name?.
  #2 (permalink)  
Old 03-11-2002
thehoghunter
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Simply surround it with quotes.

Simple example:useradd -u 888 -g 14 -c"Joe User" juser
  #3 (permalink)  
Old 03-11-2002
Kanu77 Kanu77 is offline
Registered User
  
 

Join Date: Feb 2002
Location: Ireland
Posts: 18
Talking That worked......Thanks!!!

I was just using single quotes - damn!!!

That worked perfectly - Monday morning just isnt a good time for my brain - its still in switched off mode!!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0