Re: [newbie] Rights issue in ML10
On Wednesday 07 July 2004 01:41, John Rye wrote: > On Tue, 06 Jul 2004 20:08:36 -0600 > > cut here === > # fixusers - fix user uids and gids > $ cd /home > $ for U in * ; do echo $U ; chown -R $U:$U $U ; done > cut here === > Awesome. Thanks. I'll keep it around for the next time my system gets horked like that again. -- 18:38:18 up 3 days, 5:26, running Mandrake Linux release 10.0 (Official) for i586, kernel 2.6.3-7mdk Registered Linux user #324360 I might have gone to West Point, but I was too proud to speak to a congressman. -- Will Rogers Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Rights issue in ML10
On Tue, 06 Jul 2004 20:08:36 -0600 Glenn <[EMAIL PROTECTED]> wrote: > On Tuesday 06 July 2004 12:23, hackhound wrote: > > I had to reinstall ML10 due to hard drive crash over the weekend. Now > > I am experiencing tighter security than I used to when it comes to > > browsing directories in Konqueror or from the console. Previously I > > was able to see all directories in Konqueror from my user account. > > Some could not be accessed, and they had a little padlock icon to > > indicate so. Now Knoqueror will only allow me to access my home > > directory. I have no clue what I need to modify in my user account to > > regain these rights. > > > > Thanks much, > > Hackhound > > I had this happen to me once, and found that the permissions for a ton > of files changed from my username to the numeric userid (and the wrong > one at that). Since the userid was "502" (this was a while ago. Could > have been 501, instead), instead of "glenn", I was refused access. All > of the affected files had the lock icon. I used Konqueror as root to > change them to "glenn", and all was well again. > I frequently re-install due to making stupid experimental mistakes, and almost always forget the order in which I assigned my user accounts (7 of them) in the previous install and the UID/GID pairs get messed up as a result. I have my /home and /usr/local on their own partitions, and they are not formatted during the installation There is a easy fix for this and it's worth having this little script around. Just run the following script from /home as root: cut here === # fixusers - fix user uids and gids $ cd /home $ for U in * ; do echo $U ; chown -R $U:$U $U ; done cut here === It returns a list of the user directories as it progresses and takes around 30 seconds on my /home with around 8gig of data. Cheers John (NZ) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Rights issue in ML10
On Tuesday 06 July 2004 12:23, hackhound wrote: > I had to reinstall ML10 due to hard drive crash over the weekend. Now > I am experiencing tighter security than I used to when it comes to > browsing directories in Konqueror or from the console. Previously I > was able to see all directories in Konqueror from my user account. > Some could not be accessed, and they had a little padlock icon to > indicate so. Now Knoqueror will only allow me to access my home > directory. I have no clue what I need to modify in my user account to > regain these rights. > > Thanks much, > Hackhound I had this happen to me once, and found that the permissions for a ton of files changed from my username to the numeric userid (and the wrong one at that). Since the userid was "502" (this was a while ago. Could have been 501, instead), instead of "glenn", I was refused access. All of the affected files had the lock icon. I used Konqueror as root to change them to "glenn", and all was well again. Glenn -- 20:04:12 up 2 days, 6:52, running Mandrake Linux release 10.0 (Official) for i586, kernel 2.6.3-7mdk Registered Linux user #324360 I took a fish head to the movies and I didn't have to pay. -- Fish Heads, Saturday Night Live, 1977. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Rights issue in ML10
On Tuesday 06 July 2004 01:23 pm, hackhound wrote: > I had to reinstall ML10 due to hard drive crash over the weekend. Now > I am experiencing tighter security than I used to when it comes to > browsing directories in Konqueror or from the console. Previously I > was able to see all directories in Konqueror from my user account. > Some could not be accessed, and they had a little padlock icon to > indicate so. Now Knoqueror will only allow me to access my home > directory. I have no clue what I need to modify in my user account to > regain these rights. > > Thanks much, > Hackhound Check your msec or shorewall settings. If they are set to above standard as in high, this could be why things changed. Typically for a standalone workstation 'standard ' is good enough. HTH -- Dennis M. Linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Rights issue in ML10
On Tuesday 06 July 2004 20:23, hackhound wrote: > I had to reinstall ML10 due to hard drive crash over the weekend. > Now I am experiencing tighter security than I used to when it > comes to browsing directories in Konqueror or from the console. > Previously I was able to see all directories in Konqueror from my > user account. Some could not be accessed, and they had a little > padlock icon to indicate so. Now Knoqueror will only allow me to > access my home directory. I have no clue what I need to modify > in my user account to regain these rights. > > Thanks much, > Hackhound Probably your security setting is "higher". Try to lower it a little bit to "high" or "standard". This can be done in System --> Configuration --> Configure your Computer --> give root password --> Security. Alternative method : in a console, become root and type : msec 3 or msec 2 HTH Kaj Haulrich. -- *sent from a 100% Microsoft-free workstation* *www.haulrich.net* *Running Linux (Mandrake 10.0) - kernel 2.6.3* Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Rights issue in ML10
I had to reinstall ML10 due to hard drive crash over the weekend. Now I am experiencing tighter security than I used to when it comes to browsing directories in Konqueror or from the console. Previously I was able to see all directories in Konqueror from my user account. Some could not be accessed, and they had a little padlock icon to indicate so. Now Knoqueror will only allow me to access my home directory. I have no clue what I need to modify in my user account to regain these rights. Thanks much, Hackhound Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com