The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

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 04:57 AM
Lp admin command frustrated1 SUN Solaris 1 06-15-2004 01:22 AM
linux command line admin tool jarkvarma UNIX for Dummies Questions & Answers 1 11-18-2003 08:55 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2002
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?.
__________________
Phewwwwwwwwww, he's finally gone!!
Forum Sponsor
  #2 (permalink)  
Old 03-11-2002
thehoghunter
Guest
 

Posts: n/a
Simply surround it with quotes.

Simple example:useradd -u 888 -g 14 -c"Joe User" juser
  #3 (permalink)  
Old 03-11-2002
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!!
__________________
Phewwwwwwwwww, he's finally gone!!
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0