10 More Discussions You Might Find Interesting
1. Solaris
Hi
I need to create a new user account in salaries. Can anyone tell me the cmd to create the new user acc. But the main thing is it should same permissions ,same group etc of already existing group.
For example we have already one user in name “comp” so the newly created user should also have... (3 Replies)
Discussion started by: kkalyan
3 Replies
2. Solaris
Hi All,
I want to create an user account which can only excute "df -kh" and "prstat -a" command. The user will not be able to perform "rm" and other critical commands.
Is there a way to do it?
rgds,
Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies
3. Programming
Dear Friend,
I am working on java application which requires that after successful registration an email account is created (say username@mydomain.com) for user. Is is possible to create e-mail account programatically ?
Enviornment - CentOs, Tomcat Web server.
CPanel is available, but... (0 Replies)
Discussion started by: reckless_jack
0 Replies
4. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
How do I create a new account with a specific group and home directory specified?
TIA (2 Replies)
Discussion started by: domburf69
2 Replies
6. UNIX for Dummies Questions & Answers
Hi!
I'm new here so please let me know if this topic is in the wrong place. I have very little experience with UNIX systems, but my father has one running on his PC at work which he uses to browse through old reports related to his work. The PC is rather old (in computer years :) ) I think he... (3 Replies)
Discussion started by: GIJane
3 Replies
7. UNIX for Dummies Questions & Answers
does any know how I can create more admin login accounts in unix? would there be a file somewhere that would have a list of these accounts?
thanks,
gammaman (3 Replies)
Discussion started by: gammaman
3 Replies
8. Post Here to Contact Site Administrators and Moderators
I tried to create an account, user name Ralph.Armstrong using my corporate e-mail address.
Unfortunately, I think my company's e-mail server must have blocked the confirming e-mail because I never got it.
I then created another account, user name Ralph Armstrong using my personnal e-mail... (0 Replies)
Discussion started by: Ralph Armstrong
0 Replies
9. UNIX for Dummies Questions & Answers
Dear All,
This is my first post, so greetings to you all! :cool:
I have root access to a UNIX system, yet I would like to be able to create user accounts with special privileges and roles such i.e. a User Manager account a Print Manager Account or even an account with the same roles and... (2 Replies)
Discussion started by: neked
2 Replies
10. UNIX for Advanced & Expert Users
Is there any way of creating a 'catchall' or a default account that all undelivered mail can go to ?
eg if we have 3 user accounts (user1, user2, admin) already set up, but someone sends an email to user3@mydomain.com, can sendmail figure out that it doesn't match any existing users and deliver... (6 Replies)
Discussion started by: captainash
6 Replies
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
shadow-utils 4.1.5.1 05/25/2012 CHSH(1)