Jump to content


internet accounts for users

  • Please log in to reply
2 replies to this topic

#1 ash4



  • Members
  • 21 posts

Posted 08 January 2010 - 12:57 PM

I want to set up internet accounts for users at my workplace whereby each user will have to log in to use the internet so that l can log network usage inorder to control the network. l use a linux based server with a proxy server and my users are using windows pcs. How do l go about achieving this? pliz help guys

#2 heutenitaz



  • Members
  • 4 posts

Posted 28 April 2010 - 01:42 PM

There are two steps to creating a user with the command line tools included with Red Hat Linux:

1. Issue the useradd command to create a locked user account.
2. Unlock the account by issuing the passwd command to assign a password and set password aging guidelines.

To configure a user account in this manner, follow these steps:

1. Create the user account using the useradd command. — At this point the account is created, but locked.
2. Force immediate password expiration — To do this. type the following command:

chage -d 0

This sets the value for the date the password was last changed to the epoch (January 1, 1970). This value forces immediate password expiration no matter what password aging policy, if any, is in place.
3. Unlock the account — There are two common approaches to this. The administrator can assign an initial password:

/usr/sbin/usermod -p "<password>"

In the above command, replace <password> with the initial password.

Or, the administrator can assign a null password:

/usr/sbin/usermod -p ""

#3 vinney



  • Members
  • 6 posts

Posted 22 October 2010 - 09:17 AM

useful info, thanks

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq