Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cagefs_how_to [2013/05/14 21:40]
127.0.0.1 external edit
litespeed_wiki:cagefs_how_to [2014/04/23 14:56]
Kevin Fwu [5. Verify CageFS setup]
Line 117: Line 117:
  
  
-==== 4. Enable CageFS for user "​test1" ​====+==== 4. Enable CageFS for a test user ====
  
-<​code>#​ /​usr/​sbin/​cagefsctl --enable ​test1</​code>​+<​code>#​ /​usr/​sbin/​cagefsctl --enable ​username</​code>​
  
  
Line 130: Line 130:
  
 <​code>​ <​code>​
-root@cptest [~]# su - test1+root@cptest [~]# su - username
 test1@cptest [~]# cat /etc/passwd test1@cptest [~]# cat /etc/passwd
 smmsp:​x:​51:​51::/​var/​spool/​mqueue:/​sbin/​nologin smmsp:​x:​51:​51::/​var/​spool/​mqueue:/​sbin/​nologin
 root:​x:​0:​0:​root:/​root:/​bin/​bash root:​x:​0:​0:​root:/​root:/​bin/​bash
-test1:​x:​502:​500::/​home/​test1:/bin/bash+test1:​x:​502:​500::/​home/​username:/bin/bash
 </​code>​ </​code>​