LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-24-2003, 12:23 AM   #1
gdw
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Question Time Restrictions - porttime - logoutd


Runing Slackware 8.1

How do I add time restrictions to user logins?

I've read man porttime and logoutd but I'm not exactly sure how to implement it.

I created an /etc/porttime file. I put therein a line that I found that was used as an expample in the manpages for porttime.

It goes like this:

*:time:Wk0900-1700

I created the user "time" and he can still log in outside the given time. I tried runing logoutd from the commandline as well as putting it in my /etc/rc.d/rc.S file. (Is that even the right file?) Does logoutd take an parameters?

In some instances on the internet, I have found that instead of using /etc/porttime, time restrictions are implemented using a /etc/security/time.conf file. Is this true in Slack8.1?

And, in nmy login.defs file, porttime is enabled.

Please help!
 
Old 02-25-2003, 02:23 AM   #2
allegro
LQ Newbie
 
Registered: Feb 2003
Location: New Zealand
Distribution: Slackware 8.1
Posts: 5

Rep: Reputation: 0
Hi,
I'm running slack8.1, and it's working fine for me (I had a problem with a typo first try though - SASU instead of SaSu )

Also, running logoutd made no difference. The user couldn't log in even when it wasn't running.

Just to be sure, start again, with a new user etc, and setting the allowed time to SaSu0000-2400
and if that fails... is your system time correct?

Allegro
P.S. Don't use su time to login, it won't fail.

Last edited by allegro; 02-25-2003 at 02:30 AM.
 
  


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
Shell Restrictions Equin Linux - Security 1 10-21-2004 12:46 PM
porttime in Shadow utils dosent work javalino Linux - Security 1 05-15-2004 05:14 PM
Directory Restrictions aeruzcar Linux - Security 6 10-28-2003 10:09 PM
Restrictions X3781 Linux - General 1 01-07-2003 01:55 PM
command restrictions keevitaja Linux - Newbie 4 09-12-2002 06:40 PM


All times are GMT -5. The time now is 05:22 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