Re: [Fwd: User account ( hacked ) of FC6 System]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



edwardspl@xxxxxxxxxx wrote:
Les Mikesell wrote:

edwardspl@xxxxxxxxxx wrote:

I think the real solution is to teach your user that it is important
not to let others know his password if he hasn't figured that out
himself yet. And if others do need this access they should have their
own accounts instead of being able to pretend to be someone else.

But I think the user account ( profile files ) is also problem, so, I
want to know how limit the related files ( including the dot file ) !

This was covered in another topic.
Using normal unix permissions:
https://www.redhat.com/archives/fedora-list/2007-February/msg01197.html
or with the special chattr operation:
https://www.redhat.com/archives/fedora-list/2007-February/msg01247.html

You'll have to fix them for the existing broken account first, though.
Either delete the account and re-add it or copy working versions of
the files over from a working account as root.

Hello to you,

1, The System is FC6.
2, After run "adduser edward" and login with user "edward", then

You'll need to do most of this as root.


[edward@svr1 ~]$ ls -l -a
total 36
drwx------ 3 edward edward 4096 Feb 6 22:51 .
drwxr-xr-x 5 root root 4096 Feb 6 22:50 ..
-rw------- 1 edward edward 67 Feb 7 12:47 .bash_history
-rw-r--r-- 1 edward edward 24 Feb 6 22:50 .bash_logout
-rw-r--r-- 1 edward edward 176 Feb 7 11:57 .bash_profile
-rw-r--r-- 1 edward edward 124 Feb 6 22:50 .bashrc
drwxr-xr-x 3 edward edward 4096 Feb 6 22:50 .kde
-rw-r--r-- 1 edward edward 658 Feb 6 22:50 .zshrc
[edward@svr1 ~]$

3, Is it :
chown root /home/edward
chmod g+rwx ( What number of g+rwx, eg : ?77 ) /home/edward

You can use the symbolic form literally. I think it's easier to understand. Let the computer do the binary/octal math.
 g+rwx means add the read, write, and execute bits for the group.

chmod +t ( What number of +t ) /home/edward

Same here, you can type it that way and it means add the "sticky" bit.

chown root /home/edward/ All_dot_filenames


Don't get carried away with wildcards on this one. .* will also match .. which is your parent directory.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux