View previous topic :: View next topic |
Author |
Message |
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Wed Oct 30, 2002 8:17 pm Post subject: 2 questions |
|
|
1. I currently have 2 hard drives in my computer. 1 has gentoo and 1 has windows 2000. I was wondering if I could access the files on my win 2000 hard drive from gentoo. And if so how.
2. I added some users to gentoo and the problem with that is when a user trys to execute a command, it simply says no such command. Ex. I typed dhcpcd eth0 and it told me bash: dhcpcd: No such command
Please help. |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
Posted: Wed Oct 30, 2002 8:36 pm Post subject: |
|
|
1) yes it is possible. If your win2k is on ntfs you will need to compile as module or in the kernel nfts file support. Becareful the read only nfts module works great but the one for writing on ntfs partition is dangerous so if you just need to copy from nfts there is no problem.
2) Hum look at your PATH and try to source /etc/profile and try back your command. If you can execute the command just add source /etc/profile to your .bashrc.
Hope this help. |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Wed Oct 30, 2002 8:40 pm Post subject: |
|
|
dont you need to be root to run dhcpcd? |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
Posted: Wed Oct 30, 2002 8:51 pm Post subject: |
|
|
yeah you are right but he give that as an exemple so dunno |
|
Back to top |
|
|
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Wed Oct 30, 2002 10:51 pm Post subject: Example |
|
|
That is what I thought to. But is there a way to give a user administrative acess and enable them to do this? |
|
Back to top |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Wed Oct 30, 2002 11:30 pm Post subject: Re: Example |
|
|
Dragon561 wrote: | That is what I thought to. But is there a way to give a user administrative acess and enable them to do this? |
Yes. There are two issues here. One is that the user concerned needs to either have the command on his PATH or type the path to the command explicitly. For example, the commands 'halt' and 'shutdown' are both in /sbin. Normally users don't have that directory on their path, so they either need to add it or type '/sbin/halt'.
The second issue is privilege; an ordinary user typing '/sbin/halt' won't be able to shut the system down. Have a look at the 'sudo' command to give users either complete or partial access to privileged commands.
Shout if the above doesn't make sense.
BS |
|
Back to top |
|
|
Dragon561 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 112
|
Posted: Thu Oct 31, 2002 3:58 am Post subject: Thanks |
|
|
No it makes perfect sense. I just installed gentoo this week and it is my first attempt at Unix so if that was a stupid question, sorry. It probably wont be the last. |
|
Back to top |
|
|
|