Computing.Net > Forums > Linux > hard disk spindown as non-root user

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

hard disk spindown as non-root user

Reply to Message Icon

Name: henne_flpkp
Date: August 17, 2003 at 21:18:21 Pacific
OS: redhat linux 9
CPU/Ram: PII350Mhz/128Mb
Comment:

Hi,

How can you spin down a har drive as non-root user.

When I type hdparm -y /dev/hdb as root my primary slave spins down, but as non-root user, I get '/dev/hdb : permission denied'.

Where do have to change permissions?
( I allready turned on the read- and write right for /dev/hdb for the non-root user)

any idea's?

Thanks in advance

cheers

Henne_flpkp



Sponsored Link
Ads by Google

Response Number 1
Name: nelfer
Date: August 19, 2003 at 12:25:39 Pacific
Reply:

Try to make it set uid.
If I'm not mistaken that will be:

chmod u=+s /sbin/hdparm

And then try to run it as a non root user.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: hard disk spindown as non-root user

NIS problem with non-root user www.computing.net/answers/linux/nis-problem-with-nonroot-user/14927.html

non root users cannot mount floppy www.computing.net/answers/linux/non-root-users-cannot-mount-floppy/22426.html

Internet Access for non-root users www.computing.net/answers/linux/internet-access-for-nonroot-users/13303.html