LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-26-2003, 03:04 PM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Adjust Date & Time for all users


I'm looking for a way to allow a specific (or any) user to adjust the date and time without a password in RedHat 9. Specifically, we have a web server running, and the apache user needs access to update the date and time without being prompted for the root password. I can adjust the config file for redhat-config-date to prompt for the apache user's password instead of root, but this still causes problems. Is there a way to allow 1 specific user, other than root, to have full access to change this without a password?
 
Old 11-26-2003, 03:09 PM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
I'm not sure about allowing a specific user to change the system time. All I can say, however, is that this is a terrible idea for many reasons. Why not just have the server sync using NTP so you know that the time is accurate? After that, you could probably have people run in their own time zone if they prefer, like GMT -5 or something.
 
Old 11-26-2003, 03:13 PM   #3
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Original Poster
Rep: Reputation: 30
Yeah, from a security standpoint, I understand it's not the best. But, this is only used internally, firewalled, for testing purposes. The date and time don't need to be correct as we are testing applications and need to make sure they run correctly on different days (weekends vs weekdays for example). Rather than having to manually set the date each time after entering a password, it would be much easier to be able to set and forget each time as this user.
 
Old 12-01-2003, 01:35 PM   #4
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Original Poster
Rep: Reputation: 30
TTT... any suggestions on how to allow other users to change the date and time?
 
  


Reply



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
Cannot adjust date & time, KDE Control Module error /home/kyle Linux - Software 2 08-04-2018 08:39 PM
cant adjust time or date eroica Linux - Software 4 08-10-2005 01:35 PM
Adjust date and time vwal_13 Slackware 5 04-19-2004 07:22 PM
"adjust date & time" in KDE on slack 9.1 causes crash mep]-[isto Slackware 13 02-08-2004 10:07 AM
Cannot adjust date+time Tyir Linux - General 6 01-04-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration