Ads

New Domain

Blog has been moved to new domain: www.it-googled.com Enjoy!
Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts

Tuesday, 20 September 2011

LPIC 101 Certification Guide




1. Forget about GUI and use command like for any single task,
2. Use man pages to learn more about commands and try many options,
3. Don't rely on screenshots, go and explore config files such as /etc/lilo.conf,
4. Use few distros, test yourself extensively on both rpm and deb management,
5. Remember the paths to most important files fstab,inittab,etc..
6. Open yourself more to subject you think may be unrelated to you,
7. Don't rely on books, check the objectives on LPIC website.

Good luck!

Wednesday, 31 August 2011

Unix secondary groups - quick reference

Adding user to new/existing group:
usermod -G group user - adds user to group/multiple groups
usermod -G sales testuser - example
Append user to existing group:
usermod -a -G group user - appends user to group/multiple groups
Link to man usermod http://linux.die.net/man/8/usermod



Removing user from a group:
gpasswd (administer /etc/group)
gpasswd -d user group - removes user from group
usermod -G group user - removes all the other groups apart from specified.
link to man gpasswd http://man.he.net/man1/gpasswd