Children and Internet security

laura-paul@Our-PC ~ $ sudo ls -a /home/chloe/.config/lxpanel/Peppermint/panels
[sudo] password for laura-paul: 
.  ..  panel
laura-paul@Our-PC ~ $ 
# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
    edge=top
    allign=left
    margin=0
    widthtype=percent
    width=100
    height=24
    transparent=0
    tintcolor=#000000
    alpha=35
    autohide=0
    heightwhenhidden=2
    setdocktype=1
    setpartialstrut=1
    usefontcolor=1
    fontsize=10
    fontcolor=#222222
    usefontsize=0
    background=1
    backgroundfile=/usr/share/peppermint/images/panel-background.png
    iconsize=22
    loglevel=2
}

Plugin {
    type = menu
    Config {
        image=/usr/share/peppermint/images/dufc.png
        tintcolor=#000000
        system {
        }
        separator {
        }
        item {
            name=Chromium
            image=chromium-browser
            action=chromium-browser
        }
        item {
            name=Software Manager
            image=/usr/lib/linuxmint/mintInstall/icon.svg
            action=gksu mintinstall
        }
        item {
            name=File Manager
            image=system-file-manager
            action=pcmanfm
        }
        item {
            image=system-run
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = taskbar
    expand=1
    Config {
        tooltips=1
        IconsOnly=0
        ShowAllDesks=0
        UseMouseWheel=1
        UseUrgencyHint=1
        FlatButton=0
        MaxTaskWidth=150
        spacing=1
        GroupedTasks=0
    }
}

Plugin {
    type = tray
}

Plugin {
    type = volumealsa
}

Plugin {
    type = dclock
    Config {
        ClockFmt=%R
        TooltipFmt=%A %x
        BoldFont=0
        IconOnly=0
        CenterText=0
    }
}

Plugin {
    type = pager
}

Run:

gedit /home/chloe/.config/lxpanel/Peppermint/panels/panel

and make it read:-

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
    edge=top
    allign=left
    margin=0
    widthtype=percent
    width=100
    height=24
    transparent=0
    tintcolor=#000000
    alpha=35
    autohide=0
    heightwhenhidden=2
    setdocktype=1
    setpartialstrut=1
    usefontcolor=1
    fontsize=10
    fontcolor=#222222
    usefontsize=0
    background=1
    backgroundfile=/usr/share/peppermint/images/panel-background.png
    iconsize=22
    loglevel=2
}

Plugin {
    type = menu
    Config {
        image=/usr/share/peppermint/images/dufc.png
        tintcolor=#000000
        system {
        }
        separator {
        }
        item {
            name=Software Manager
            image=/usr/lib/linuxmint/mintInstall/icon.svg
            action=gksu mintinstall
        }
        item {
            name=File Manager
            image=system-file-manager
            action=pcmanfm
        }
        item {
            image=system-run
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = taskbar
    expand=1
    Config {
        tooltips=1
        IconsOnly=0
        ShowAllDesks=0
        UseMouseWheel=1
        UseUrgencyHint=1
        FlatButton=0
        MaxTaskWidth=150
        spacing=1
        GroupedTasks=0
    }
}

Plugin {
    type = tray
}

Plugin {
    type = volumealsa
}

Plugin {
    type = dclock
    Config {
        ClockFmt=%R
        TooltipFmt=%A %x
        BoldFont=0
        IconOnly=0
        CenterText=0
    }
}

Plugin {
    type = pager
}

(so you’re just removing the Chromium section)

SAVE the file, and run:

lxpanelctl restart

Has Chromium disappeared from the menu ?

OK it’s gone from the Internet sub menu but it’s still listed as a main menu Item

There’s something weird going on with your system :o

It seems like the chloe account isn’t honouring it’s lxpanel config … so is getting the system wide one.

We can remove it from beneath “Preferences” system wide if you’d like ?

We can remove it from beneath "Preferences" system wide if you'd like ?

That would be fine so long as the main account can still see it in the Internet sub menu :slight_smile:

OK, run:

sudo gedit /usr/share/lxpanel/profile/Peppermint/panels/panel

remove the Chromium section as above.

SAVE the file.

restart lxpanel:

lxpanelctl restart

Ok that’s removed it from Chloes account so there are no referenced to Chromium on Chloes desktop but it’s made no difference to the main account (which is ok ) :slight_smile:

EDIT
it’s still listed under preferences in the other kids account

Remove the Chromium section from their respective

home//.config/lxpanel/Peppermint/panels/panel

files.

Remove the Chromium section from their respective

home//.config/lxpanel/Peppermint/panels/panel

files.

Ok that’s worked so now there is no references to Chromium in either of the kids accounts,

As SSB’s are not system wide and I can now only access web addresses from the main account and I will now have to find the best way of copying web addresses over to the kids accounts if we need to create any new SSB’s,

Storing a copy of web addresses in a text file and placing it in a shared folder would be the ideal way I think, that way it would only be a matter of copying and pasting the web address from the text file into ice on the kids accounts

Can you tell me the best way of creating a shared folder that can be accessed from any account on the PC ?

Many thanks

Graeme

From an admin account, create a directory somewhere … such as:

sudo mkdir -v /Publicly_Shared

make it read/write/execute by everyone:

sudo chmod 777 /Publicly_Shared

Now from each account, create a symlink (called Shared) to that directory in their respective home directories:

ln -s /Publicly_Shared ~/Shared

The above is only an example … you can put the shared directory anywhere (including a user home directory, or indeed /home … say if you have a separate /home partition), and call it whatever you wish.

if you don’t want everyone to have “execute” permission (just read/write) in that directory … change the chmod command to 766 instead of 777 … then only the owner:group have execute permission.

Ok that worked perfectly thanks, only one other thing is troubling me which is why am I able to access any home folder from any account ie in Chloes account I can easily access any of the other accounts by navigating to /home/ and I can access any files in any users home directory is this normal ?

Graeme

Yes it’s normal … standard directory permissions are 755

Owner = read/write/execute
Group = read/execute
Other = read/execute


If you want to mask them off from everyone else … you could change the
/home/
directory permissions to 750
but then it would probably be a good idea to add your “admin” account to the group … so your admin account can read what’s in there.

Thank you

I think I’ll just leave it as it is, everything is fine and working well

I know I said in my last post that that was the last thing well that’s not strictly true in fact it’s not even remotely true but this is the last thing

I’ve installed a 20gb HDD for extra storage (FUJITSU MPE3204AT (/dev/sdb1) but it’s loking for a password to access it and I would like to make it easily available to all users

can you tell me how I can add it to /etc/fstab so it mounts on startup

Many thanks

Graeme

Where would you like to mount it ? … /media/storage ?

mount it, and send the output from:

sudo blkid

Once automounted … do you want a symlink in your home folders to it ?

[EDIT]

Also post the contents of:

gedit /etc/fstab

Where would you like to mount it ? .. /media/storage ?

That would be good, I dont think there’s any need to symlink though

laura-paul@Our-PC ~ $ sudo blkid
[sudo] password for laura-paul: 
/dev/sda1: UUID="0743a623-5621-4247-ac93-4146d21cd3a9" TYPE="ext4" 
/dev/sda5: UUID="26ae14d3-4443-408e-a2a1-69a25017917e" TYPE="swap" 
/dev/sdb1: LABEL="Storage" UUID="11e214c2-1d32-4095-87a3-bf1c7537ff6f" TYPE="ext4" 
/dev/sde1: SEC_TYPE="msdos" LABEL="PHONE CARD" UUID="498A-E6A4" TYPE="vfat" 
laura-paul@Our-PC ~ $
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=0743a623-5621-4247-ac93-4146d21cd3a9 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=26ae14d3-4443-408e-a2a1-69a25017917e none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Run:

sudo mkdir /media/storage

then

sudo gedit /etc/fstab

and add these 2 lines:-

# Added by Graeme to automount sdb1
UUID=11e214c2-1d32-4095-87a3-bf1c7537ff6f /media/storage               ext4    defaults 0       0

SAVE the file.

Back in the terminal run:

sudo mount -a

if there were no errors, run:

sudo chmod -R 777 /media/storage

to make it accessible by everyone.

If there ARE any errors from the “sudo mount -a” command … don’t reboot yet … just let me know what the error was.


If you want a symlink in your home directory … in each account, run

ln -s /media/storage ~/Storage

Sorted

Everything’s working perfect god knows how you would have managed without me

Many many thanks

Graeme

I’d have struggled by with Google I guess :slight_smile: