Results 1 to 5 of 5
How to execute the "Date -s" linux command as non-root/non-sudoer in Ubuntu?...
- 08-22-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 3
execute Date command non root/non sudoer
How to execute the "Date -s" linux command as non-root/non-sudoer in Ubuntu?
- 08-22-2011 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Hello and welcome!

You must have root or sudo permissions to alter the date on a machine under Linux.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-22-2011 #3Just Joined!
- Join Date
- Aug 2011
- Posts
- 3
isn't there any hack to achieve this as a normal user?
or is it possible that the root can give permission to the normal user to execute this command?
- 08-22-2011 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
You can take a look at using the settimeofday command, but I believe you'll still need root permissions to use it:
settimeofday(2): get/set time - Linux man pageoz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-23-2011 #5Just Joined!
- Join Date
- Aug 2011
- Posts
- 3
I need a way to execute without root permission


Reply With Quote