Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cagefs_how_to [2014/04/23 14:55] Kevin Fwu [4. Enable CageFS for user test1] |
litespeed_wiki:cagefs_how_to [2014/04/23 14:57] Kevin Fwu [3. Update CageFS] |
||
---|---|---|---|
Line 116: | Line 116: | ||
</code> | </code> | ||
+ | NOTE: If the update mentions needing to force update, force the update. | ||
==== 4. Enable CageFS for a test user ==== | ==== 4. Enable CageFS for a test user ==== | ||
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> | ||