Results 1 to 10 of 13
Hello,
i am using fedora 8.0.....in my fedora i am having one user..thats my name..but when i enter in to my login no commands are working properly...but when i login ...
- 02-22-2009 #1Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
Accessing problem
Hello,
i am using fedora 8.0.....in my fedora i am having one user..thats my name..but when i enter in to my login no commands are working properly...but when i login as root all are working fine......can anyone tell me why it happens...what to do for that?Thanks in advance...
- 02-22-2009 #2
root user is an Administrator of OS and it has full privileges. On the other hand, Regular users have limited privileges only.
What commands are not working for Regular user?It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-23-2009 #3Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
see for example i tried to enter into /root with sudo,but i am getting the below error message
[sharief@localhost Desktop]$ sudo cd /root/
Password:
sharief is not in the sudoers file. This incident will be reported.Thanks in advance...
- 02-23-2009 #4Just Joined!
- Join Date
- Nov 2008
- Location
- PUNE
- Posts
- 72
Hi
I if you are trying to enter into root through command prompt
Try this
About root's access explained in earlier replyCode:su - password: ******
by devils casper
Assuming that you are trying to get in root and after finishing your root work simply type exit to come out of it
- 02-23-2009 #5Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
yes that i know....but when i type sudo why i am getting like this?Thats my problem here
Thanks in advance...
- 02-23-2009 #6Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
i edited the file /etc/sudoers
after editing this i am getting this error
[sharief@localhost ~]$ sudo cd /root
sudo: cd: command not found
[sharief@localhost ~]$Thanks in advance...
- 02-23-2009 #7
You can't use sudo with cd command. It doesn't work like that.
Most of folders including sudo has execution bit set for all users. You can use cd as regular user for any folder unless folder's execution bit has been unset explicitly.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-23-2009 #8Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
ya ok...now sudo is working fine....but othere commands are not working....see when try to remove a module..i get the below error
[root@localhost 2.6.26]# rmmod atl2.ko
bash: rmmod: command not found
[root@localhost 2.6.26]#
i am getting the same error when i am in normal user login....but when i am root, This command is working fine....Thanks in advance...
- 02-23-2009 #9
Why do you want to run rmmod command as Regular User? What will be the difference in Regular and root user?
root user is an Administrator and has full privileges but Regular users have limited privileges only.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-24-2009 #10Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
yes you are right...i too know that...but see there..error message is wrong...it should be as "permission denied"...but its coming as "command not found"..Thats s problem...not only this...this error message is coming for all command...
Thanks in advance...


Reply With Quote
