Sponsored Content
Top Forums UNIX for Dummies Questions & Answers create or modify user account to have same access as root Post 39131 by xadamz23 on Thursday 7th of August 2003 12:04:31 PM
Old 08-07-2003
Re: bash solaris

Quote:
Originally posted by pressy
#!/usr/bin/bash
echo "which user: "
read USER
usermod -G root $USER
#end

greetings Preßy
...
..
.
This put me in the "root" group but I do not have root privs. Any other ideas?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modify Root user account ?

How can I modify Root account ? (I want to change the default shell after logging in) Thanks (3 Replies)
Discussion started by: hitlermom
3 Replies

2. HP-UX

Root account disabled and unable to access console

Hi, hope someone could help me here: Our root account was disabled on our production server this morning and usually we would login at the console to re-enable the account. However we are unable to get a login prompt at the console. The console displays the 8 options along the bottom and a... (2 Replies)
Discussion started by: AaronC
2 Replies

3. Solaris

How to create a new ftp user account with limited access..?

Hi All, I'm using solaris 2.8, and I want create a new ftp user account with the following restrictions: - Have only ftp access, no telnet or rlogin - Have restricted access to its home directory example /export/home/newuser - Deny access to any other directory. Thanks for your help, ... (6 Replies)
Discussion started by: Jeremy3
6 Replies

4. UNIX for Dummies Questions & Answers

Change other account password from root access

Hi, I have forgotten my personal account password but I still have the root access to the box. Please tell me how can I change my other account password by logging as root. Thanks. Rakesh :D (4 Replies)
Discussion started by: rakeshou
4 Replies

5. Debian

password less login to root from a user account

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

6. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

7. Solaris

How to see the root information from user loging account?

Hi friends when ever user tried to loging to the server from the user account.we can see the from who -u command.this was fine shut@erpqas $ who -u ipadmin pts/1 Mar 18 16:05 old 157 (10.5.23.74) ipadmin pts/3 Mar 19 08:29 old 11076 ... (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies

8. Solaris

Help me create new user account

I want create user. That user should be login to any server without asking password. How? tell me in detail. :wall: (3 Replies)
Discussion started by: Navkreddy
3 Replies

9. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

10. AIX

Create another root account

Hi I would like to create another root account, for example root2. I added a new user named root2 and set it's uid and gid ( in /etc/passwd ) to 0. Then I logged in ( account root2 ) and the server asked to change the password, so I changed. And the problem happend. The password of both root... (15 Replies)
Discussion started by: bobochacha29
15 Replies
w2kusers.deny(4)					     Kernel Interfaces Manual						  w2kusers.deny(4)

NAME
w2kusers.deny - Authentication file for Windows 2000 Single Sign On. SYNOPSIS
# Comment account_name DESCRIPTION
The w2kusers.deny is a text file containing a list of user account names. When an account is included in this file, the Windows 2000 Sin- gle Sign-On software verifies only the UNIX authentication for the named account. To add user accounts to the file, use a text editor to enter the user's UNIX account name. The following syntax rules apply to the w2kusers.deny file: Only one user name can be entered on a line. The user name must exactly match a user name in the UNIX /etc/passwd file. Comment lines begin with a pound sign (#). EXAMPLES
The following example shows a typical w2kusers.deny file: # The following file lists account names that are not allowed to use # the Win- dows 2000 authentication information when it is enabled. # Account names must match exactly the user account name in the # /etc/passwd file. # # Syntax: account_1 # . # . # . # account_n # root nobody nobodyV daemon bin uucp uucpa auth cron lp tcb adm ris wnn pop imap Peter Dave Beth Martha FILES
Location of the file. RELATED INFORMATION
Commands: ldapcd(8), lw2ksetup(8) Files: etc/w2kusers.deny(4) Windows 2000 Single Sign-OnInstallation and Administration Guide. delim off delim off w2kusers.deny(4)
All times are GMT -4. The time now is 10:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy