Admin of Users from command line


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Admin of Users from command line
# 1  
Old 03-11-2002
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  
Old 03-11-2002
Simply surround it with quotes.

Simple example:useradd -u 888 -g 14 -c"Joe User" juser
thehoghunter
# 3  
Old 03-11-2002
Computer 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!!
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

Problem with Script to email Admin users with expired passwords writed byygemici

Hi, I have problem with a script, it was working for 6 month and suddenly I started getting strange expire times example: # chage -l wXXp Last password change : Oct 28, 2014 Password expires : Nov 27, 2014 Password... (3 Replies)
Discussion started by: redmansas
3 Replies

2. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies

3. UNIX for Dummies Questions & Answers

Command run with admin privileges

Hi all, I want to run a single command (gdm-restart) which has admin privileges as normal user. I have done these below steps so for. 1. cp -p /usr/sbin/gdm-restart /usr/bin 2. chmod o+w /usr/bin 3. chown user /usr/bin. But still not success. So kindly please let me know whether there is... (3 Replies)
Discussion started by: mastansaheb
3 Replies

4. Shell Programming and Scripting

Admin user command usage restrictions

Hi, I need to work on restricting the Linux commands to the ADMIN user to some extent. It means for example, Admin users should not use passwd command to change the password of "root" or other important accounts like oracle, etc., So, I want to know which commands should be restricted upto which... (5 Replies)
Discussion started by: Dpu
5 Replies

5. AIX

script for finding all the users with GID 0 ( admin group )

Hi Friends, I am trying to write a script for finding all the users with the GID 0 i.e. Admin users. can you please help me on this. (1 Reply)
Discussion started by: anoopraok
1 Replies

6. Solaris

Lp admin command

Folks - any advice on lp commands etc.. I dont use printers on solaris servers, neither do we have any installed but I need to know as much as possible for the solaris admin course... Any advice on good sources of information for printing commands in general? (1 Reply)
Discussion started by: frustrated1
1 Replies

7. UNIX for Dummies Questions & Answers

linux command line admin tool

Dear All, I am new to linux administration. what is the tool that is used to admin the linux server from remote client using telnet session. It can be used on the server also but start from command line with out Xwindows. just like SMIT in AIX. With Regards, Varma. (1 Reply)
Discussion started by: jarkvarma
1 Replies
Login or Register to Ask a Question