01-15-2016
But the SAME userid/passwd combination will log you in straight away from a terminal???? If so, in my book, that is strange.
9 More Discussions You Might Find Interesting
1. Linux
is it possible to have an common login account for both linux and Solaris?
Having problem in logging into linux, unable to load completely.
home directory residue in Solaris 8, export out. No NIS running, only NFS in place. (6 Replies)
Discussion started by: jennifer
6 Replies
2. UNIX for Dummies Questions & Answers
I have this problem. Two accounts in an aix. Account A expired and it would auto prompt for new password when the user failed to log in, but Account B would not prompt for the new password. Instead it will only display "your account is expired. Please contact your administrator". I would like to... (1 Reply)
Discussion started by: mayyap
1 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I am using redhat linux version 9 .I am unable to login to the system and i am getting a warninig sorry root account is expired . How can i activate the account. (2 Replies)
Discussion started by: mallesh
2 Replies
4. AIX
I've created an hmc user account for our developers and set a pawword expiry to 30 days. Trouble is when the password expires they are asked to change it in the WebSM gui but it returns an error "XXXX check log file /var/websm/data/....log" which doesn't exist.
I've tried resetting the password... (0 Replies)
Discussion started by: backslash
0 Replies
5. UNIX for Dummies Questions & Answers
I am an administrator of a Red Hat Enterprise Linux system.
Now one account expired. I wonder how to reactivate the account.
Thanks (2 Replies)
Discussion started by: cy163
2 Replies
6. Shell Programming and Scripting
i want to write to script which will login to su account without hving user interaction.( i know Super user password)
i wrote following script its also able to log into su account. but seesion gets terminates soon.
what can be done ???
or is there any other solution. i don't want to use expect... (6 Replies)
Discussion started by: anup13
6 Replies
7. Debian
hello friends,
one user is created named "user1"
I login as "user1" . Now when i do "su -" to be root user I have to give password for root .
Is there any way through which we can skip giving the password to root.
i.e.
user1@work:~$ su -
Password: xxxxxx
work:~$
I don't want that... (1 Reply)
Discussion started by: pradeepreddy
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I was reading a tutorial for Installing Tomcat on Linux machine.
(http://www.puschitz.com/InstallingTomcat.html)
Here the author had mentioned that: For security reasons I created a user account with no login shell for running the Tomcat server.
My question is:
1. What is a User... (6 Replies)
Discussion started by: jw_amp
6 Replies
9. AIX
I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs.
I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies
FBB::User(3bobcat) /etc/passwd user info FBB::User(3bobcat)
NAME
FBB::User - Provides the /etc/passwd info of the current user
SYNOPSIS
#include <bobcat/user>
Linking option: -lbobcat
DESCRIPTION
This class retrieves the information of the current user from the information in /etc/passwd. The class is a simple wrapper class around
the getpwent(3) function.
NAMESPACE
FBB
All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.
INHERITS FROM
-
CONSTRUCTORS
o User():
The default constructor determines the current user's data. This constructor throws an Errno exception if it did not properly com-
plete because the current user name could not be found in /etc/passwd. The copy and move constructors are available.
OVERLOADED OPERATORS
The copy and move assignment operators are available.
MEMBER FUNCTIONS
o size_t groupid() const:
Returns the user's group-id.
o std::string homedir() const:
Returns the user's home directory (including a trailing /).
o std::string name() const:
Returns the user's user-name.
o std::string password() const:
Returns the user's encrypted password. But see also the BUGS section.
o std::string realname() const:
Returns the user's real name, as listed in the /etc/passwd's gecos field.
o std::string shell() const:
Returns the user's shell.
o size_t userid() const:
Returns the user's user-id.
o void verify() const:
Obsoleted, will be removed in a future Bobcat release.
EXAMPLE
#include <bobcat/user>
#include <iostream>
using namespace std;
using namespace FBB;
int main()
{
User user;
user.verify();
cout << "
"
"name : " << user.name() << "
" <<
"password : " << user.password() << "
" <<
"user id : " << user.userid() << "
" <<
"group id : " << user.groupid() << "
" <<
"real name : " << user.realname() << "
" <<
"home dir : " << user.homedir() << "
" <<
"shell : " << user.shell() << "
" << endl;
return 0;
}
FILES
bobcat/user - defines the class interface
SEE ALSO
bobcat(7), getpwent(3)
BUGS
If the user is a member of multiple groups, only the group id listed in /etc/passwd is returned by groupid().
If shadow passwording is used, the string returned by password() will probably not contain the encrypted password.
DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature;
o bobcat_3.01.00-x.tar.gz: source archive;
o bobcat_3.01.00-x_i386.changes: change log;
o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries;
o libbobcat1-dev_3.01.00-x_*.deb: debian package holding the libraries, headers and manual pages;
o http://sourceforge.net/projects/bobcat: public archive location;
BOBCAT
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.
COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL).
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl).
libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::User(3bobcat)