getpmac/maclabel


 
Thread Tools Search this Thread
Operating Systems BSD getpmac/maclabel
# 1  
Old 10-17-2012
Java getpmac/maclabel

Hi guys!

can anyone help me with getpmac how it works? i'm trying to know what is the current label of the (each) user?

and can i do it with maclabel as well?

btw i'm using FreeBSD 6.2

Regards,

ned
# 2  
Old 10-17-2012
# 3  
Old 10-18-2012
Quote:
Originally Posted by DGPickett

i guess you didn't understand my question... when i execute the command

Code:
getpmac username

so i get a structure getpmac [-l list, of, labels] [-p pid]

my question is what should i replace username with? so i get the current label for user?

BR

---------- Post updated at 05:37 AM ---------- Previous update was at 03:41 AM ----------

Hi DGPickett !

here is the answer if you didn't know

we just need to write command
Code:
 getpmac

to see the user mac label

anyways Thanks for try
# 4  
Old 10-18-2012
By logging in as all possible/involved users, which is a bit cumbersome. I expect there is an easy way to get all username values to try them. And what you see is the label of the login shell. Other pids of that uid may be at different access levels, my_id/low versys my_id/high, which is why it has a pid focus.
This User Gave Thanks to DGPickett For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question