- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: EZ man page question-EZ points
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:16 AM
01-18-2005 03:16 AM
when I do:
man smbpasswd
I get the manual page for smbpasswd as it relates to its config file which is:
c8mkes34_#ll /var/opt/samba/private/smbpasswd
-rw------- 1 root sys 432 Dec 27 15:32 /var/opt/samba/private/smbpasswd
c8mkes34_#
Well there is another use for smbpasswd and that is to add,delete accounts.
I'd like to view the man page for smbpasswd that deals with adding deleting accounts. I know it exists I just can't access via the man interface.
Here is some more info:
c8mkes34_#whereis smbpasswd
smbpasswd: /opt/samba/bin/smbpasswd /opt/samba/man/man5/smbpasswd.5 /opt/samba/man/man8/smbpasswd.8
c8mkes34_#
I know the one I want is smbpasswd.8 cause if I do a strings on it I can tell that it is one dealing with the program smbpasswd command. Obviously with strings the output is crumby.
Please tell me how I can view smbpasswd.8 thru the man interface.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:19 AM
01-18-2005 03:19 AM
Re: EZ man page question-EZ points
Try this:
man 8 smbpasswd
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:19 AM
01-18-2005 03:19 AM
Re: EZ man page question-EZ points
Do the following:
export MANPATH=/opt/samba/man/man8:$MANPATH
or
man 8 smbpasswd
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:24 AM
01-18-2005 03:24 AM
Solutionman 8 smbpasswd
The man pages are divided up into sections. man1, man2, man4, etc. If you do not specify the section, then all will be searched and you will get the first entry that the man command finds.
If you have your whereis database set up you can do a
man -k smbpasswd
and it will show each entry with the corresponding section.
man -k smbpasswd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:34 AM
01-18-2005 03:34 AM
Re: EZ man page question-EZ points
Thanks