LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-03-2013, 09:17 AM   #1
nallanisai
LQ Newbie
 
Registered: Dec 2010
Location: Bangalore
Distribution: Red Hat Linux
Posts: 28

Rep: Reputation: 0
How do i create a user, who can login only two times.


1) How do i create a user, who can login only two times.

2) How to restrict user from logging in weekends. in redhat linux.


Thanks
Prasad
 
Old 04-03-2013, 09:48 AM   #2
Ginola
Member
 
Registered: Sep 2012
Location: UK
Distribution: CentOS, RHEL
Posts: 56

Rep: Reputation: Disabled
Quote:
Originally Posted by nallanisai View Post
1) How do i create a user, who can login only two times.
Code:
man limits.conf
The setting is maxlogins, or do you mean they log in twice, then they can't login?

Quote:
2) How to restrict user from logging in weekends. in redhat linux.
Code:
man time.conf
 
1 members found this post helpful.
Old 04-04-2013, 04:27 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,412

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
nallanisai,


Checkout this link-

http://www.linuxquestions.org/questi...-rhel5-624257/
 
2 members found this post helpful.
Old 04-04-2013, 08:11 AM   #4
nallanisai
LQ Newbie
 
Registered: Dec 2010
Location: Bangalore
Distribution: Red Hat Linux
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks for your reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login after create user lapn99 Linux - General 6 05-11-2013 03:39 AM
Shell script to automatically login through ssh and create user Sayan Acharjee Linux - General 10 10-21-2010 01:51 AM
How to create new user that can login SSH only and cant do other things else? kien23 Linux - Newbie 8 04-26-2009 10:55 AM
vsftpd user login times problem er_gaurav22 Linux - Server 1 07-13-2007 07:07 AM
Restricting user login times SuSE 9.1 Prof gekko9 Linux - Security 3 09-26-2004 10:54 AM


All times are GMT -5. The time now is 11:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration