Menus

Jun 6, 2016

How to create a user account in linux(Redhat 6) with comment and assigning a shell and user id of your choice?

  1. Login as root user
  2. Type following command:

Useradd –c “Bedkot Nepal” –u 550 –s /bin/csh Bedkot

(Above command adds user Bedkot with comment Bedkot Nepal, userid 550 and default shell as csh . )

You can see the entry of above user in user database file /etc/passwd .

Thank you. Keep smiling J

No comments:

Post a Comment

Contact Form

Name

Email *

Message *