LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 04-26-2005, 10:58 PM   #1
manudath
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 15
how expire password automatically


Hi,

I have a couple of questions regarding the passwords and security:

1. How do I make all the passwords expire within, say 60 days of previous time the password was reset? Do I need to run a script for it or can we acheive this using commands?

2. I want to prevent some users in my system from executing 'su', while others should be able to do it. How do I acheive this? I read online that adding those some users to a group and chmod the group permissions is not a good idea... I was thinking if there was a better way to do it.

I am runnning Redhat Enterprise 3.... Please advice...

Thanks,
Manudath
 
Old 04-27-2005, 01:25 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
I'm not sure if yours is the same as Gentoo but in Gentoo you have to be in the wheel group to su to root. That may help on one of those problems.

Later

 
Old 04-27-2005, 01:38 AM   #3
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 33
ad 1)

There is utility chage for setting password aging.

See this for more passwords info: http://www.comptechdoc.org/os/linux/..._hlshadow.html
 
  


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
samba password expire Peds222 Linux - Newbie 1 03-12-2005 05:34 PM
Change text of "password will expire in..." Schlabbl Linux - Software 0 08-25-2004 04:48 AM
Warning: your password will expire in 0 days dragon Linux - Security 5 05-27-2004 03:53 AM
Howto login as root with no password (automatically) vivekd Linux - Software 0 02-12-2004 05:29 AM
Samba -> Expire password Tiago Cruz Linux - Networking 6 03-05-2003 08:21 AM


All times are GMT -5. The time now is 01:57 PM.

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