CentOS help please

demo : demo wheel

no result

package not found

Re: CentOS help please

how do i end this command

grep wheel /etc/sudores

how do i exit ?

From my machine.

[me@localhost ~]$ grep wheel /etc/sudoers
grep: /etc/sudoers: Permission denied

[me@localhost ~]$ sudo grep wheel /etc/sudoers

Allows people in group wheel to run all commands

%wheel ALL=(ALL) ALL

%wheel ALL=(ALL) NOPASSWD: ALL
[me@localhost ~]$

[me@localhost ~]$ locate vimtutor
/usr/bin/vimtutor

[me@localhost ~]$ sudo yum info vimtutor
Loaded plugins: presto, refresh-packagekit

blah blah …

crtl c

is sends signal to end process.
It should either come back with permission error or it should print results.
Why is it hanging?

Re: CentOS help please

hmmm

are you running CentOS or debian ?

dont know, didnt show any thing except ^c

Re: CentOS help please

os is a recompile of RedHat, RedHat is based on FedoraCore. Thats what I have on my machine.

Commands from above are exact same for FC,RH and centOS

But I do work with debian too.

Re: CentOS help please

ok one thing at a time

try to create a file in /etc that usually need privileged user.

Run command in same sequence and past results.

1-

whoami

2-

cd /etc
touch test
echo blahblahblah > test

3-

cat /etc/sudores ----> just tell if it print results.

Re: CentOS help please

i have installed the vsfptd and added users but after the authentication it does not show the directory listings.

Re: CentOS help please

do

pwd

to find out where are you.
I think you need to setup dir where user could log in when they get in through ftp.

Most FTP server lock users in their home directories so till you upload something you’d see an empty folder.
You may be able to cd up to the parent folder (if you haven’t locked the user) and then it would show you the files/folders. (cd..)

Actually the data ports are disabled by the firewall and now I m trying to figure out which data ports my ftp server is using. I am using Pure-FTPd.