Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security > ARCHIVES - Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Security Want to know if you should really apply the latest kernel patch? Want to know how to configure your firewall? Discuss any Security related topics in here!

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Dec-2006, 23:10
arwinzilla
Guest
 
Posts: n/a
Default

Hi again guys...again I'm a newbie in Linux...I remember when i was still studying in school or computer terminals has username/password solely to us...so if we login our files are their and nobody could access it...can linux support this kind of processes...next I Click Applications->Computer->Network...the terminals came out...I'm just wondering what are they for...next is how will i restrict the users on programs, floppy, cdrom...how can i do that...

by the way the terminals are using Windows OS some are xp, some are 98...can i block their programs, floppy and cdrom
  #2 (permalink)  
Old 07-Dec-2006, 00:14
broch
Guest
 
Posts: n/a
Default

o.k.
this is better (I thought that you want to use samba for messaging). Default messaging system on windows is prone to spam

Anyway try wall
wall < message.txt

sends message called message.txt to all users that have mesg configured
wall -g group_name file.txt
send message (in file.txt) to all users in the specified group


to allow messages from other users to be displayed on ttyp1 (where you are logged on that terminal):
mesg y </dev/ttyp1

hope this helps
  #3 (permalink)  
Old 07-Dec-2006, 01:08
arwinzilla
Guest
 
Posts: n/a
Default

so i would do it in the Terminal right? and my syntax would be like this


groups are 2:
1. Cost
2. Technical

schema:~ #wall -g Cost message.txt

is the message.txt a text file or is that message.txt is the exact message meaning like sample i like to say hello to them so i would put my syntax like this

schema:~ #wall -g Cost Hello.txt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~

can i ask what kde stands for...is that Konqueror Desktop...
  #4 (permalink)  
Old 07-Dec-2006, 06:12
microchip
Guest
 
Posts: n/a
Default

Quote:
can i ask what kde stands for...is that Konqueror Desktop...
[/b]
KDE = K Desktop Environment
  #5 (permalink)  
Old 07-Dec-2006, 07:33
arwinzilla
Guest
 
Posts: n/a
Default

ok...thnx...this time how can i block the drives and programs...so that when a terminal opens or logs to his/her pc he/she only sees what is needed...meaning when he/she click start->programs he/she only see the programs that i would put...

could i do that on Suse Linux as root...
  #6 (permalink)  
Old 07-Dec-2006, 08:35
broch
Guest
 
Posts: n/a
Default

regarding wall: as I mentioned, you need to configure mesg first (allow messages to be displayed) on each terminal.
regarding menus: yes, you can do this easily. You can also create user template and then install on all computers.
  #7 (permalink)  
Old 07-Dec-2006, 09:54
FeatherMonkey
Guest
 
Posts: n/a
Default

Broch not sure whether its a typo or strange behaviour my end but I've been playing with wall
Firstly it doesn't seem to take flags -g does nothing on my box info and man have no flag options.

As for mesg n/y </dev/ttyp1 I can't stop receiving messages(Seems to default to accept) from the user also ttyp1 should that not be tty(A number)

I can't seem to stop wall as a user getting through what ever.
Could be a bit annoying in the middle of vi session.

But wall does also work of the command line arwinzilla
wall <<markerforend
text in here what ever
markerforend

Edit:
Not sure whether you used to another OS Broch but I found wall seems to send regardless, but mesg n/y turns the ability to use write on that tty. But doesn't seem to affect the use of wall.
  #8 (permalink)  
Old 07-Dec-2006, 10:22
broch
Guest
 
Posts: n/a
Default

open second terminal for mesg
so tty1 is vi and commands and tty2 is for messaging only.
terminal naming convention depends on distro

and yest linux wall does not support -g flag (in contrast to BSD). sorry, my mistake.
  #9 (permalink)  
Old 07-Dec-2006, 10:27
FeatherMonkey
Guest
 
Posts: n/a
Default

The thing I've found is even with mesg n then checking write it'll say no permissions but if a wall message is sent by a user which i found i could do.

It does a network broadcast and it seems the user cant stop a users wall message(It the same as su) but can stop a users write message.

It would still wall tty1 but if you used write it wouldn't write that tty but would write to tty2, seems wrong but it's the behaviour I've discovered.

Edit seems like BSD's is a better version than this one.
  #10 (permalink)  
Old 07-Dec-2006, 18:35
arwinzilla
Guest
 
Posts: n/a
Default

Quote:
regarding menus: yes, you can do this easily. You can also create user template and then install on all computers.
[/b]
how would i do this...would i do this on Place->Computer->Network...or would i do it on Terminal...its hard because i don't have a Linux at home (and probably my PC can't handle 1 more OS) so my hands on is at our office...so if I play with it I might do something that I might regret...so I'm cautioning myself a little...
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2